Skip to content
Snippets Groups Projects
Commit 8583b142 authored by Josh Allmann's avatar Josh Allmann Committed by Martin Storsjö
Browse files

rtmp: Support reading interleaved chunks.


A given packet won't always come in contiguously; sometimes
they may be broken up on chunk boundaries by packets of another
channel.

This support primarily involves tracking information about the
data that's been read, so the reader can pick up where it left
off for a given channel.

As a side effect, we no longer over-report the bytes read if
(toread = MIN(size, chunk_size)) == size

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent d4c2a374
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment