messagesInTransmit static method

Future<int?> messagesInTransmit(
  1. int sessionId
)

Returns the number of messages that are not transmitted to the Flutter callbacks yet for this session.

Implementation

static Future<int?> messagesInTransmit(int sessionId) async {
  try {
    await init();
    return _platform.ffmpegKitConfigMessagesInTransmit(sessionId);
  } on PlatformException catch (e, stack) {
    print("Plugin messagesInTransmit error: ${e.message}");
    return Future.error("messagesInTransmit failed.", stack);
  }
}