Winlin
34c78a74fe
WebRTC: Warning if no ideal profile. v6.0.33, v5.0.146 ( #3446 )
...
For WebRTC, SRS expect the h.264 codec is:
```
a=rtpmap:106 H264/90000
a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
```
But sometimes, the device does not support the profile, for example only bellow:
```
a=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e033
a=fmtp:122 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=420033
a=fmtp:121 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640033
a=fmtp:120 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0033
```
So we should warning user about the profile missmatch, because it might not work.
PICK a7514484a2
----------
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: LiPeng <lipeng19811218@gmail.com>
2023-03-07 20:02:05 +08:00
john
d6477c24d6
RTC: fix rtc publisher pli cid ( #3318 )
...
* RTC: fix rtc publisher pli cid
* RTC: log bridge request keyframe
* Update release v6.0.19 v5.0.138
PICK 7922057467
Co-authored-by: Winlin <winlin@vip.126.com>
Co-authored-by: ChenGH <chengh_math@126.com>
2023-01-19 10:55:16 +08:00
winlin
72f8ed4916
Update license date to 2023. v5.0.123
2023-01-01 08:49:13 +08:00
chundonglinlin
981cab40d3
API: support metrics for prometheus.( #2899 ) ( #3189 )
...
* API: support metrics for prometheus.
* Metrics: optimize metrics statistics info.
* Refine: remove redundant code.
* Refine: fix metrics srs_streams param.
* Metrics: add major param.
* Metrics: refine params and metric comments.
* For #2899 : API: Support exporter for Prometheus. v5.0.67
Co-authored-by: winlin <winlin@vip.126.com>
2022-09-27 15:39:26 +08:00
winlin
1b25ef9028
Merge branch '4.0release' into develop
2022-09-16 08:05:32 +08:00
winlin
686f57799e
Fix #3179 : WebRTC: Make sure the same m-lines order for offer and answer. v4.0.265
2022-09-16 08:02:12 +08:00
winlin
b2ad3bcdc8
WebRTC: Print offer if negotiate failed.
2022-09-11 21:57:59 +08:00
winlin
6d18093e16
Merge branch '4.0release' into develop
2022-09-10 21:25:38 +08:00
winlin
aea2bfbaf9
For #3174 : WebRTC: Support Unity to publish or play stream. v4.0.264
2022-09-09 16:34:45 +08:00
winlin
8ac8ae1c2e
Fix #3093 : WebRTC: Error when SDP not matched.
2022-09-09 16:19:47 +08:00
faicker
ef3347e37e
WebRTC: Fix missing type in track desc when backup H.264 payload type is chosen.
...
Signed-off-by: faicker <faicker.mo@gmail.com>
Signed-off-by: faicker <faicker.mo@gmail.com>
2022-09-09 14:27:24 +08:00
Li Peng
efa0851476
WebRTC: Refine code and destroy session when tcp close.
2022-09-04 22:57:47 +08:00
Li Peng
07339e1417
WebRTC: Support TCP network.
2022-09-04 20:46:39 +08:00
winlin
625069af7f
WebRTC: Extract SrsRtcNetwork layer for UDP/TCP.
2022-09-04 20:14:09 +08:00
winlin
770d959148
WebRTC: Support config, listener and SDP for TCP transport.
2022-09-04 20:13:33 +08:00
winlin
79358673ef
Merge branch '4.0release' into develop
2022-09-03 18:13:11 +08:00
winlin
34196ea7f7
Fix #3167 : WebRTC: Play stucked when republish. v4.0.260
2022-09-03 17:14:32 +08:00
winlin
6a108fab6d
Fix #2837 : Callback: Support stream_url and stream_id. v5.0.55
2022-08-31 08:00:05 +08:00
winlin
1630918b0f
Refactor: Use compositor for ISrsKbpsDelta. v5.0.51
2022-08-30 09:26:51 +08:00
winlin
db91102e67
STAT: Extract an ephemeral delta object.
2022-08-29 13:44:10 +08:00
winlin
4fe90d4885
RTC: Stat the WebRTC clients bandwidth. v5.0.50
2022-08-29 13:21:43 +08:00
winlin
4e3ea99ccd
STAT: Refine stat for global server.
2022-08-27 20:40:34 +08:00
winlin
d117145b95
Update date from 2021 to 2022.
2022-06-20 19:22:25 +08:00
winlin
fa78cf3354
Prefix with srs_protocol in protocol directory.
2022-06-09 20:26:58 +08:00
winlin
665ad564fb
Rename service to protocol files.
2022-06-09 19:59:51 +08:00
winlin
f1840b87e5
Fix typo, change bridger to bridge.
2022-06-09 19:35:07 +08:00
winlin
d5c86dc5fa
Switch LICENSE from MIT to **MIT or MulanPSL-2.0**. v5.0.21
2022-01-13 18:40:22 +08:00
winlin
93aa0eb5ba
Squash: Fix bugs
2022-01-13 18:26:28 +08:00
chundonglinlin
c30aa479a7
RTC: Fix both rtmp and rtc streams can be published at the same time. ( #2875 )
2022-01-12 09:12:29 +08:00
winlin
716e578a19
Squash: Fix bugs
2021-12-26 17:30:51 +08:00
Huachao Mao
faeacf1fc9
RTC: Replace payload name AV1X with AV1 for WebRTC. ( #2760 ) ( #2784 )
...
* RTC: Replace payload name AV1X with AV1 for WebRTC. (#2760 )
* Add compatibility check code for old versions of Chrome
* 新增获取track_desc的AV1X编码兼容性检查
2021-12-20 13:20:03 +08:00
Haibo Chen
3fc287f7de
API: Fix the same 'client_id' error when asynchronous call ( #2665 ) v4.0.179
2021-10-16 07:53:18 +08:00
Haibo Chen
974bed6b26
API: Fix the same 'client_id' error when asynchronous call ( #2665 )
2021-10-16 07:50:47 +08:00
Haibo Chen
c4a64ee470
Use SrsAsyncCallWorker in http hooks instead, to covert to async call. ( #2542 )
...
* Use SrsAsyncCallWorker in http hooks instead, to covert to async call.
* delete invalid function
2021-08-27 07:49:33 +08:00
Haibo Chen
a7feedabc6
Use SrsAsyncCallWorker in http hooks instead, to covert to async call. ( #2542 )
...
* Use SrsAsyncCallWorker in http hooks instead, to covert to async call.
* delete invalid function
2021-08-27 07:44:19 +08:00
winlin
85620a34f5
Squash: Fix rtc to rtmp sync timestamp using sender report. #2470
2021-08-17 07:25:03 +08:00
john
ea8cff6163
RTC: Fix rtc to rtmp sync timestamp using sender report. ( #2470 )
...
* fix annotation spell failed
* RTC to RTMP using SenderReport to sync av timestamp
* update pion/webrtc versio from v3.0.4 -> v3.0.13, auto config sender/receiver report
* Add rtc push flv play regression test
* Add unit test of ntp and av sync time
* Take flag CXX to makefile of utest
* Add annotation about rtc unit test
* Fix compiler error in C++98
* Add FFmpeg log callback funciton.
2021-08-17 06:32:35 +08:00
winlin
29dea37dbb
Squash: Merge SRS4
2021-08-10 12:10:35 +08:00
Haibo Chen
dffc344747
RTC: For #1657 , support http hooks n_play/stop/publish/unpublish ( #2509 )
...
* support http hooks for rtc: on_play/stop/publish/unpublish
* Update srs_app_rtc_conn.cpp
* Update srs_app_rtc_conn.cpp
2021-08-10 09:47:48 +08:00
Haibo Chen
345b691895
support http hooks for rtc: on_play/stop/publish/unpublish ( #2509 )
...
* support http hooks for rtc: on_play/stop/publish/unpublish
* Update srs_app_rtc_conn.cpp
* Update srs_app_rtc_conn.cpp
2021-08-10 09:41:20 +08:00
winlin
301a8ceadb
Squash: Merge SRS 4.0
2021-07-24 21:10:35 +08:00
Winlin
8c7ba05f9a
For #2371 : Add regression test for SDP nack ( #2487 )
...
* explicitly enable nack, for firefox (#2373 )
* For #2371 : Add regression test for SDP nack
1. Refine API to change defaule decodes.
2. Add test for publish SDP nack.
3. Add test for play SDP nack.
Co-authored-by: Haibo Chen <495810242@qq.com>
2021-07-24 21:03:00 +08:00
Haibo Chen
43bb9660ca
explicitly enable nack, for firefox ( #2373 )
2021-07-24 20:49:12 +08:00
Haibo Chen
fb73d42c38
explicitly enable nack, for firefox ( #2373 )
2021-07-24 20:47:34 +08:00
Haibo Chen
86c67f7d95
RTC: Support statistic for HTTP-API, HTTP-Callback and Security ( #2483 ) v4.0.144
...
* commit message for your changes. Lines starting
* Update srs_app_rtc_api.cpp
* add SrsRtcConnPlay and SrsRtcConnPublish, in enum SrsRtmpConnType
* Update srs_rtmp_stack.cpp
* Update srs_app_rtc_conn.cpp
* Update srs_app_rtc_api.cpp
* update utest
* Update srs_utest_app.cpp
2021-07-24 08:08:35 +08:00
Haibo Chen
0efd7b1bbc
RTC: Support statistic for HTTP-API, HTTP-Callback and Security ( #2483 )
...
* commit message for your changes. Lines starting
* Update srs_app_rtc_api.cpp
* add SrsRtcConnPlay and SrsRtcConnPublish, in enum SrsRtmpConnType
* Update srs_rtmp_stack.cpp
* Update srs_app_rtc_conn.cpp
* Update srs_app_rtc_api.cpp
* update utest
* Update srs_utest_app.cpp
2021-07-24 08:05:10 +08:00
Winlin
c8a1e0f3da
Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8 ( #2464 )
...
* Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8
* Update README.md
* Update README.md
* Refine format for AUTHORS.md
2021-07-08 14:30:47 +08:00
winlin
a594678e3d
Squash #1685 , #1282 , #1547 : Support ARM platform. 5.0.5
2021-06-22 07:49:48 +08:00
john
1347da81f8
Check audio/video track when rtc stream updated ( #2418 )
2021-06-21 14:35:37 +08:00
winlin
1c75a270b3
RTC: Eliminate dead code.
2021-06-17 10:52:00 +08:00