rtmpsrc on iOS|macOS => Internal data flow error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

rtmpsrc on iOS|macOS => Internal data flow error

Torkel Danielsson
Hi,

I am running a pipeline on iOS and macOS, reading from an rtmp server. It throws the following error message:
Internal data flow error.
gstbasesrc.c(2947): void gst_base_src_loop(GstPad *) (): /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0:
streaming task paused, reason not-linked (-1)

I am running the 1.9.1 developer packages. I can run other pipelines (e.g. file based or streaming from tcpsrc), so I think I know the integration on iOS/macOS is correct.

Here is the pipeline:
rtmpsrc location=<a href="rtmp://10.0.1.13:1935/live/a" class="">rtmp://10.0.1.13:1935/live/a ! decodebin
A custom sink is then programmatically added at the end. 

I can read from the rtmp server using the exact same pipeline on Windows, so I think I know the pipeline is correct.

Does anybody have a good suggestion for how I should debug this further?

Best,
Torkel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtmpsrc on iOS|macOS => Internal data flow error

Vivia Nikolaidou
Hi,

You can run your pipeline with the GST_DEBUG environmental variable
set to "*:6", redirect error output to a file, and then try to see in
there why the linking failed:

GST_DEBUG="*:6" ./myApp 2> debug_output

In there, you look for the line that starts with ERROR (which
basically describes the not-linked error), and search a few lines
above. It should give you the two elements that failed to link,
together with their respective caps. That should give you a hint on
why it failed.

If all this sounds too confusing, you can compress the resulting debug
log and send us a link to it. But I suggest that you at least try to
look at the debug log, so you can get used to debugging similar
problems in the future.

Best regards,

Vivia

On 4 September 2016 at 22:30, Torkel Danielsson
<[hidden email]> wrote:

> Hi,
>
> I am running a pipeline on iOS and macOS, reading from an rtmp server. It
> throws the following error message:
> Internal data flow error.
> gstbasesrc.c(2947): void gst_base_src_loop(GstPad *) ():
> /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0:
> streaming task paused, reason not-linked (-1)
>
> I am running the 1.9.1 developer packages. I can run other pipelines (e.g.
> file based or streaming from tcpsrc), so I think I know the integration on
> iOS/macOS is correct.
>
> Here is the pipeline:
> rtmpsrc location=rtmp://10.0.1.13:1935/live/a ! decodebin
> A custom sink is then programmatically added at the end.
>
> I can read from the rtmp server using the exact same pipeline on Windows, so
> I think I know the pipeline is correct.
>
> Does anybody have a good suggestion for how I should debug this further?
>
> Best,
> Torkel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel