Update depacketizer to using the same algorithm as the Java version for decreased CPU load

This commit is contained in:
Cameron Gutman
2014-03-29 11:50:58 -04:00
parent d751c44c3d
commit e27218f56e
4 changed files with 204 additions and 67 deletions

View File

@@ -44,7 +44,13 @@ void destroyControlStream(void) {
PltCloseEvent(&resyncEvent);
}
void requestIdrFrame(void) {
void connectionSinkTooSlow(int startFrame, int endFrame) {
// FIXME: Send ranges
PltSetEvent(&resyncEvent);
}
void connectionDetectedFrameLoss(int startFrame, int endFrame) {
// FIXME: Send ranges
PltSetEvent(&resyncEvent);
}