1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix #3181: SRT & WebRTC: Use SrsRawH264Stream to mux SPS/PPS.

This commit is contained in:
hondaxiao 2022-09-20 21:10:44 +08:00 committed by winlin
parent f974c7c8b0
commit 4acb246c57
7 changed files with 50 additions and 51 deletions

View file

@ -417,7 +417,7 @@ srs_error_t SrsMpegtsOverUdp::write_h264_sps_pps(uint32_t dts, uint32_t pts)
// h264 raw to h264 packet.
std::string sh;
if ((err = avc->mux_sequence_header(h264_sps, h264_pps, dts, pts, sh)) != srs_success) {
if ((err = avc->mux_sequence_header(h264_sps, h264_pps, sh)) != srs_success) {
return srs_error_wrap(err, "mux sequence header");
}