Closed LucaJeevanjee closed 7 months ago
Hi,
This has already been fixed in the main
branch but it has not been released yet. I guess that why you closed it.
I don't remember why I did not release. Do you need this release?
Hi,
This has already been fixed in the
main
branch but it has not been released yet. I guess that why you closed it.I don't remember why I did not release. Do you need this release?
Hi, just found the error to be the order I was applying my functions. I'm having another error overall with connection but I don't know if it's the package
Hi, just found the error to be the order I was applying my functions. I'm having another error overall with connection but I don't know if it's the package
@LucaJeevanjee can you expand on what change you made to resolve the issue? I'm encountering the same thing.
Version
v1.1.1
Which operating systems have you used?
Environment that reproduces the issue
Using version 1.1.3 actually.
On iOS 17 Iphone 14 pro
Is it reproducible in the example application?
Not tested
RTMP Server
rtmp://global-live.mux.com:5222/app/streamKey
Reproduction steps
ApiVideoLiveStreamController initLiveStreamController() { print("Initializing live stream controller"); return ApiVideoLiveStreamController( initialAudioConfig: AudioConfig(), initialVideoConfig: VideoConfig.withDefaultBitrate(), initialCameraPosition: CameraPosition.front, onConnectionSuccess: () { print("Connected to live stream"); }, onConnectionFailed: (error) { print("Connection failed: $error"); appToastView(title: "Connection Failed - $error"); isStreaming.value = false; }, onError: (error) { print("Error Failed - $error"); appToastView(title: "Error - $error"); isStreaming.value = false; }, onDisconnection: () { appToastView(title: "Disconnected"); isStreaming.value = false; }); }
basic setup in my GetxController
`controller.value?.initialize().onError((error, stackTrace) { print('Start Streaming error: $error'); appToastView(title: "Streaming Error: $error"); });
var eventListener = ApiVideoLiveStreamEventsListener( onConnectionSuccess: () => print("Connection successful"), onConnectionFailed: (error) => print("Connection failed: $error"), onError: (error) => print("On error: $error"), onDisconnection: () => print("On disconnection"), );
and then my start video streaming
`void startVideoStreaming(ApiVideoLiveStreamController? c) async { final ApiVideoLiveStreamController? controller = c;
}`
Expected result
The player successfully starts live streaming - broadcasting to mux for other users to watch.
Actual result
Camera preview working, however my mux stream has no data being sent to it.
Getting: flutter: MissingPluginException(No implementation found for method getVideoSize on channel video.api.livestream/controller) flutter:
0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:308:7)