mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
WHIP: Fix bug for converting WHIP to RTMP/HLS. v5.0.208 v6.0.113 (#3920)
1. When converting RTC to RTMP, it is necessary to synchronize the audio and video timestamps. When the synchronization status changes, whether it is unsynchronized or synchronized, print logs to facilitate troubleshooting of such issues. 2. Chrome uses the STAP-A packet, which means a single RTP packet contains SPS/PPS information. OBS WHIP, on the other hand, sends SPS and PPS in separate RTP packets. Therefore, SPS and PPS are in two independent RTP packets, and SRS needs to cache these two packets. --------- Co-authored-by: john <hondaxiao@tencent.com>
This commit is contained in:
parent
22c2469414
commit
7209b73660
8 changed files with 101 additions and 36 deletions
|
@ -434,6 +434,10 @@ rtc_server {
|
|||
# * Retrieve server IP automatically, from all network interfaces.
|
||||
# $CANDIDATE Read the IP from ENV variable, use * if not set.
|
||||
# x.x.x.x A specified IP address or DNS name, use * if 0.0.0.0.
|
||||
# You can also set the candidate by the query string eip, note that you can also set the UDP port,
|
||||
# for example:
|
||||
# http://locahost:1985/rtc/v1/whip/?app=live&stream=livestream&eip=192.168.3.11
|
||||
# http://locahost:1985/rtc/v1/whip/?app=live&stream=livestream&eip=192.168.3.11:18000
|
||||
# @remark For Firefox, the candidate MUST be IP, MUST NOT be DNS name, see https://bugzilla.mozilla.org/show_bug.cgi?id=1239006
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# Overwrite by env SRS_RTC_SERVER_CANDIDATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue