diff options
author | R S Nikhil Krishna <rsnk96@gmail.com> | 2021-07-22 20:58:02 +0000 |
---|---|---|
committer | RS Nikhil Krishna <nikhil@detecttechnologies.com> | 2021-08-09 01:27:01 +0530 |
commit | 34c81d13b6cc3285e78c8c11f9489e013398c78a (patch) | |
tree | c1babc6ea221b5ee2a6d9d32293f57c6bb4ec7df /ext/rtmp/gstrtmpsrc.c | |
parent | c5d725652d7ac514505a3e653e0e41cbca202230 (diff) | |
download | gstreamer-plugins-bad-34c81d13b6cc3285e78c8c11f9489e013398c78a.tar.gz |
rtmpsrc: mention setting librtmp flags in docs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2424>
Diffstat (limited to 'ext/rtmp/gstrtmpsrc.c')
-rw-r--r-- | ext/rtmp/gstrtmpsrc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index ca0c61010..bf52cb0c9 100644 --- a/ext/rtmp/gstrtmpsrc.c +++ b/ext/rtmp/gstrtmpsrc.c @@ -31,11 +31,21 @@ * This plugin reads data from a local or remote location specified * 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 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 * |[ * gst-launch-1.0 -v rtmpsrc location=rtmp://somehost/someurl ! 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 * */ |