You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3811 lines
144 KiB
3811 lines
144 KiB
//////////////////////////////////////////////////////////
|
|
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
|
|
//////////////////////////////////////////////////////////
|
|
|
|
#import "SubHandler2.h"
|
|
#import "FluttifyMessageCodec.h"
|
|
|
|
// Dart端一次方法调用所存在的栈, 只有当MethodChannel传递参数受限时, 再启用这个容器
|
|
extern NSMutableDictionary<NSString*, NSObject*>* STACK;
|
|
// Dart端随机存取对象的容器
|
|
extern NSMutableDictionary<NSNumber*, NSObject*>* HEAP;
|
|
// 日志打印开关
|
|
extern BOOL enableLog;
|
|
|
|
@implementation TencentLiveFluttifyPlugin (SubHandler2)
|
|
- (NSDictionary<NSString*, Handler>*) getSubHandler2 {
|
|
__weak __typeof(self)weakSelf = self;
|
|
return @{
|
|
@"TXCAVRoomConfig::get_enableVideoHWAcceleration": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_enableVideoHWAcceleration");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableVideoHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_enableAudioHWAcceleration": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_enableAudioHWAcceleration");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableAudioHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_homeOrientation": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_homeOrientation");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.homeOrientation;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_renderMode": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_renderMode");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.renderMode;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_videoFPS": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_videoFPS");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoFPS;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_videoBitrate": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_videoBitrate");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoBitrate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_videoAspect": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_videoAspect");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoAspect;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_frontCamera": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_frontCamera");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.frontCamera;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_pauseFps": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_pauseFps");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.pauseFps;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_pauseImg": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_pauseImg");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIImage* result = ref.pauseImg;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_enablePureAudioPush": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomConfig::get_enablePureAudioPush");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enablePureAudioPush;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoEditer::get_supportsTwoPassEncoding": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoEditer::get_supportsTwoPassEncoding");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoEditer* ref = (TXVideoEditer*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.supportsTwoPassEncoding;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomParam::get_roomID": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomParam::get_roomID");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UInt32 result = ref.roomID;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomParam::get_authBits": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomParam::get_authBits");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXEAVRoomAuthBits result = ref.authBits;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXCAVRoomParam::get_authBuffer": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXCAVRoomParam::get_authBuffer");
|
|
}
|
|
|
|
// ref object
|
|
TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSData* result = ref.authBuffer;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXBitrateItem::get_index": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXBitrateItem::get_index");
|
|
}
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSInteger result = ref.index;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXBitrateItem::get_width": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXBitrateItem::get_width");
|
|
}
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSInteger result = ref.width;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXBitrateItem::get_height": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXBitrateItem::get_height");
|
|
}
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSInteger result = ref.height;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXBitrateItem::get_bitrate": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXBitrateItem::get_bitrate");
|
|
}
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSInteger result = ref.bitrate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_appId": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPlayerAuthParams::get_appId");
|
|
}
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.appId;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_fileId": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPlayerAuthParams::get_fileId");
|
|
}
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.fileId;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_timeout": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPlayerAuthParams::get_timeout");
|
|
}
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.timeout;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_exper": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPlayerAuthParams::get_exper");
|
|
}
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.exper;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_us": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPlayerAuthParams::get_us");
|
|
}
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.us;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_sign": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPlayerAuthParams::get_sign");
|
|
}
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.sign;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_https": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPlayerAuthParams::get_https");
|
|
}
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.https;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_homeOrientation": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_homeOrientation");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.homeOrientation;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_touchFocus": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_touchFocus");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.touchFocus;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableZoom": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableZoom");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableZoom;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_watermark": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_watermark");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIImage* result = ref.watermark;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_watermarkPos": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_watermarkPos");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGPoint result = ref.watermarkPos;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGPoint)];
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_watermarkNormalization": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_watermarkNormalization");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGRect result = ref.watermarkNormalization;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)];
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_localVideoMirrorType": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_localVideoMirrorType");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.localVideoMirrorType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_pauseTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_pauseTime");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.pauseTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_pauseFps": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_pauseFps");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.pauseFps;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_pauseImg": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_pauseImg");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIImage* result = ref.pauseImg;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoResolution": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_videoResolution");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoResolution;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoFPS": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_videoFPS");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoFPS;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoEncodeGop": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_videoEncodeGop");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoEncodeGop;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoBitratePIN": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_videoBitratePIN");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoBitratePIN;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAutoBitrate": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableAutoBitrate");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableAutoBitrate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_autoAdjustStrategy": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_autoAdjustStrategy");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.autoAdjustStrategy;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoBitrateMax": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_videoBitrateMax");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoBitrateMax;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoBitrateMin": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_videoBitrateMin");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.videoBitrateMin;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_audioSampleRate": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_audioSampleRate");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.audioSampleRate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_audioChannels": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_audioChannels");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.audioChannels;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAudioPreview": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableAudioPreview");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableAudioPreview;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enablePureAudioPush": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enablePureAudioPush");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enablePureAudioPush;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_connectRetryCount": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_connectRetryCount");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.connectRetryCount;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_connectRetryInterval": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_connectRetryInterval");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.connectRetryInterval;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_customModeType": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_customModeType");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.customModeType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_sampleBufferSize": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_sampleBufferSize");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGSize result = ref.sampleBufferSize;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGSize)];
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_autoSampleBufferSize": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_autoSampleBufferSize");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.autoSampleBufferSize;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableNAS": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableNAS");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableNAS;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAEC": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableAEC");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableAEC;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableHWAcceleration": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableHWAcceleration");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAudioAcceleration": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableAudioAcceleration");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableAudioAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAGC": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableAGC");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableAGC;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_volumeType": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_volumeType");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXSystemAudioVolumeType result = ref.volumeType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_frontCamera": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_frontCamera");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.frontCamera;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_beautyFilterDepth": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_beautyFilterDepth");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
float result = ref.beautyFilterDepth;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_whiteningFilterDepth": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_whiteningFilterDepth");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
float result = ref.whiteningFilterDepth;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableNearestIP": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_enableNearestIP");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableNearestIP;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_rtmpChannelType": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_rtmpChannelType");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.rtmpChannelType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_metaData": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePushConfig::get_metaData");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSDictionary* result = ref.metaData;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePlayer::get_enableHWAcceleration": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePlayer::get_enableHWAcceleration");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.enableHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePlayer::get_config": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePlayer::get_config");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXLivePlayConfig* result = ref.config;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePlayer::get_isAutoPlay": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXLivePlayer::get_isAutoPlay");
|
|
}
|
|
|
|
// ref object
|
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
BOOL result = ref.isAutoPlay;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXRecordResult::get_retCode": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXRecordResult::get_retCode");
|
|
}
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXRecordResultCode result = ref.retCode;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXRecordResult::get_descMsg": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXRecordResult::get_descMsg");
|
|
}
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.descMsg;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXRecordResult::get_videoPath": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXRecordResult::get_videoPath");
|
|
}
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.videoPath;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXRecordResult::get_coverImage": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXRecordResult::get_coverImage");
|
|
}
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIImage* result = ref.coverImage;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_coverImage": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_coverImage");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIImage* result = ref.coverImage;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_duration": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_duration");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.duration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_fileSize": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_fileSize");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
unsigned long long result = ref.fileSize;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_fps": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_fps");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
float result = ref.fps;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_bitrate": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_bitrate");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.bitrate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_audioSampleRate": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_audioSampleRate");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.audioSampleRate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_width": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_width");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.width;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_height": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_height");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.height;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXVideoInfo::get_angle": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXVideoInfo::get_angle");
|
|
}
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.angle;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPreviewParam::get_videoView": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPreviewParam::get_videoView");
|
|
}
|
|
|
|
// ref object
|
|
TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIView* result = ref.videoView;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPreviewParam::get_renderMode": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPreviewParam::get_renderMode");
|
|
}
|
|
|
|
// ref object
|
|
TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXPreviewRenderMode result = ref.renderMode;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXSubtitle::get_titleImage": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXSubtitle::get_titleImage");
|
|
}
|
|
|
|
// ref object
|
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIImage* result = ref.titleImage;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXSubtitle::get_frame": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXSubtitle::get_frame");
|
|
}
|
|
|
|
// ref object
|
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGRect result = ref.frame;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)];
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXSubtitle::get_startTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXSubtitle::get_startTime");
|
|
}
|
|
|
|
// ref object
|
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.startTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXSubtitle::get_endTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXSubtitle::get_endTime");
|
|
}
|
|
|
|
// ref object
|
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.endTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPaster::get_pasterImage": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPaster::get_pasterImage");
|
|
}
|
|
|
|
// ref object
|
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
UIImage* result = ref.pasterImage;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPaster::get_frame": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPaster::get_frame");
|
|
}
|
|
|
|
// ref object
|
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGRect result = ref.frame;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)];
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPaster::get_startTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPaster::get_startTime");
|
|
}
|
|
|
|
// ref object
|
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.startTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXPaster::get_endTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXPaster::get_endTime");
|
|
}
|
|
|
|
// ref object
|
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.endTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXAnimatedPaster::get_animatedPasterpath": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXAnimatedPaster::get_animatedPasterpath");
|
|
}
|
|
|
|
// ref object
|
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.animatedPasterpath;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXAnimatedPaster::get_frame": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXAnimatedPaster::get_frame");
|
|
}
|
|
|
|
// ref object
|
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGRect result = ref.frame;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)];
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXAnimatedPaster::get_rotateAngle": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXAnimatedPaster::get_rotateAngle");
|
|
}
|
|
|
|
// ref object
|
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.rotateAngle;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXAnimatedPaster::get_startTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXAnimatedPaster::get_startTime");
|
|
}
|
|
|
|
// ref object
|
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.startTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXAnimatedPaster::get_endTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXAnimatedPaster::get_endTime");
|
|
}
|
|
|
|
// ref object
|
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.endTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXRepeat::get_startTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXRepeat::get_startTime");
|
|
}
|
|
|
|
// ref object
|
|
TXRepeat* ref = (TXRepeat*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.startTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXRepeat::get_endTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXRepeat::get_endTime");
|
|
}
|
|
|
|
// ref object
|
|
TXRepeat* ref = (TXRepeat*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.endTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXRepeat::get_repeatTimes": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXRepeat::get_repeatTimes");
|
|
}
|
|
|
|
// ref object
|
|
TXRepeat* ref = (TXRepeat*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
int result = ref.repeatTimes;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXSpeed::get_startTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXSpeed::get_startTime");
|
|
}
|
|
|
|
// ref object
|
|
TXSpeed* ref = (TXSpeed*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.startTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXSpeed::get_endTime": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXSpeed::get_endTime");
|
|
}
|
|
|
|
// ref object
|
|
TXSpeed* ref = (TXSpeed*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
CGFloat result = ref.endTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXSpeed::get_speedLevel": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXSpeed::get_speedLevel");
|
|
}
|
|
|
|
// ref object
|
|
TXSpeed* ref = (TXSpeed*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXSpeedLevel result = ref.speedLevel;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXGenerateResult::get_retCode": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXGenerateResult::get_retCode");
|
|
}
|
|
|
|
// ref object
|
|
TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXGenerateResultCode result = ref.retCode;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXGenerateResult::get_descMsg": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXGenerateResult::get_descMsg");
|
|
}
|
|
|
|
// ref object
|
|
TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.descMsg;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXJoinerResult::get_retCode": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXJoinerResult::get_retCode");
|
|
}
|
|
|
|
// ref object
|
|
TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
TXJoinerResultCode result = ref.retCode;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXJoinerResult::get_descMsg": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
|
// print log
|
|
if (enableLog) {
|
|
NSLog(@"TXJoinerResult::get_descMsg");
|
|
}
|
|
|
|
// ref object
|
|
TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"];
|
|
|
|
// invoke native method
|
|
NSString* result = ref.descMsg;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
methodResult(__result__);
|
|
},
|
|
|
|
@"TXLivePush::get_config_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePush* ref = (TXLivePush*) args[@"__this__"];
|
|
|
|
TXLivePushConfig* result = ref.config;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePush::get_rtmpURL_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePush* ref = (TXLivePush*) args[@"__this__"];
|
|
|
|
NSString* result = ref.rtmpURL;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePush::get_frontCamera_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePush* ref = (TXLivePush*) args[@"__this__"];
|
|
|
|
BOOL result = ref.frontCamera;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_cacheTime_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
float result = ref.cacheTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_bAutoAdjustCacheTime_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.bAutoAdjustCacheTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_maxAutoAdjustCacheTime_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
float result = ref.maxAutoAdjustCacheTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_minAutoAdjustCacheTime_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
float result = ref.minAutoAdjustCacheTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_videoBlockThreshold_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoBlockThreshold;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_connectRetryCount_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
int result = ref.connectRetryCount;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_connectRetryInterval_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
int result = ref.connectRetryInterval;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_enableAEC_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableAEC;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_enableMessage_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableMessage;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_enableMetaData_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableMetaData;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_flvSessionKey_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
NSString* result = ref.flvSessionKey;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_enableNearestIP_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableNearestIP;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_rtmpChannelType_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
int result = ref.rtmpChannelType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_cacheFolderPath_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
NSString* result = ref.cacheFolderPath;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_maxCacheItems_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
int result = ref.maxCacheItems;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayConfig::get_headers_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"];
|
|
|
|
NSDictionary* result = ref.headers;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_enableVideoHWAcceleration_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableVideoHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_enableAudioHWAcceleration_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableAudioHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_homeOrientation_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
int result = ref.homeOrientation;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_renderMode_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
int result = ref.renderMode;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_videoFPS_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoFPS;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_videoBitrate_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoBitrate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_videoAspect_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoAspect;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_frontCamera_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.frontCamera;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_pauseFps_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
int result = ref.pauseFps;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_pauseImg_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
UIImage* result = ref.pauseImg;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomConfig::get_enablePureAudioPush_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enablePureAudioPush;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXVideoEditer::get_supportsTwoPassEncoding_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXVideoEditer* ref = (TXVideoEditer*) args[@"__this__"];
|
|
|
|
BOOL result = ref.supportsTwoPassEncoding;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomParam::get_roomID_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"];
|
|
|
|
UInt32 result = ref.roomID;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomParam::get_authBits_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"];
|
|
|
|
TXEAVRoomAuthBits result = ref.authBits;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXCAVRoomParam::get_authBuffer_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"];
|
|
|
|
NSData* result = ref.authBuffer;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXBitrateItem::get_index_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
NSInteger result = ref.index;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXBitrateItem::get_width_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
NSInteger result = ref.width;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXBitrateItem::get_height_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
NSInteger result = ref.height;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXBitrateItem::get_bitrate_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
|
|
|
NSInteger result = ref.bitrate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_appId_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
int result = ref.appId;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_fileId_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
NSString* result = ref.fileId;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_timeout_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
NSString* result = ref.timeout;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_exper_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
int result = ref.exper;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_us_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
NSString* result = ref.us;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_sign_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
NSString* result = ref.sign;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXPlayerAuthParams::get_https_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
|
|
|
BOOL result = ref.https;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_homeOrientation_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.homeOrientation;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_touchFocus_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.touchFocus;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableZoom_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableZoom;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_watermark_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
UIImage* result = ref.watermark;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_watermarkPos_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
CGPoint result = ref.watermarkPos;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGPoint)];
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_watermarkNormalization_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
CGRect result = ref.watermarkNormalization;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)];
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_localVideoMirrorType_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.localVideoMirrorType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_pauseTime_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.pauseTime;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_pauseFps_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.pauseFps;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_pauseImg_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
UIImage* result = ref.pauseImg;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoResolution_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoResolution;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoFPS_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoFPS;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoEncodeGop_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoEncodeGop;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoBitratePIN_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoBitratePIN;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAutoBitrate_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableAutoBitrate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_autoAdjustStrategy_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.autoAdjustStrategy;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoBitrateMax_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoBitrateMax;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_videoBitrateMin_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.videoBitrateMin;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_audioSampleRate_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.audioSampleRate;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_audioChannels_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.audioChannels;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAudioPreview_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableAudioPreview;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enablePureAudioPush_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enablePureAudioPush;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_connectRetryCount_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.connectRetryCount;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_connectRetryInterval_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.connectRetryInterval;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_customModeType_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.customModeType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_sampleBufferSize_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
CGSize result = ref.sampleBufferSize;
|
|
|
|
// 返回值: 结构体
|
|
NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGSize)];
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_autoSampleBufferSize_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.autoSampleBufferSize;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableNAS_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableNAS;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAEC_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableAEC;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableHWAcceleration_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAudioAcceleration_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableAudioAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableAGC_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableAGC;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_volumeType_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
TXSystemAudioVolumeType result = ref.volumeType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_frontCamera_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.frontCamera;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_beautyFilterDepth_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
float result = ref.beautyFilterDepth;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_whiteningFilterDepth_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
float result = ref.whiteningFilterDepth;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_enableNearestIP_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableNearestIP;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_rtmpChannelType_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
int result = ref.rtmpChannelType;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePushConfig::get_metaData_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
|
|
|
NSDictionary* result = ref.metaData;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayer::get_enableHWAcceleration_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
|
|
|
BOOL result = ref.enableHWAcceleration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayer::get_config_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
|
|
|
TXLivePlayConfig* result = ref.config;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXLivePlayer::get_isAutoPlay_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
|
|
|
BOOL result = ref.isAutoPlay;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXRecordResult::get_retCode_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
TXRecordResultCode result = ref.retCode;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXRecordResult::get_descMsg_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
NSString* result = ref.descMsg;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXRecordResult::get_videoPath_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
NSString* result = ref.videoPath;
|
|
|
|
// 返回值: jsonable
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXRecordResult::get_coverImage_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
|
|
|
UIImage* result = ref.coverImage;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXVideoInfo::get_coverImage_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
UIImage* result = ref.coverImage;
|
|
|
|
// return a ref
|
|
id __result__ = result;
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXVideoInfo::get_duration_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
CGFloat result = ref.duration;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
@"TXVideoInfo::get_fileSize_batch": ^(NSObject <FlutterPluginRegistrar>* registrar, id argsBatch, FlutterResult methodResult) {
|
|
NSMutableArray* resultList = [NSMutableArray array];
|
|
|
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
|
|
|
// ref object
|
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
|
|
|
unsigned long long result = ref.fileSize;
|
|
|
|
// 返回值: Value
|
|
NSObject* __result__ = @(result);
|
|
|
|
[resultList addObject:__result__];
|
|
}
|
|
|
|
methodResult(resultList);
|
|
},
|
|
|
|
};
|
|
}
|
|
|
|
@end
|