Request an IDR frame and reset the decoder if the decoder breaks
This commit is contained in:
parent
c1a1dbe881
commit
f7fdd7cb45
3 changed files with 63 additions and 25 deletions
|
|
@ -16,6 +16,6 @@
|
|||
|
||||
- (void)updateBufferForRange:(CMBlockBufferRef)existingBuffer data:(unsigned char *)data offset:(int)offset length:(int)nalLength;
|
||||
|
||||
- (void)submitDecodeBuffer:(unsigned char *)data length:(int)length;
|
||||
- (int)submitDecodeBuffer:(unsigned char *)data length:(int)length;
|
||||
|
||||
@end
|
||||
|
|
|
|||
Loading…
Reference in a new issue