RTMP pull link queries

Hi,


The current version 5.2.1261 of flashphoner supports webrtc as rtmp republishing, conference and conference recording. Does it support rtmp pull link ? Can we terminate rtmp pull link ? Can we create multiple pull link and can we create pull links upto 10?
 
Last edited:

Max

Administrator
Staff member
Hello

Does it support rtmp pull link ?
You can pull a conference if the conference is based on Mixer or MCU.
Then you have exactly one mixed stream, that can be pulled as a simple RTMP stream.

Example:

1. Create mixer
/mixer/startup > stream_mixer1

2. User1 publish stream1

3. Add stream1 to mixer
/mixer/add

4. As a result you have mixed stream available as: rtmp://host:1935/live/stream_mixer1

Can we terminate rtmp pull link ?
No. To terminate the RTMP stream, you would need to terminate mixed stream source stream_mixer1
As an option you can try to set ACL (Access List) for this stream. In such a case all subscribers who don't have appropriate key, will be rejected.
To use ACL lists, server should be configured as origin.
Code:
cdn_role=origin
ACL docs

Can we create multiple pull link and can we create pull links upto 10?
No. The RTMP stream is available via 1 RTMP URL only.
Therefore if your main conference stream is stream_mixer1, then RTMP URL will always be "rtmp://host:1935/live/stream_mixer1".
And again you can use ACL here

rtmp://edge1.flashphoner.com:1935/live/stream_mixer1?aclAuth=key1
rtmp://edge1.flashphoner.com:1935/live/stream_mixer1?aclAuth=key2
rtmp://edge1.flashphoner.com:1935/live/stream_mixer1?aclAuth=key3

So you can create unlimited number of links using ACL and for each link you can permit or denied access to the stream.
 

Max

Administrator
Staff member
Yes. Mentioned stream_mixer1 can be re-published as described here using REST API /rest-api/push/startup
 
Top