Displaying 1 result from an estimated 1 matches for "ouput_payload".
2020 Jul 25
2
Regarding encoded data
...nt16 pcm's size in bytes would be
*3840*. Documentation page says the recommended size for *output
payload *should
be around
*4000.*
I check the return values returned by *opus_encode(), *and they are between
250 and 300, which is the length of the encoded packet.
Now, we are supposed to send *ouput_payload* - which is 4000 bytes long -
over the network. That means sending more bytes than sending opus_int16
pcm, which is length of *3840 *in bytes*.*
So what is the advantage of encoding the data if we are to send more bytes
than initially held?
I also tried setting *output payload's *size to be on...