Open nanosonde opened 3 years ago
Here you wrote that you did not get it working with the "track" event: https://github.com/tommyjlong/doorvivint-card/blob/44ba38bf660c7f2ea4e0447c1a609c425e653a6f/dist/doorvivint-card.js#L235-L240
The key here is to useremoteAudio.srcObject = e.streams[0]
and not remoteAudio.srcObject = e.stream
.
This here needs to be changed too accordingly: https://github.com/tommyjlong/doorvivint-card/blob/44ba38bf660c7f2ea4e0447c1a609c425e653a6f/dist/doorvivint-card.js#L173-L179
With the above changes I was able to get full duplex audio on my iPad with iPadOs 14.3.
With this I got returnAudio working: