Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS和FLV与RTSP拉流延迟对比 #355

Open
fallow5 opened this issue May 17, 2024 · 0 comments
Open

HLS和FLV与RTSP拉流延迟对比 #355

fallow5 opened this issue May 17, 2024 · 0 comments

Comments

@fallow5
Copy link

fallow5 commented May 17, 2024

版本:v0.37.4
描述:将rtsp视频流接入lalserver后,使用hls、flv、rtsp、rtmp四种方式进行拉流。一段时间后,对比延迟时间。
此时的hls配置信息为,其他类型没有调整。

"hls": { "enable": true, "enable_https": true, "url_pattern": "/hls/", "out_path": "./lal_record/hls/", "fragment_duration_ms": 1000, "fragment_num": 2, "delete_threshold": 2, "cleanup_mode": 2, "use_memory_as_disk_flag": false, "sub_session_timeout_ms": 30000, "sub_session_hash_key": "" }

输出流 延迟(s)
RTSP 0
rtmp 6
flv 11
hls 16

开启动态检测添加静音AAC数据的功能
"in_session": { "add_dummy_audio_enable": true, "add_dummy_audio_wait_audio_ms": 150 },

输出流 延迟(s)
RTSP 0
rtmp 5
flv 5
hls 17

实际应用中,flv应该与rtsp流相差1-2s这样,请问下这个该如何优化。

2

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant