More information. I think this is related to the opus_decode api and I have checked it before.
The decode_fec means:
| [in] | decode_fec | int: Flag (0 or 1) to request that any in-band forward error correction data be decoded. If no such data is available, the frame is decoded as if it were lost.
|
If I pass 1 decode_fec, the pcm output is an array of zero. I use chrome as the client to test this function and I have checked the useinbandfec is set to 1 in the sdp offer and answer. So does it mean chrome cannot encode FEC data, which makes the decoder output an array of zero?
在 2016年9月6日星期二 UTC+8下午5:38:03,左裕初写道: