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 654972 - [rtmpsrc] "permission denied" error from rtmp not recognized
[rtmpsrc] "permission denied" error from rtmp not recognized
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-20 14:26 UTC by Andreas Frisch
Modified: 2018-11-03 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[rtmpsrc] add connection timeout property (3.84 KB, patch)
2011-07-20 14:54 UTC, Andreas Frisch
needs-work Details | Review

Description Andreas Frisch 2011-07-20 14:26:59 UTC
when requesting a resource which the rtmp server denies access to, this error is not in any way detected, instead the source keeps polling for data and will keep doing that forever.
Comment 1 Andreas Frisch 2011-07-20 14:54:36 UTC
Created attachment 192310 [details] [review]
 [rtmpsrc] add connection timeout property

this doesn't solve the whole issue but at least it'll timeout now throwing EOS if the server denies permission to a resource.
i need to do some more research in the librtmp because right now i have no clue how to obtain detail about connection errors or if it's even possible at all.
Comment 2 David Schleef 2012-01-24 01:25:30 UTC
Looks like a real bug.

We're starting to add timeout properties to a lot of BaseSrc elements.  Developers, shall we move "timeout" to BaseSrc?
Comment 3 Ilya Konstantinov 2015-05-03 17:31:46 UTC
Review of attachment 192310 [details] [review]:

The patch is pretty obvious but I'd go without the whitespace changes.

::: ext/rtmp/gstrtmpsrc.h
@@ +35,1 @@
 G_BEGIN_DECLS

No need to change whitespace.

@@ +44,3 @@
 #define GST_IS_RTMP_SRC_CLASS(klass) \
   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTMP_SRC))
+typedef struct _GstRTMPSrc GstRTMPSrc;

No need to change whitespace.

@@ +58,1 @@
   /* < private > */

No need to change whitespace.

@@ +73,3 @@
 struct _GstRTMPSrcClass
 {
+  GstPushSrcClass parent;

No need to change whitespace.

@@ +80,1 @@
 G_END_DECLS

No need to change whitespace.

@@ +81,1 @@
 #endif /* __GST_RTMP_SRC_H__ */

No need to change whitespace.
Comment 4 GStreamer system administrator 2018-11-03 13:08:08 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/42.