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

Add support muting warnings for RTSP server #1450

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

edenhaus
Copy link
Contributor

In Home Assistant, we add for all streams the following additional line "ffmpeg:{stream_name}#audio=opus" to have audio on WebRTC as most cameras are only supporting aac.

If you use a no-audio camera with the above ffmpeg config, you will see anytime you start the stream the following log entry: 09:32:51.973 ERR [rtsp] error="streams: codecs not matched: H264 => ANY" stream=camera.x

This PR downgrade the level to debug only when ffmpeg is the source of the RTSP stream

@AlexxIT AlexxIT merged commit 715be4d into AlexxIT:master Nov 11, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Nov 11, 2024

Thanks. I've made some edits to the implementation. Suggesting config changes:

ffmpeg:{stream_name}#query=log_level=debug#audio=opus

@AlexxIT AlexxIT changed the title Lower codec not matched error for ffmpeg to debug Add support muting warnings for RTSP server Nov 11, 2024
@AlexxIT AlexxIT added this to the v1.9.7 milestone Nov 14, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Nov 14, 2024

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

Successfully merging this pull request may close these issues.

2 participants