-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
V4 Camera - Will not display video or audio when audio is enabled (logs) #1236
Comments
hmm, could you try adding the environment variable |
Interesting, so that seems to fix it for the bridge UI. I can get audio/video now from it. Something odd is happening though. I push the RTSP streams through to Surveillance Station, and on those, The V3 cameras have a loud static sound coming from them now (no actual audio) and the V4 has no audio coming through in Surveillance Station. |
My guess is that MediaMTX (which is what we're using to create the streams) doesn't like the Does the audio work in VLC? You might be able to use another AUDIO_CODEC or make some adjustments in Surveillance Station? |
Edit: Thank you very much for the assistance! Do we have a listing of the various codecs that are an option for AUDIO_CODEC? I see on the wiki there is:
and I know from this post we can also use
But my google searches are coming up empty for a full listing. Looking in the code (I'm not a coder, more of a scripter) I can only see libopus and aac defined, so maybe thats it? Or maybe its directed by FFMPEG? As far as Surveillance Station goes, Since RTSP hasn't been officially supported on v3/v4 now, they have no option for those when you select Wyze as the brand, so we have to use a "User Defined" option, which limits what we can do with audio and what not. So I'd like to try tackling it from the audio source side. |
Some other options are mp3, pcm_alaw, and pcm_mulaw. See the table on MediaMTX. I've pushed an update to the edge build so that it should auto re-encode the audio to aac even if webrtc is disabled and AUDIO_CODEC is not set. |
@Dot50Cal does |
Sorry for the late reply on this, I just tested it and yes, it does work with Surveillance Station. |
Describe the bug
When I enable audio on the v4 camera I have, the video/snapshot never shows/updates in the docker bridge webUI. Logs appear to show constant "slow gap" logs.
Environment (if applicable)
This is a continuation of issues I have been experiencing since the v4 first launched. I have yet to successfully get the bridge to pass video and audio together even after trying multiple versions. I figured I'd wait it out to see if anyone else had the issue yet but I do not see that as of yet still and its been a few weeks so I am bringing up the issue again.
Scenario:
When enabling audio on the v4 camera, the camera never passes video or audio to the bridge. Thumbnail never updates and video is never streamed. If I disable audio, the video passes just fine.
One thing I find very odd is that the thumbnail does update when it detected movement/event/person with audio enabled, so its somehow getting the thumbnail properly, its just not showing video when audio is enabled and the thumbnails are broken unless its a detection event.
Here are my logs with debug turned on from this. I disabled/turned off all my other cameras and filtered the log to only show lines with the camera name in it. If full ones are required, I can provide them.
The text was updated successfully, but these errors were encountered: