emiliodallatorre / flutter_rtmp_broadcaster

Publisher to rtmp using the camera plugin as a basis to do all the basic camera/record management.
MIT License
7 stars 6 forks source link

Microphone Disabling Issue in YouTube Live Broadcasting #8

Open Riyank786 opened 7 months ago

Riyank786 commented 7 months ago

I am currently facing an issue with the microphone disabling while using it for YouTube live broadcasting. Despite providing the necessary permissions, the application is showing the error message: "CameraPermission, MediaRecorderAudio permission not granted."

issue

I also provided the following permissions in the manifest

image

The issue occurred when I initialized the CameraController with the enableAudio as false:

_controller = CameraController(
  _cameras[_selectedCameraIndex],
  ResolutionPreset.max,
  enableAudio: false,
  androidUseOpenGL: true,
);