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

Sound problem. The sound is interrupted. #1115

Open
TokarevSergey opened this issue May 15, 2024 · 2 comments
Open

Sound problem. The sound is interrupted. #1115

TokarevSergey opened this issue May 15, 2024 · 2 comments
Labels
question Further information is requested

Comments

@TokarevSergey
Copy link

Sound problem.

  1. 3 seconds the sound is quiet;
  2. 1 second interruption;
  3. 1 second burst of noise;
  4. The cycle repeats until the FRIGATE integration is rebooted.
    The problem occurs when there are multiple inputs and outputs to the FRIGATE card or WEB RTC Camera card.
    Sound recording in normal mode and with this problem in videos is normal without interruptions.
    A speaker-shaped indicator on a browser tab appears and disappears.
    If you restart the device, the problem does not disappear.
    If you restart HOMEASSISTANT the problem does not disappear.
    If you restart the FRIGATE integration everything becomes normal.
    Device HIKVISION KV6113 doorbell.
    Video is connected via RTSP, sound via API is recorded on FRIGATE.
    Tell me who has this and how to deal with it.
    Thank you.
@AlexxIT AlexxIT added the question Further information is requested label May 18, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 18, 2024

From this description, it's hard to make any guesses.

@TokarevSergey
Copy link
Author

По этому описанию трудно сделать какие-либо предположения.

Tell me how to set this up.

Camera in FRIGATE
go2rtc:
streams:
DoorBell:
- rtsp://admin:ST008855h@10.0.0.11:554/ISAPI/Streaming/Channels/101
DoorBellCh2:
- rtsp://admin:ST008855h@10.0.0.11:554/ISAPI/Streaming/Channels/102
- isapi://admin:ST008855h@10.0.0.11:80/

If I do this on a WebRTC camera, two-way audio won't work at all.
type: custom:webrtc-camera
streams:

  • url: DoorBellCh2
  • url: DoorBellCh2
    mode: webrtc
    media: video,audio,microphone
    style: 'video {aspect-ratio: 16/9; object-fit: fill;}'
    image

And if I do this, the sound of the speaker becomes quieter and the sound is interrupted, the speaker fades out and appears.
type: custom:webrtc-camera
streams:

  • url: DoorBellCh2
    mode: webrtc
    media: video,audio,microphone
    style: 'video {aspect-ratio: 16/9; object-fit: fill;}'

This happens if you log in to your card several times, and you get the feeling that this is happening because the previous session was not closed. Also, if you reload the frigate configuration, everything becomes normal until you go into the card account again a few times.
Help me figure it out so that everything works, thank you.

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

No branches or pull requests

2 participants