ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.74k stars 5.28k forks source link

Reverted: WHIP: Fix bug for converting WHIP to RTMP/HLS. v5.0.204 v6.0.107 #3911

Closed winlinvip closed 6 months ago

winlinvip commented 6 months ago
  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

winlinvip commented 6 months ago

Merge into versions 5.0 and 6.0.

TRANS_BY_GPT4

winlinvip commented 6 months ago

Please be aware that this merge request has been revoked due to issues after merging into 5.0. The pull request has been resubmitted: https://github.com/ossrs/srs/pull/3920

TRANS_BY_GPT4