[Live-devel] Sometimes uSecondsToGo in MultiFramedRTPSink is too big
Brilliantov Kirill Vladimirovich
brilliantov at byterg.ru
Thu Dec 19 00:05:34 PST 2013
Hello!
I use live555 2013.12.15 on board with FreeScale iMX53 CPU.
I have very strange problem - sometimes RTP stream stopped after first
frame, I very long time search reason this and found it in
MultiFramedRTPSink.cpp.
This hack solve my problem:
--- live/liveMedia/MultiFramedRTPSink.cpp.org 2013-12-19
11:22:56.899966475 +0400
+++ live/liveMedia/MultiFramedRTPSink.cpp 2013-12-19
11:24:32.522972693 +0400
@@ -404,7 +404,8 @@
}
// Delay this amount of time:
- nextTask() =
envir().taskScheduler().scheduleDelayedTask(uSecondsToGo,
(TaskFunc*)sendNext, this);
+ //FIXME: sometimes uSecondsToGo can be very big, e.g. 1420587564
+ nextTask() =
envir().taskScheduler().scheduleDelayedTask(/*uSecondsToGo*/0,
(TaskFunc*)sendNext, this);
}
}
Thank you and excuse me for my bad english.
--
Best regards,
Brilliantov Kirill Vladimirovich
More information about the live-devel
mailing list