-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
docs(faq): add FAQ question about RTMP url #3899
Conversation
Make sure that the Flash tech is available. Then, just set the rtmp source with | ||
an appropriate type like `rtmp/mp4`. | ||
The main thing to be aware of is that video.js splits the connection url and stream name with the `&` character. | ||
So, you'd want to update the url to follow that format. For example: `http://example.com/live&foo`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rtmp://example.com/live&foo
or rtmp://example.com/fms&mp4:path/to/file.mp4
.
If the server requires query parameters for authentication, these should be added to the connection part url, for example rtmp://example.com/live?token=1234&foo
.
@@ -116,6 +117,13 @@ techs made available to video.js. For example, video.js 5 includes the Flash tec | |||
enables the playback of FLV video where the Flash plugin is available. For more information | |||
on media formats see the [troubleshooting guide][troubleshooting]. | |||
|
|||
## Q: How can I play RTMP video in video.js? | |||
|
|||
Make sure that the Flash tech is available. Then, just set the rtmp source with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"...is available (RTMP is not playable on browsers without Flash including mobile)."
## Q: How can I play RTMP video in video.js? | ||
|
||
Make sure that the Flash tech is available. Then, just set the rtmp source with | ||
an appropriate type like `rtmp/mp4`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the appropriate type: rtmp/mp4
or rtmp/flv
."
It's a short enough list to just list them.
Thanks @mister-ben, I've made updates. |
@mister-ben would love your input on this as well.