Open sathya4code opened 4 years ago
When you switch cameras it recreates the controller so right now this will cause the whole stream to terminate. It has to recreate the camera2 session on android no matter what, on iOS this might be a little easier to solve, definitely working as intended right now however.
On Wed, 15 Jul 2020 at 05:28, Sathya notifications@github.com wrote:
Hi,
I am exploring this for my streaming project. i am using Wowza cloud. Given example(in this repo) working perfectly. But when i switch the camera while streaming, the stream got disconnecting.
I am using the example which is given in this repo. Can someone help me here.
Note: I don't know whether it is bug or not.
Thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pinkfish/flutter_rtmppublisher/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATOMMNXVYFZI373GX6ZHRLR3WOGVANCNFSM4O2PRUWA .
When you switch cameras it recreates the controller so right now this will cause the whole stream to terminate. It has to recreate the camera2 session on android no matter what, on iOS this might be a little easier to solve, definitely working as intended right now however. … On Wed, 15 Jul 2020 at 05:28, Sathya @.**> wrote: Hi, I am exploring this for my streaming project. i am using Wowza cloud. Given example(in this repo) working perfectly. But when i switch the camera while streaming, the stream got disconnecting. I am using the example which is given in this repo. Can someone help me here. Note: I don't know whether it is bug or not.* Thank you. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#20>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATOMMNXVYFZI373GX6ZHRLR3WOGVANCNFSM4O2PRUWA .
Any solution for this?
Anybody know how to fix this issue?
I am with same issue here. There are the way to do this without the streaming disconnect ?
@sathya4code did you find any solutions to get it work?
@sathya4code did you find any solutions to get it work?
No Bro... Sorry for the late reply.
same here, my solution is:
_cameraController.stopVideoStreaming()
When switch camera initializate new controller with new camera import 'package:camera_with_rtmp/camera.dart' as camera; _cameraController = camera.CameraController()
_cameraController.initialize()
_cameraController.startVideoStreaming()
and here all works. But in general I have also app crash, idk why... Something wrong with Android Native library
Hi,
I am exploring this for my streaming project. i am using Wowza cloud. Given example(in this repo) working perfectly. But when i switch the camera while streaming, the stream got disconnecting.
I am using the example which is given in this repo. Can someone help me here.
Note: I don't know whether it is bug or not.
Thank you.