ossrs / srs-gb28181

GB28181 server based on SRS
https://ossrs.net
MIT License
83 stars 41 forks source link

gb28181接收rtp协程唤醒muxer协程的方式为什么不用srs_cond_signal? #36

Open yushimeng opened 2 years ago

yushimeng commented 2 years ago

请问, gb28181 on_rtp的处理为什么没有使用srs_cond_signal(wait_ps_queue); 唤醒 rtmp_muxer的方式, 而是使用rtmp_muxer sleep的方式? 是有验证了唤醒的方式有性能问题还是出于别的考虑? 另外可能在倍速下载/播放的场景,可能sleep的间隔需要调整.

duiniuluantanqin commented 2 years ago

当时可能是赶时间。欢迎来个pr。