Demo Room WebRTC as RTMP re-publishing

beginner

New Member
Hi guys,

Can someone help me ? I am looking for a room with 2 (with cam) or more participants and with screen sharing and re-transmitting to RTMP.

Thanks a lot,
 

Max

Administrator
Staff member
Good day.
Please look at MCU Client example (source on GitHub). This can mix participant streams into one room stream which can be republished to RTMP server using REST API
Code:
POST /rest-api/push/startup HTTP/1.1
Host: wcs:8081
Content-Type: application/json
 
{
    "streamName": "room1",
    "rtmpUrl":"rtmp://rtmp.flashphoner.com:1935/live/test",
    "rtmpTransponderFullUrl": true
}
The Screen Sharing example (source on GitHub) shows how to publish screen sharing stream. You can add the stream to MCU mixer by name, for example, desktop#room1. In this case, screen share stream will be displayed like this
1617329856193.png

Please read also this article about MCU conference implementation and this article about screen sharing
 
Top