srs/trunk/research
Haibo Chen(陈海博) 07e7984fdf
Player: Get codec by webrtc api: pc.getStats. v7.0.42 (#4310)
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:

![image](https://github.com/user-attachments/assets/e0bb93b1-ccd0-46c0-ae21-074934f66a1e)

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>
2025-06-04 10:28:46 -04:00
..
api-server Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 2024-02-05 21:37:29 +08:00
apm APM: Extract research to projects. 2022-09-19 13:30:22 +08:00
arm Merge 4.0release, migrate to new website. 2022-07-31 18:34:18 +08:00
code-statistic update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2025-01-14 17:35:18 +08:00
console Player: Fix empty img tag occupy 20px size in safari. v6.0.142 (#4029) 2024-07-24 11:20:56 +08:00
ffempty update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2025-01-14 17:35:18 +08:00
frame Update 2021-03-06 10:46:07 +08:00
golang refine srs player to play hls. 2016-03-19 19:11:31 +08:00
gperftools update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2025-01-14 17:35:18 +08:00
hls update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2025-01-14 17:35:18 +08:00
msg_zerocopy ST: Simplify it, only Linux/Darwin, epoll/kqueue, single process. 5.0.2 2021-05-19 18:25:49 +08:00
players Player: Get codec by webrtc api: pc.getStats. v7.0.42 (#4310) 2025-06-04 10:28:46 -04:00
python-subprocess finish the research for python-subprocess 2014-06-11 11:14:43 +08:00
srt-proxy A demo for SRT proxy. (#3869) 2023-12-30 08:55:01 +08:00
st ASAN: Support coroutine context switching and stack tracing (#4153) 2024-08-22 17:12:39 +08:00
thread-model Research: Add udp connect 2021-02-05 11:07:53 +08:00
wireshark GB28181: Support GB28181-2016 protocol. v5.0.74 (#3201) 2022-10-06 17:40:58 +08:00
favicon.ico Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 2024-02-05 21:37:29 +08:00
index.html update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2025-01-14 17:35:18 +08:00