Ignore EOS and continuing to ingest

Gareth Alldread gda72 at yahoo.co.uk
Thu Nov 10 10:02:49 UTC 2022


Hi,

Would you mind sharing your pipeline details?

Thanks,

Gareth

On Thu, 10 Nov 2022 at 00:12, Jeff Shanab via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> wrote:

> Frequently?  Is this at a recognizable interval? like exactly 60 or 120
> seconds?
>
> RTSP sets a timeout on the session and the timeout is refreshed with a
> variety of potential ways.
> If the response to the PLAY command says timeout is 60 seconds, you need
> to send back a GET_PARAMETER, OPTIONS, SET_PARAMTER to refresh it. If rtcp
> is running on the +1 socket or channel then the RR (reciever report) can
> sometimes be enough.
>
> A wireshark will allow you to see this case.
>
> On Wed, Nov 9, 2022 at 6:34 PM Guru Govindan via gstreamer-devel <
> gstreamer-devel at lists.freedesktop.org> wrote:
>
>> Hi,
>> I am working with a few security cameras like ACTi and GeoVision, where
>> the rtsp stream frequently sends EOS caught by bus watch.
>> I tried ignoring it and that would lead to the video ingest stopping to
>> work.
>> I am having to force the pipeline to restart with setting it to ready and
>> playing.
>>
>> Is there any other way to continue ingesting without having to restart
>> the pipeline as I lose footage during the restart.
>>
>> gst::MessageView::Eos(..) => {
>>     log::info!("Received EOS from the stream! restarting the stream!");
>>     let _ = pipeline.set_state(gst::State::Ready);
>>     let _ = pipeline.set_state(gst::State::Playing);
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221110/3944cec2/attachment.htm>


More information about the gstreamer-devel mailing list