emiliodallatorre / flutter_rtmp_broadcaster

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

Microphone Disabling Issue in YouTube Live Broadcasting #8

Open Riyank786 opened 11 months ago

Riyank786 commented 11 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,
);
emiliodallatorre commented 2 months ago

Hi @Riyank786, can you please provide a reproducible example and a logcat?

Thanks!