Jetson nano USB 1080p stream save while streaming to rtmp fails.
Tim Müller
tim at centricular.com
Fri Mar 6 14:07:24 UTC 2020
On Fri, 2020-03-06 at 04:01 -0600, dananjaya wrote:
Hi,
> I have tried to save an USB 1080p stream while streaming it to an
> rtmp location. I used the tee element to achieve this. If there is a
> network failure both the pipeline stops. I am required to continue
> saving the stream even though the rtmp fails.
>
> What can be a solution for this?
There's an "errorignore" element which you can put between your tee and
the rtmpsink.
This can make sure that the upstream elements won't "see" the error
(which is a flow error in response to pushing a buffer) and continue
streaming.
The application is free to ignore the error message it receives on the
bus from the rtmpsink, or can use it to remove the rtmpsink branch from
the tee (and/or restart the rtmpsink branch after a few seconds).
Cheers
Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list