Since the second $ comes hidden inside the RTP data section of the previous 
packet, it goes unprocessed. This is because the INTERLEAVE callback assumes it 
gets only one $-packet at a time.

So I miss processing this hidden(nested) packet and loose the data it contains. 
It would have been much easier if I get one $-packet at a time in the callback. 
Is there a way to work around this?


-----Original Message-----
From: curl-library [] On Behalf Of Erik 
Sent: Wednesday, April 11, 2018 12:47 PM
To: libcurl development <>
Subject: RE: Multiple '$' blocks in the INTERLEAVE callback function

> However, as you can see there is another $ packet within the RTP payload. 
> This messes up the remaining packet and packets to follow.

I think it is exactly like you say. That second $ is a valid byte of the 
payload. Only start interpreting interleave headers 1122 bytes after the first 
one (in this case).
Don't scan through the data... Or do I misunderstand?




Reply via email to