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?

-Srijith

-----Original Message-----
From: curl-library [mailto:curl-library-boun...@cool.haxx.se] On Behalf Of Erik 
Janssen
Sent: Wednesday, April 11, 2018 12:47 PM
To: libcurl development <curl-library@cool.haxx.se>
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?

Erik


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to