Jean-Marc Valin
2013-Nov-29 19:39 UTC
[opus] Please help me decode this webrtc chrome conversation
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
Jean-Marc Valin
2013-Nov-29 20:36 UTC
[opus] Please help me decode this webrtc chrome conversation
On the call where even opus_decoder_get_nb_samples() fails, what's the value of the first two bytes of the buffer you're sending? And what's the length of the buffer? Jean-Marc 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 > >
Seemingly Similar Threads
- Please help me decode this webrtc chrome conversation
- Please help me decode this webrtc chrome conversation
- Please help me decode this webrtc chrome conversation
- sftp can't preserve uploaded mtime: fsetstat: No such file or directory
- sftp can't preserve uploaded mtime: fsetstat: No such file or directory