-
Notifications
You must be signed in to change notification settings - Fork 157
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
Feature Request: How to access generated audio through 2 way talk #618
Comments
One option, could be, setting up the microphone endpoint (such as tcp address) and my integration can listen on it and forwards incoming bytes into websocket? |
|
I was assuming that this is more about webrtc card/integration which is responsible for capturing the microphone input. What is the current connection between webrtc card/integration and go2rtc? How are you delivering the audio input into go2rtc? |
WebRTC Card => WebRTC => go2rtc => any supported two way proto => camera So you asking about "any supported two way proto => camera" step |
Do you have code pointer to share about here?
|
|
thanks for the code pointer, assuming webrtc:
go2rtc:
eufy-security home assistant integration:
|
I think sending mic data to some HTTP endpoint is possible. I don't really like the idea because the solution turns out to be very large and complicated. But in any case I don't have time right now to suggest and implement an alternative. PS. Remember that audio codec may not suits for you. |
I want to rely on WebRTC card to activate 2 way audio but I need to get the bytes of generated stream from another custom component, so I can write the respective data into another add-on.
There is eufy-security-ws add-on which is expecting chunks of data to be sent over websocket and I am managing eufy_security custom component.
Do you have any suggestion on how to make this possible?
The text was updated successfully, but these errors were encountered: