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

Can't play this RTMP! #6

Open
Drjacky opened this issue Sep 22, 2015 · 2 comments
Open

Can't play this RTMP! #6

Drjacky opened this issue Sep 22, 2015 · 2 comments

Comments

@Drjacky
Copy link

Drjacky commented Sep 22, 2015

rtmp://cdn1.iranseda.ir/tv-irib-tv1/4-1-24k240k

Link is work; VLC can play it.

@yangjiheng
Copy link

I guess the official document didn't really point out how to connec rtmp streams with f4player, perhaps because this project is not maintained for three years. But the player itself is simple and good enough for normal application scenario, so it's worth digging.

The player really support rtmp if you look into the source code. All you need to do is to add some more parameters to the html schema. Per my usage of the player, your link should be changed to:

  <param name="flashvars"   value="skin=./skins/mySkin.swf&video=rtmp://cdn1.iranseda.ir/tv-irib-tv1/4-1-24k240k&stream=rtmp://cdn1.iranseda.ir&streamname=tv-irib-tv1/4-1-24k240k"/>

To break it down, two parameters are required:

stream: the domain url of your stream, which is rtmp://cdn1.iranseda.ir in your case.
streamname: the stream name of the rtmp stream, which is tv-irib-tv1/4-1-24k240k in your case.

The rest of the schema is the same as the simple document author provided.

In my project, it works just fine, but you should check it on your end and try whether it works as well.

@Drjacky
Copy link
Author

Drjacky commented Oct 3, 2015

@yangjiheng Thank you for your attention, But it doesn't work. Would you like to test it yourself? With my given domain.
Thanks.

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