Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with RTMP stream status. #83

Open
carlosequiz opened this issue Jun 2, 2017 · 1 comment
Open

Help with RTMP stream status. #83

carlosequiz opened this issue Jun 2, 2017 · 1 comment

Comments

@carlosequiz
Copy link

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!

@flavioribeiro
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants