mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
rtmpsrc: mention setting librtmp flags in docs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2424>
This commit is contained in:
parent
c5d725652d
commit
34c81d13b6
1 changed files with 10 additions and 0 deletions
|
@ -31,11 +31,21 @@
|
||||||
* This plugin reads data from a local or remote location specified
|
* This plugin reads data from a local or remote location specified
|
||||||
* by an URI. This location can be specified using any protocol supported by
|
* by an URI. This location can be specified using any protocol supported by
|
||||||
* the RTMP library, i.e. rtmp, rtmpt, rtmps, rtmpe, rtmfp, rtmpte and rtmpts.
|
* the RTMP library, i.e. rtmp, rtmpt, rtmps, rtmpe, rtmfp, rtmpte and rtmpts.
|
||||||
|
* The URL/location can contain extra connection or session parameters
|
||||||
|
* for librtmp, such as 'flashver=version'. See the librtmp documentation
|
||||||
|
* for more detail. Of particular interest can be setting `live=1` to certain
|
||||||
|
* RTMP streams that don't seem to be playing otherwise.
|
||||||
|
|
||||||
*
|
*
|
||||||
* ## Example launch lines
|
* ## Example launch lines
|
||||||
* |[
|
* |[
|
||||||
* gst-launch-1.0 -v rtmpsrc location=rtmp://somehost/someurl ! fakesink
|
* gst-launch-1.0 -v rtmpsrc location=rtmp://somehost/someurl ! fakesink
|
||||||
* ]| Open an RTMP location and pass its content to fakesink.
|
* ]| Open an RTMP location and pass its content to fakesink.
|
||||||
|
*
|
||||||
|
* |[
|
||||||
|
* gst-launch-1.0 rtmpsrc location="rtmp://somehost/someurl live=1" ! fakesink
|
||||||
|
* ]| Open an RTMP location and pass its content to fakesink while passing the
|
||||||
|
* live=1 flag to librtmp
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue