Namespace Unity.WebRTC
Classes
AsyncOperationBase
AudioSourceExtension
AudioStreamTrack
Represents a single audio track within a stream.
CameraExtension
Provides extension methods for Camera objects to facilitate video streaming functionalities.
CopyTextureHelper
MediaStream
Represents a stream of media content.
MediaStreamTrack
Represents a single media track within a stream.
MediaStreamTrackEvent
RTCAudioPlayoutStats
RTCAudioSourceStats
RTCCertificateStats
RTCCodecStats
RTCDataChannel
Creates a new RTCDataChannel for peer-to-peer data exchange, using the specified label and options.
RTCDataChannelInit
Provides configuration options for the data channel.
RTCDataChannelStats
RTCEncodedAudioFrame
RTCEncodedFrame
RTCEncodedVideoFrame
RTCEncodedVideoFrameMetadata
RTCErrorException
This exception class contains properties which determines a error type occurred while handling WebRTC operations.
RTCIceCandidate
RTCIceCandidateInit
RTCIceCandidatePairStats
RTCIceCandidateStats
RTCInboundRTPStreamStats
RTCMediaSourceStats
RTCOutboundRTPStreamStats
RTCPeerConnection
Represents a WebRTC connection between the local peer and remote peer.
RTCPeerConnectionStats
RTCRTPStreamStats
RTCReceivedRtpStreamStats
RTCRemoteInboundRtpStreamStats
RTCRemoteOutboundRtpStreamStats
RTCRtcpParameters
RTCRtpCapabilities
RTCRtpCodecCapability
RTCRtpCodecParameters
RTCRtpContributingSource
RTCRtpEncodingParameters
Represents the parameters for a codec used to encode the track's media.
RTCRtpHeaderExtensionCapability
RTCRtpHeaderExtensionParameters
RTCRtpParameters
RTCRtpReceiver
RTCRtpScriptTransform
RTCRtpSendParameters
RTCRtpSender
RTCRtpTransceiver
Describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver.
RTCRtpTransceiverInit
RTCRtpTransform
RTCSentRtpStreamStats
RTCSessionDescriptionAsyncOperation
RTCSetSessionDescriptionAsyncOperation
RTCStats
RTCStatsReport
RTCStatsReportAsyncOperation
RTCTrackEvent
RTCTransformEvent
RTCTransportStats
RTCVideoSourceStats
RefCountedObject
StringValueAttribute
VideoStreamTrack
Represents a single video track within a stream
WebRTC
Provides utilities and management functions for integrating WebRTC functionality.
Structs
RTCConfiguration
Provides options to configure the new connection.
RTCError
RTCIceServer
Represents a configuration for an ICE server used within WebRTC connections.
RTCOfferAnswerOptions
RTCSessionDescription
The RTCSessionDescription interface represents the setup of one side of a connection or a proposed connection. It contains a description type that identifies the negotiation stage it pertains to, along with the session's SDP (Session Description Protocol) details.
Enums
NativeLoggingSeverity
RTCBundlePolicy
Please check the bundlePolicy in the RTCConfiguration class.
RTCDataChannelState
Please check the ReadyState in the RTCDataChannel class.
RTCEncodedVideoFrameType
RTCErrorDetailType
RTCErrorType
RTCIceCandidateType
RTCIceComponent
Enumerated type to specify a ICE component.
RTCIceConnectionState
RTCIceCredentialType
Please check the credentialType in the RTCIceServer struct.
RTCIceGatheringState
RTCIceProtocol
RTCIceTcpCandidateType
RTCIceTransportPolicy
Please check the iceTransportPolicy in the RTCConfiguration class.
RTCPeerConnectionEventType
RTCPeerConnectionState
RTCRtpTransceiverDirection
RTCSdpType
RTCSignalingState
RTCStatsType
RenderTextureDepth
TrackKind
TrackState
Delegates
AudioReadEventHandler
Delegate to be called when new audio data is received.
CopyTexture
DelegateOnAddTrack
DelegateOnClose
Represents the method that will be invoked when the data channel has been closed and is no longer available for communication.
DelegateOnConnectionStateChange
Delegate to be called after a new track has been added to an RTCRtpReceiver which is part of the connection.
DelegateOnDataChannel
Represents the method that will be invoked when a new data channel is added to the RTCPeerConnection.
DelegateOnError
Represents the method that will be invoked when an error occurs on the data channel.
DelegateOnIceCandidate
Delegate to be called when a new RTCIceCandidate is identified and added to the local peer, when all candidates for a specific generation are identified and added, and when the ICE gathering on all transports is complete.
DelegateOnIceConnectionChange
Delegate to be called when the ICE connection state is changed.
DelegateOnIceGatheringStateChange
Delegate to be called when the state of the ICE candidate gathering process changes.
DelegateOnMessage
Represents the method that will be invoked when a message is received from the remote peer over the data channel.
DelegateOnNegotiationNeeded
Delegate to be called when negotiation of the connection through the signaling channel is required.
DelegateOnOpen
Represents the method that will be invoked when the data channel is successfully opened and ready for communication.
DelegateOnRemoveTrack
DelegateOnTrack
Delegate to be called after a new track has been added to an RTCRtpReceiver which is part of the connection.
OnVideoReceived
Delegate to be called when the first frame of the video is received.