[Live-devel] Sink dies after 17 min and 53 sec
Lutz Fiebach
lutz at fiebach.de
Tue Jun 18 13:57:24 PDT 2024
Hi Ross,
thank you for your reply sorry if the mail is not entered correctly, but as I did not receive a mail I could not reply to your reply.
Our team leader has just found the error, it was an incorrect nal.duration calculation which was taken from the original code. I assume that since this code was designed completely differently, the problem never occurred.
The duration was always set to negative, which most likely caused an exception at the same time.
Thanks again for live555 and sorry for the unnecessary mail.
best regards
Lutz
________________________________
Von: Lutz Fiebach <lutz at fiebach.de>
Gesendet: Dienstag, 18. Juni 2024 21:47
An: live-devel at lists.live555.com <live-devel at lists.live555.com>
Betreff: Sink dies after 17 min and 53 sec
Hi live555 Team,
I am working in a free project that provides an open source operating system for ingenic soc based wifi cameras.
We use the live555 libraries to deliver the streams via RTSP. To support multiple parallel streams, we have created a DeviceSource based on the FramedSource.
The device source has a queue, which is filled via a callback function. An eventTriggerId is used to signal that new data has been provided.
At this point there is a strange problem and we hope that you can give us a tip as to what could be causing this behavior.
Exactly after 17 minutes and 53 seconds the video stream stops and the function isCurrentlyAwaitingData only returns false.
This suggests that getNextFrame is no longer being called.
During the first 17:53 minutes the data stream is performant and stable, there are no drops. Even if 10 clients are connected, each one gradually terminates at 17:53 (1074 seconds).
Do you have any idea or hint what could causing such behavior?
Here is a link to the code (it currently contains a lot of debug output):
https://github.com/Lu-Fi/prudynt-t/blob/lowstream/src/IMPDeviceSource.cpp#L59
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20240618/f8dc5901/attachment.htm>
More information about the live-devel
mailing list