clappr-rtmp-plugin icon indicating copy to clipboard operation
clappr-rtmp-plugin copied to clipboard

Help with RTMP stream status.

Open carlosequiz opened this issue 8 years ago • 1 comments
trafficstars

Hi, thanks for putting your effort on building these awesome plugin!

I'm struggling to find out how can events be listened (already readed your API docs at clappr.github.io). My Clappr player is configured with autoplay and RTMP plugin, and everything works fine; but is there any method or event to check if player is actually receiving data from the RTMP stream?

I need to check this in order to change player poster dynamically, if RTMP stream is "offline" we set an specific poster (player must be stopped), if RTMP stream is "online" we set another poster , and then play and show the stream.

I don't know if this scenario reaches beyond the scope of Clappr and this plugin.

Any help or guidance would be highly appreciated, thanks in advance!

carlosequiz avatar Jun 02 '17 23:06 carlosequiz

the flash part trigger events when duration change (usually on the beginning of the stream/playback) so I suggest you to try to listen to events on the mediator or on the container directly and see if it serves for you.

flavioribeiro avatar Jun 03 '17 07:06 flavioribeiro