mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 03:44:02 +08:00
1. It cannot retrieve codec information on `Firefox` by `getSenders/getReceivers` 2. It can retrieve codec information on `Chrome` by `getReceivers`, but incorrect, like this:  3. So, we retrieve codec information from `getStats`, and it works well. 4. The timer is used because sometimes the codec cannot be retrieved when `iceGatheringState` is `complete`. 5. Testing has been completed on the browsers listed below. - [x] Chrome - [x] Edge - [x] Safari - [x] Firefox --------- Co-authored-by: winlin <winlinvip@gmail.com>