ireader / media-server

RTSP/RTP/RTMP/FLV/HLS/MPEG-TS/MPEG-PS/MPEG-DASH/MP4/fMP4/MKV/WebM
MIT License
3.06k stars 1.07k forks source link

修有些特殊流ps解封装,不调用notify的bug #326

Closed xiongguangjie closed 8 months ago

xiongguangjie commented 8 months ago

有些特殊码流,先有PES, 导致psm_fetch 检查psm时,会自动增加一个stream,导致stream_count 为1;随后解析的PSM,刚好也只有一个流,但是解析psm时,是根据stream_count 来判断是否调用notify 回调,导致不会调用发现流的notify 回调

可以复现bug的ps文件如下: test.zip

ireader commented 8 months ago

3ks