flutter-webrtc-demo
flutter-webrtc-demo copied to clipboard
No audio when screen sharing
using the latest plugin and flutter/dart version.
testing on android sdk 30
i have implemented foreground service for the screen share, but there is still no audio. do i need to implement audio in the foreground service? if so, how?
You can create another MediaStream by call getUserMedia({'audio': true, 'video': false}) and get AudioTrack from it. After that, add the track into main stream before.
But, on iPad you will facing an issue, some time you will receive logs about can not start record screen from RelayKit after at least one time successfully. That so weird!.