I was working on flutter webrtc to implement a streaming from a camera using the package https://pub.dev/packages/flutter_kinesis_video_webrtc. In the Mobile UI side we have an option for pausing and to mute the video. How can we achieve this using this package?
Actually the package uses https://pub.dev/packages/flutter_webrtc for implementing webrtc.
You can toggle the video and audio track by setting their states. Assume you have a MediaStream? localStream that is used for capturing the media via the device camera.