You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Locating the problem, the PMT writing information defaults to including the video field. Use ffplay to locate the warning.
Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B)
Upon checking the code, it was found that in the corresponding function SrsTsPacket::create_pmt, the video type should not be push_backed in the case of pure audio.
// if h.264 specified, use video to carry pcr.
if (vs == SrsTsStreamVideoH264) {
pmt->PCR_PID = vpid;
pmt->infos.push_back(new SrsTsPayloadPMTESInfo(vs, vpid));
}
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
In the m3u8 file, the #EXTINF:2.000000 format should not have any numbers after the decimal point. It must be an integer or a format like 4.000, not 4.001.
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:13
#EXTINF:2.000000,
abc13.ts
#EXTINF:2.000000,
abc14.ts
#EXTINF:2.000000,
abc15.ts
#EXTINF:2.000000,
abc16.ts
#EXTINF:2.000000,
abc17.ts
Because of this issue, the temporary solution can only use ffmpeg, which leads to the need to add ffmpeg for HLS segmentation, even though the original several hundred video streams were fine with SRS built-in HLS segmentation. This results in a sharp increase in hardware resource requirements.
TRANS_BY_GPT3
winlinvip
changed the title
ios 15以上safari浏览器无法播放纯音频hls
iOS 15 or above Safari browser cannot play pure audio HLS.
Jul 28, 2023
Locating the problem, the PMT writing information defaults to including the video field. Use ffplay to locate the warning.
Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B)
Upon checking the code, it was found that in the corresponding function SrsTsPacket::create_pmt, the video type should not be push_backed in the case of pure audio.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: