[opus] Please help me decode this webrtc chrome conversation

Ilya Basin basinilya at gmail.com
Sat Nov 30 00:16:36 PST 2013


07 6d

77 bytes

JMV> On the call where even opus_decoder_get_nb_samples() fails, what's the
JMV> value of the first two bytes of the buffer you're sending? And what's
JMV> the length of the buffer?

JMV>         Jean-Marc

JMV> On 11/29/2013 03:31 PM, Ilya Basin wrote:
>> Yes, I parse the RTP header, decrypt the payload and then feed the
>> decrypted data to opus. Besides, opus_decoder_get_nb_samples() on 1st
>> packet returns reasonable number 960, but then opus_decode() fails.
>> 
>> 
>> On Fri, Nov 29, 2013 at 11:39 PM, Jean-Marc Valin <jmvalin at jmvalin.ca
>> <mailto:jmvalin at jmvalin.ca>> wrote:
>> 
>>     On 29/11/13 01:49 PM, Ilya Basin wrote:
>>     > For example, the RTP payload is decrypted successfully, but
>>     > opus_packet_get_nb_samples() or opus_decode() return
>>     > OPUS_INVALID_PACKET.
>> 
>>     Are you sure you didn't forget to strip the RTP header before
>>     decoding it?
>> 
>>             Jean-Marc
>> 
>> 



-- 



More information about the opus mailing list