mediaEndPoint method

  1. @override
Future<String?> mediaEndPoint()
override

Retrieves the media endpoint URL.

Implementation

@override
Future<String?> mediaEndPoint() async {
  String? response;
  try {
    response =
        await mirrorFlyMethodChannel.invokeMethod<String>('media_endpoint');
    LogMessage.d("media_endpoint Result ", " $response");
    return response;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}