1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00
srs/trunk
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
..
3rdparty Test: Refine blackbox test args. 2023-01-08 11:52:06 +08:00
auto Support configure for generic linux. v5.0.145, v6.0.32 (#3445) 2023-03-07 19:12:06 +08:00
conf Kickoff publisher when stream is idle, which means no players. v6.0.31, v5.0.144 (#3105) 2023-03-06 09:13:39 +08:00
doc WebRTC: Warning if no ideal profile. v6.0.33, v5.0.146 (#3446) 2023-03-07 20:02:05 +08:00
etc/init.d Squash: Fix bugs 2022-01-13 18:26:28 +08:00
gdb ST: Support show coroutines. 2020-12-10 11:36:24 +08:00
ide/srs_clion Disable CLS and APM by default. v5.0.101 2022-12-03 18:35:41 +08:00
modules Moduels: Refine the description 2021-04-21 11:18:35 +08:00
packaging Windows: Refine cygwin pipeline (#3260) 2022-11-21 14:32:26 +08:00
research Rewrite research/api-server code by Go, remove Python. (#3382) 2023-01-18 13:14:26 +08:00
scripts Package script support extra options. v5.0.102 2022-12-03 18:56:21 +08:00
src WebRTC: Warning if no ideal profile. v6.0.33, v5.0.146 (#3446) 2023-03-07 20:02:05 +08:00
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
.gitignore For #2136: API: Cleanup no active streams for statistics. v5.0.42 2022-08-19 19:45:19 +08:00
AUTHORS.md Update new authors. 2022-12-31 12:22:05 +08:00
AUTHORS.txt Update AUTHORS 2021-08-25 07:43:35 +08:00
configure FFmpeg: Support build with FFmpeg native opus. v5.0.131 (#3140) 2023-01-06 17:44:00 +08:00
Dockerfile Rename SRS_SRS_LOG_TANK to SRS_LOG_TANK. #3410 2023-02-13 11:35:06 +08:00
Dockerfile.builds Disable CLS and APM by default. v5.0.101 2022-12-03 18:35:41 +08:00
Dockerfile.cov GB28181: Enable regression test for gb28181. v5.0.122 2022-12-31 19:36:49 +08:00
Dockerfile.pkg GB28181: Enable GB for CentOS 7 package. v5.0.103 2022-12-03 18:56:55 +08:00
Dockerfile.test GB28181: Enable regression test for gb28181. v5.0.122 2022-12-31 19:36:49 +08:00