toMap method
转成map
Implementation
Map<String,dynamic> toMap() {
return <String,dynamic>{
"timeoutIntervalForMediaPackets": timeoutIntervalForMediaPackets,
"maxL1BufferDuration": maxL1BufferDuration,
"maxL2BufferDuration": maxL2BufferDuration,
"videoToolbox": videoToolbox,
"cacheBufferDurationSpeedAdjust": cacheBufferDurationSpeedAdjust,
"loggerLevel": loggerLevel,
"dnsManager": dnsManager,
"videoCacheFolderPath": videoCacheFolderPath,
"videoFileNameEncode": videoFileNameEncode,
"playFormat": playFormat?.intValue,
"videoCacheExtensionName": videoCacheExtensionName,
"sdkId": sdkId,
"headUserAgent": headUserAgent,
"videoOutputFormat": videoOutputFormat,
};
}