getSession static method
Returns the session specified with "sessionId" from the session history.
Implementation
static Future<Session?> getSession(int sessionId) async {
try {
await init();
return _platform
.ffmpegKitConfigGetSession(sessionId)
.then(FFmpegKitFactory.mapToNullableSession);
} on PlatformException catch (e, stack) {
print("Plugin getSession error: ${e.message}");
return Future.error("getSession failed.", stack);
}
}