mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug of ts_info
This commit is contained in:
parent
d5b84b5e20
commit
164392f6aa
2 changed files with 4 additions and 3 deletions
|
@ -277,7 +277,8 @@ u_int8_t mpegts_header[] = {
|
|||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
||||
};
|
||||
|
||||
// @see: NGX_RTMP_HLS_DELAY, 700ms, ts_tbn=90000
|
||||
// @see: NGX_RTMP_HLS_DELAY,
|
||||
// 63000: 700ms, ts_tbn=90000
|
||||
#define SRS_HLS_DELAY 63000
|
||||
|
||||
// @see: ngx_rtmp_mpegts.c
|
||||
|
@ -645,7 +646,7 @@ int SrsTSMuxer::write_video(u_int32_t time, SrsCodec* codec, SrsCodecSample* sam
|
|||
return ret;
|
||||
}
|
||||
|
||||
if (video_frame.key && !sps_pps_sent) {
|
||||
if (false && video_frame.key && !sps_pps_sent) {
|
||||
// sample start prefix
|
||||
video_buffer->append(aud_nal, 4);
|
||||
// sps and pps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue