I'm using the youtube live stream api for streaming live videos.
Whenever i start to the live stream, my video becomes dark.
It happens after i enable androidUseOpenGL property. Cannot disable because it leads to video freeze on stream start.
This is how my controller is initialized.
`void getCameraDescription() async{
var cameras = await availableCameras();
cameraDescription = cameras.length > 1 ? cameras[1] : cameras[0];
I'm using the youtube live stream api for streaming live videos. Whenever i start to the live stream, my video becomes dark.
It happens after i enable androidUseOpenGL property. Cannot disable because it leads to video freeze on stream start.
This is how my controller is initialized. `void getCameraDescription() async{ var cameras = await availableCameras(); cameraDescription = cameras.length > 1 ? cameras[1] : cameras[0];
}`
Live stream start code. `Future startVideoStreaming() async{
if(cameraController == null){
return null;
}
if(!cameraController.value.isInitialized){
return null;
}
String myUrl = "rtmp://a.rtmp.youtube.com/live2/";
}`