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

docs(faq): add FAQ question about RTMP url #3899

Merged
merged 2 commits into from
Jan 3, 2017
Merged

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented Dec 29, 2016

@mister-ben would love your input on this as well.

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`.
Copy link
Contributor

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
Copy link
Contributor

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`.
Copy link
Contributor

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.

@gkatsev
Copy link
Member Author

gkatsev commented Dec 30, 2016

Thanks @mister-ben, I've made updates.

@gkatsev gkatsev added the minor This PR can be added to a minor release. It should not be added to a patch release. label Dec 30, 2016
@gkatsev gkatsev merged commit 9c74116 into videojs:master Jan 3, 2017
@gkatsev gkatsev deleted the rtmp-faq branch January 3, 2017 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor This PR can be added to a minor release. It should not be added to a patch release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants