Send one stream to multiple RTMP servers

Hi Team,

We would like to stream from a mobile phone to multiple 3rd party platforms, for example Facebook, Youtube, Periscope, etc. We know we can do 1 stream to 1 platform, so the question is: Is there any configuration we can implement so that 1 single input stream can be republished to mulitple platforms?

Best

Sebastian
 

Max

Administrator
Staff member
Hello
We have recently implemented this feature.
Please look at our REST API examples:
https://flashphoner.com/docs/wcs5/wcs_docs/html/en/wcs-rest-api/index.html?examples.htm
How to:
1. Publish a stream.
session.createStream({name:'stream1',display:document.getElementById('div1')}).play();
2. Re-publish this stream as RTMP using REST API.
Example:
Code:
POST /rest-api/push/startup HTTP/1.1
Host: 192.168.1.101:9091
Content-Length: 73
Content-Type: application/json

{
"streamName": "cf58",
"rtmpUrl":"rtmp://rtmp.flashphoner.com:1935/live"
}
You have to install latest build to get this working.
 
Top