-
Notifications
You must be signed in to change notification settings - Fork 180
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
Added the microphone support for 2-way audio #579
Conversation
The config sample is following ``` type: 'custom:webrtc-camera' streams: - url: cam_stream_wo_mic mode: webrtc name: '😶 Mic off' - url: cam_stream_with_mic mode: webrtc name: '🎙️ Mic on' mic: true ```
I think this was now implemented by 8beab52. |
Yes. Thanks to @slydiman. Done with little another way |
Great you guys added that directly. Two questions:
|
Okay, found something: If I put ui: true I can switch the streams on the lower left corner. And I can also unmute on the lower right corner. bit good message is: two way audio works!!! |
You can change stream by click on mode label |
lol, just to be fair it was @AlexxIT alone. |
Also, maybe you are affected by #529. |
You can move mode label via |
And additional info: this issue is only on iOS. On wifeys Android all is good. |
@felipecrs, just to be clear |
Thnx for making this possible!! Is it also possible to add custom buttons/elements like we can do with the frigate card... That's would be perfect for door intercom buttons, like adding an icon for opening door or whatever custom action |
@pergolafabio you can put as many buttons you want, search for "shortcuts" in the README. |
Ok, I see now. Thanks to all of you and also thanks for compiling the credits. |
@felipecrs , i wasnt aware of shortcuts! thnx |
Well, you can create multiple substreams with the modes you want and then cycle though them. |
I think you need:
|
@pergolafabio you using old outdated card. Probably browser cache. |
Hmm; i deleted cache on companion app, even tried logging out :-( |
Try to open that HA page in the desktop browser. To check the WebRTC Camera card version in the Chrome press F12 to open the dev console, select the tab |
on desktop everything is fine, the issue is o Android Companion app :-) I now tried as resource to add version , so it should be reloaded, but doesnt help :-(
|
ok, now deleted cache AND storage in android, in HA app settings, that seems to worrk! |
hmm, cant get it to work, i see video, i can switch modes, i see the mic active on my browser when i switch mode, but it doesnt start the two way audio, i howevere see this : |
|
a dummy? no, the file is actually there, i need to add it to the resources, otherwhise the card doesnt load at all |
but for me, the two way audio doesnt work on the webrtc card this is my config for webrtc:
and:
|
I don't know why file there. It shouldn't be there. If you put it yourself - you may break something. |
Ok, deleted it , removed webrtc from hacs , reinstalled again, deleted the pointer from resources, and indeed now the file doesn't come back, it still loads correct, but still no two way audio on the card |
The path The integration WebRTC Camera uses a virtual URL. Try the following instead:
And click 3 dots in the right top corner, click |
Seems it's not needed to add it to my resources, the card now loads just fine... But I don't have any two way audio on it |
You need to swap deurbel_mic_on and deurbel_mic_off. The correct sample is
Note |
Aha, that's interesting! Gonna try it.. The docs were not clear... It was 2 times the same URL?
|
Cool now it works :-) |
You can use the same stream with mic, but first one has the default |
Ah ,ok makes sense now, appreciated all the help!! |
Just saw this and added it. What a great addition!! Thanks. Now I don't need an iframe. :-| Just wanted to say thanks. |
The config sample is following