After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787102 - [rtmpsrc] rtmpsrc should work with advanced RTMP streams like rtmpdump (ex. streams requiring authentication)
[rtmpsrc] rtmpsrc should work with advanced RTMP streams like rtmpdump (ex. s...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 759863 765972 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-08-31 19:29 UTC by Damian Ziobro
Modified: 2018-11-03 14:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use advanced and more customizable RTMP_SetupStream instead of simple RTMP_SetupURL to play advanced RTMP streams (9.27 KB, patch)
2017-08-31 20:38 UTC, Damian Ziobro
none Details | Review

Description Damian Ziobro 2017-08-31 19:29:01 UTC
I have series of RTMP streams (unfortunately those are resticted streams so I cannot share URLs) which does not work with GStreamer's rtmpsrc. 

I received NetStream.Play.StreamNotFound for my advanced RTMP streams.  

I did investigation and I noticed that rtmpsrc does not support advanced setting up stream before playing it. 

However I noticed that dumpsink does with my advanced RTMP streams if I use 'dumpsink -r' and does not work (StreamNotFound) when I use 'dumpsink -i'

I investigated code of dumpsink and I noticed that for advanced streams (-r option) it uses RTMP_SetupStream() function which allows much more configuration (ex. authentication) than RTMP_SetupURL() function (-i option). 

I noticed that rtmpsrc uses RTMP_SetupURL() which explains why my advanced RTMP streams don't work with GStreamer rtmpsrc. 

Therefore I decided to implement enhancement to rtmpsrc in order to be possible to play advanced RTMP streams in GStreamer. 

I implemented using advanced RTMP_SetupStream() instead of simple RTMP_SetupURL().

With this patch my advanced RTMP streams work fine, as well as any other RTMP streams which I found on the web and tested:
rtmp://184.72.239.149/vod/BigBuckBunny_115k.mov
rtmp://s2pchzxmtymn2k.cloudfront.net/cfx/st/mp4:sintel.mp4
rtmpt://s2pchzxmtymn2k.cloudfront.net/cfx/st/mp4:sintel.mp4

I attach my patch with this implementation as it enhances GStreamer functionality by allowing to play more advanced RTMP streams. 

I believe it may even solve this issue: https://bugzilla.gnome.org/show_bug.cgi?id=759863
Comment 1 Damian Ziobro 2017-08-31 20:38:32 UTC
Created attachment 358890 [details] [review]
use advanced and more customizable RTMP_SetupStream instead of simple RTMP_SetupURL to play advanced RTMP streams

Please review this patch. It allows to play more advanced RTMP streams by using RTMP_SetupStream instead of RTMP_SetupURL in rtmpsrc.
Comment 2 Damian Ziobro 2017-10-30 21:29:53 UTC
Any news about this patch. Is it going to be integrated?
Comment 3 Tim-Philipp Müller 2018-01-18 17:50:11 UTC
*** Bug 759863 has been marked as a duplicate of this bug. ***
Comment 4 Sebastian Dröge (slomo) 2018-05-07 15:47:16 UTC
*** Bug 765972 has been marked as a duplicate of this bug. ***
Comment 5 GStreamer system administrator 2018-11-03 14:12:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/605.