mediasoup_engine library
Classes
- AndroidAudioConfiguration
- AndroidNativeAudioManagement
- AppleAudioConfiguration
- AppleNativeAudioManagement
- AudioOutputOptions
- An object that configures what device(s) may be offered in the user prompt.
- CanProduceByKind
- CodecParameters
- ConsumeArguments
- Consumer
- ConsumerOptions
- DataConsumer
- DataConsumerOptions
- DataProducer
- DataProducerOptions
- DesktopCapturer
- DesktopCapturerSource
- Device
- DtlsFingerprint
- DtlsParameters
- ExtendedRtpCodec
- ExtendedRtpHeaderExtension
- FrameCryptor
- Frame encryption/decryption.
- FrameCryptorFactory
- Factory for creating frame Cryptors. For End 2 End Encryption, you need to create a KeyProvider for each peer. And set your key in keyProvider.
- Helper
- IceCandidate
- IceParameters
- KeyProvider
- Shared secret key for frame encryption.
- KeyProviderOptions
- MediaDeviceInfo
- This describe the media input and output devices, such as microphones, cameras, headsets, and so forth.
- MediaDevices
- MediaRecorder
- MediaStream
- https://w3c.github.io/mediacapture-main/#mediastream
- MediaStreamConstraints
- MediaStreamTrack
- MediaTrackSupportedConstraints
- MediaTrackSupportedConstraints represents the list of constraints controlling the capabilities of a MediaStreamTrack.
- NumSctpStreams
- PlainRtpParameters
- ProduceArguments
- Producer
- ProducerCodecOptions
- ProducerOptions
- RTCDataChannel
- RTCDataChannelInit
- RTCDataChannelMessage
- A class that represents a datachannel message. Can either contain binary data as a Uint8List or text data as a String.
- RTCDTMFSender
- RTCFactory
- RTCFactoryNative
- RTCHeaderExtension
- RTCIceCandidate
- RTCPeerConnection
- RtcpFeedback
- RtcpParameters
- Provides information on RTCP settings within the RTP parameters.
- RTCRTCPParameters
- RTCRtpCapabilities
- RTCRTPCodec
- RTCRtpCodecCapability
- RTCRtpEncoding
- RTCRtpHeaderExtensionCapability
- RTCRtpParameters
- RTCRtpReceiver
- RTCRtpSender
- RTCRtpTransceiver
- RTCRtpTransceiverInit
- RTCSessionDescription
- RTCTrackEvent
- RTCVideoRenderer
- RTCVideoValue
- RTCVideoView
- RtpCapabilities
- The RTP capabilities define what mediasoup or an endpoint can receive at media level.
- RtpCodecCapability
- RtpCodecParameters
- Provides information on codec settings within the RTP parameters. The list of media codecs supported by mediasoup and their settings is defined in the supportedRtpCapabilities.ts file.
- RtpEncodingParameters
- RtpHeaderExtension
- RtpHeaderExtensionParameters
- Defines a RTP header extension within the RTP parameters. The list of RTP header extensions supported by mediasoup is defined in the supportedRtpCapabilities.ts file.
- RtpParameters
- The RTP send parameters describe a media stream received by mediasoup from an endpoint through its corresponding mediasoup Producer. These parameters may include a mid value that the mediasoup transport will use to match received RTP packets based on their MID RTP extension value.
- RtxSsrc
- ScalabilityMode
- SctpCapabilities
- SctpParameters
- SctpStreamParameters
- SendDataChannelArguments
- StatsReport
- ThumbnailSize
- Transport
- VideoRenderer
- WebRTC
Enums
- AdapterType
- Algorithm
- Built-in Algorithm.
- AndroidAudioAttributesContentType
- AndroidAudioAttributesUsageType
- AndroidAudioFocusMode
- AndroidAudioMode
- AndroidAudioStreamType
- AppleAudioCategory
- AppleAudioCategoryOption
- AppleAudioIOMode
- AppleAudioMode
- Direction
- DtlsRole
- FrameCryptorState
- IceCandidateType
- MessageType
- RTCDataChannelMessage type
- Priority
- Protocol
- RecorderAudioChannel
- RTCDataChannelState
- RTCDegradationPreference
- RTCIceConnectionState
- RTCIceGatheringState
- RTCPeerConnectionState
- RTCRtpMediaType
- RTCSignalingState
- RTCVideoViewObjectFit
- RtpHeaderDirection
- Direction of RTP header extension.
- SourceType
- TcpType
- TransceiverDirection
Extensions
- AdapterTypeExt on AdapterType
- AndroidAudioAttributesContentTypeEnumEx on String
- AndroidAudioAttributesContentTypeExt on AndroidAudioAttributesContentType
- AndroidAudioAttributesUsageTypeEnumEx on String
- AndroidAudioAttributesUsageTypeExt on AndroidAudioAttributesUsageType
- AndroidAudioFocusModeEnumEx on String
- AndroidAudioFocusModeExt on AndroidAudioFocusMode
- AndroidAudioModeEnumEx on String
- AndroidAudioModeExt on AndroidAudioMode
- AndroidAudioStreamTypeEnumEx on String
- AndroidAudioStreamTypeExt on AndroidAudioStreamType
- AppleAudioCategoryEnumEx on String
- AppleAudioCategoryExt on AppleAudioCategory
- AppleAudioCategoryOptionEnumEx on String
- AppleAudioCategoryOptionExt on AppleAudioCategoryOption
- AppleAudioModeEnumEx on String
- AppleAudioModeExt on AppleAudioMode
- DirectionExtension on Direction
- DtlsRoleExtension on DtlsRole
- IceCandidateTypeExtension on IceCandidateType
- PriorityExtension on Priority
- ProtocolExtension on Protocol
- RTCRtpMediaTypeExtension on RTCRtpMediaType
- RtpHeaderDirectionExtension on RtpHeaderDirection
- TcpTypeExtension on TcpType
Properties
- desktopCapturer → DesktopCapturer
-
no setter
-
desktopSourceTypeToString
→ Map<
SourceType, String> -
final
- frameCryptorFactory → FrameCryptorFactory
-
no setter
- mediaDevices → MediaDevices
-
no setter
-
no setter
- scalabilityModeRegex ↔ RegExp
-
getter/setter pair
-
tringToDesktopSourceType
→ Map<
String, SourceType> -
final
-
typeRTCDegradationPreferenceString
→ Map<
RTCDegradationPreference, String> -
final
-
typeRTCRtpMediaTypetoString
→ Map<
RTCRtpMediaType, String> -
final
-
typeRtpTransceiverDirectionToString
→ Map<
TransceiverDirection, String> -
final
-
typeStringToRTCRtpMediaType
→ Map<
String, RTCRtpMediaType> -
final
-
typeStringToRtpTransceiverDirection
→ Map<
String, TransceiverDirection> -
final
Functions
-
createLocalMediaStream(
String label) → Future< MediaStream> -
createPeerConnection(
Map< String, dynamic> configuration, [Map<String, dynamic> constraints = const {}]) → Future<RTCPeerConnection> -
degradationPreferenceforString(
String? degradation) → RTCDegradationPreference -
getRtpReceiverCapabilities(
String kind) → Future< RTCRtpCapabilities> -
getRtpSenderCapabilities(
String kind) → Future< RTCRtpCapabilities> -
iceConnectionStateForString(
String? state) → RTCIceConnectionState -
iceGatheringStateforString(
String? state) → RTCIceGatheringState -
listToRtpEncodings(
List< Map< list) → List<String, dynamic> >RTCRtpEncoding> -
mediaRecorder(
) → MediaRecorder -
peerConnectionStateForString(
String? state) → RTCPeerConnectionState -
rtcDataChannelStateForString(
String state) → RTCDataChannelState -
signalingStateForString(
String? state) → RTCSignalingState
Typedefs
- ConsumerOnTrackEnded = void Function()
- StreamTrackCallback = dynamic Function()