[Red5commits] [1148] if a video frame is dropped in live streaming, also drop all frames until the ne
jbauch
luke at codegent.com
Tue Jul 11 10:50:06 EDT 2006
if a video frame is dropped in live streaming, also drop all frames until the next keyframe
Timestamp: 07/12/06 00:40:29 (less than one hour ago)
Change: 1148
Author: jbauch
Files (see diff or trac for details):
java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/1148
Index: /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java
===================================================================
--- /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java (revision 1147)
+++ /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java (revision 1148)
@@ -991,4 +991,7 @@
if (!videoBucket.acquireToken(size, 0)) {
+ // We dropped a frame, so drop all delta frames until the next
+ // keyframe to avoid image corruption.
+ dropUntilKeyframe = true;
return;
}
Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.
More information about the Red5commits
mailing list