toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'contentProviderLibrary': contentProviderLibrary.value,

    'connectionUrl': connectionUrl,
    //'connectionSegments': connectionSegments.toMap(),

    'connectionNetworkProtocol': connectionNetworkProtocol,
    'connectionNetworkMode': connectionNetworkMode,
    'connectionDetectionTime': connectionDetectionTime,
    'connectionBufferingType': connectionBufferingType,
    'connectionBufferingTime': connectionBufferingTime,
    'connectionBufferingSize': connectionBufferingSize,
    'connectionTimeout': connectionTimeout,
    'seekTimeout': seekTimeout,
    'dataReceiveTimeout': dataReceiveTimeout,

    'enableInterruptOnClose': enableInterruptOnClose,
    'extraDataFilter': extraDataFilter,

    'decodingType': decodingType,
    'decodingAudioType': decodingAudioType,

    'extraDataOnStart': extraDataOnStart,
    'decoderLatency': decoderLatency,
    'rendererType': rendererType,
    'synchroEnable': synchroEnable,
    'synchroNeedDropVideoFrames': synchroNeedDropVideoFrames,
    'synchroNeedDropFramesOnFF': synchroNeedDropFramesOnFF,
    'videoRotate': videoRotate,
    'videoKeyframeOnly': videoKeyframeOnly,

    'enableColorVideo': enableColorVideo,

    'aspectRatioMode': aspectRatioMode,
    'aspectRatioZoomModePercent': aspectRatioZoomModePercent,
    'aspectRatioZoomModePercentMin': aspectRatioZoomModePercentMin,
    'aspectRatioZoomModePercentMax': aspectRatioZoomModePercentMax,
    'aspectRatioMoveModeX': aspectRatioMoveModeX,
    'aspectRatioMoveModeY': aspectRatioMoveModeY,

    'enableAudio': enableAudio,
    'colorBackground': colorBackground,

    'numberOfCPUCores': numberOfCPUCores,
    'bogoMIPS': bogoMIPS,
    'sslKey': sslKey,
    'extStream': extStream,

    'startOffset': startOffset,
    'startPreroll': startPreroll,
    'startPath': startPath,
    'startCookies': startCookies,
    'startHTTPHeaders': startHTTPHeaders,

    'ffRate': ffRate,

    'volumeDetectMaxSamples': volumeDetectMaxSamples,
    'volumeBoost': volumeBoost,

    'fadeOnStart': fadeOnStart,
    'fadeOnSeek': fadeOnSeek,
    'fadeOnRate': fadeOnRate,

    'recordPath': recordPath,
    'recordFlags': recordFlags,
    'recordFrameDuration': recordFrameDuration,
    'recordSplitTime': recordSplitTime,
    'recordSplitSize': recordSplitSize,
    'recordPrefix': recordPrefix,
    'recordTrimPosStart': recordTrimPosStart,
    'recordTrimPosEnd': recordTrimPosEnd,

    'selectAudio': selectAudio,
    'selectSubtitle': selectSubtitle,
    'subtitlePaths': subtitlePaths,
    'subtitleAsRawData': subtitleAsRawData,
    'subtitleEnableClosedCaptions': subtitleEnableClosedCaptions,
    'playerMode': playerMode,
    'enableABR': enableABR,

    'playbackSendPlayPauseToServer': playbackSendPlayPauseToServer,

    'sslPEMFilePath': sslPEMFilePath,
    'sslPEMBuffer': sslPEMBuffer,
    'sslTLSVersion': sslTLSVersion,
    'sslTLSCipherSiutes': sslTLSCipherSiutes,
    'sslSessionCacheSize': sslSessionCacheSize,

    'useNotchFilter': useNotchFilter,

    'fastDetect': fastDetect,
    'skipUntilKeyFrame': skipUntilKeyFrame,

    'sendKeepAlive': sendKeepAlive,

    'licenseKey': licenseKey,

    'latencyPreset': latencyPreset.value,

    'latencySpeedOver': latencySpeedOver,
    'latencySpeedOver1': latencySpeedOver1,
    'latencySpeedDown': latencySpeedDown,
    'latencyUpperMaxFrames': latencyUpperMaxFrames,
    'latencyUpperMaxFrames1': latencyUpperMaxFrames1,
    'latencyUpperNormalFrames': latencyUpperNormalFrames,
    'latencyLowerMinFrames': latencyLowerMinFrames,
    'latencyLowerNormalFrames': latencyLowerNormalFrames,

    'webrtcIceServers': webrtcIceServers,
    'webrtcTransceiverCaps': webrtcTransceiverCaps,
    'webrtcMakeOffer': webrtcMakeOffer,

    'rtspScale': rtspScale,

    'backwardAudio': backwardAudio,

    'timeshiftEnable': timeshiftEnable,
    'timeshiftSize': timeshiftSize,
    'timeshiftPrebufferingSize': timeshiftPrebufferingSize,
    'timeshiftDeleteOldSegments': timeshiftDeleteOldSegments,
    'timeshiftDeleteOnExit': timeshiftDeleteOnExit,
    'timeshiftOutputUrl': timeshiftOutputUrl,

    'advancedConnectionNetworkProtocolBufferSize': advancedConnectionNetworkProtocolBufferSize,
    'advancedConnectionNetworkProtocolPacketSize': advancedConnectionNetworkProtocolPacketSize,
    'advancedSourceAsyncGetPacket': advancedSourceAsyncGetPacket,
    'advancedSourceUseAsyncGetAddrInfo': advancedSourceUseAsyncGetAddrInfo,
    'advancedDecoderVideoHardwareReadyFrameQueueMin': advancedDecoderVideoHardwareReadyFrameQueueMin,
    'advancedDecoderVideoHardwareReadyFrameQueueMax': advancedDecoderVideoHardwareReadyFrameQueueMax,
    'advancedSourceOptionHttpReconnectOnHttpError': advancedSourceOptionHttpReconnectOnHttpError,

    'enableInternalGestureRecognizers': enableInternalGestureRecognizers,
    'stateWillResignActive': stateWillResignActive,
    'runDisplayLinkInMainQueue': runDisplayLinkInMainQueue,
    'enableInternalAutoresizeToSuperview': enableInternalAutoresizeToSuperview,
    'enableInternalAudioSessionConfigure': enableInternalAudioSessionConfigure,

    'internalAudioSessionMode': internalAudioSessionMode,
    'internalAudioSessionCategory': internalAudioSessionCategory,
    'internalAudioSessionCategoryOptions': internalAudioSessionCategoryOptions,
    'enableInternalAudioUnitVPIO': enableInternalAudioUnitVPIO,
    'internalAudioUnitAverageLevelCalculate': internalAudioUnitAverageLevelCalculate,
    'internalAudioUnitVPIOBypassVoiceProcessing': internalAudioUnitVPIOBypassVoiceProcessing,
    'internalAudioUnitVPIOVoiceProcessingEnableAGC': internalAudioUnitVPIOVoiceProcessingEnableAGC,
    'internalAudioUnitVPIOMuteOutput': internalAudioUnitVPIOMuteOutput,

    'internalBufferSourceVideoDecoderType': internalBufferSourceVideoDecoderType,
    'internalBufferSourceVideoDecoderSize': internalBufferSourceVideoDecoderSize,
    'internalBufferVideodecoderVideoRendererType': internalBufferVideodecoderVideoRendererType,
    'internalBufferVideodecoderVideoRendererSize': internalBufferVideodecoderVideoRendererSize,
    'internalBufferSourceAudioDecoderType': internalBufferSourceAudioDecoderType,
    'internalBufferSourceAudioDecoderSize': internalBufferSourceAudioDecoderSize,
    'internalBufferAudiodecoderAudioRendererType': internalBufferAudiodecoderAudioRendererType,
    'internalBufferAudiodecoderAudioRendererSize': internalBufferAudiodecoderAudioRendererSize,

    'workaroundFramePaddingZeroing': workaroundFramePaddingZeroing,
    'workaroundSourceStreamInfoFromExtradata': workaroundSourceStreamInfoFromExtradata,
    'workaroundAACAudioSpecificConfigGenerateFromStreamInfo': workaroundAACAudioSpecificConfigGenerateFromStreamInfo,
    'workaroundRemoveUnrecognizedNALUs': workaroundRemoveUnrecognizedNALUs,
  };
}