docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.WebRTC

    Classes

    AsyncOperationBase

    AudioSourceExtension

    Provides extension methods for the AudioSource class to facilitate integration with AudioStreamTrack.

    AudioStreamTrack

    Represents a single audio track within a stream.

    CameraExtension

    Provides extension methods for Camera objects to facilitate video streaming functionalities.

    MediaStream

    Represents a stream of media content.

    MediaStreamTrack

    Represents a single media track within a stream.

    MediaStreamTrackEvent

    Represents an event triggered when a media stream track is added or removed.

    RTCAudioPlayoutStats

    Reports audio playout statistics.

    RTCAudioSourceStats

    Audio source-specific statistics.

    RTCCertificateStats

    Contains certificate-related statistics for a peer connection.

    RTCCodecStats

    Provides codec-specific statistics for RTP streams.

    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

    Reports statistics for a data channel.

    RTCEncodedAudioFrame

    Encoded audio frame for RTP transform.

    RTCEncodedFrame

    Represents an encoded RTP frame.

    RTCEncodedVideoFrame

    Encoded video frame for RTP transform.

    RTCEncodedVideoFrameMetadata

    Metadata for an encoded video frame.

    RTCErrorException

    This exception class contains properties which determines a error type occurred while handling WebRTC operations.

    RTCIceCandidate

    Represents an ICE candidate used for network connectivity checks.

    RTCIceCandidateInit

    Initialization options for creating an ICE candidate.

    RTCIceCandidatePairStats

    Details statistics for a pair of ICE candidates.

    RTCIceCandidateStats

    Contains statistics for a single ICE candidate.

    RTCInboundRTPStreamStats

    Reports inbound RTP stream statistics.

    RTCMediaSourceStats

    Base class for media source statistics.

    RTCOutboundRTPStreamStats

    Reports outbound RTP stream statistics.

    RTCPeerConnection

    Represents a WebRTC connection between the local peer and remote peer.

    RTCPeerConnectionStats

    Provides statistics for the peer connection itself.

    RTCRTPStreamStats

    Base class for RTP stream statistics.

    RTCReceivedRtpStreamStats

    Statistics for received RTP streams.

    RTCRemoteInboundRtpStreamStats

    Statistics for remote inbound RTP streams.

    RTCRemoteOutboundRtpStreamStats

    Statistics for remote outbound RTP streams.

    RTCRtcpParameters

    RTCRtpCapabilities

    RTCRtpCodecCapability

    RTCRtpCodecParameters

    RTCRtpContributingSource

    Represents a contributing source for RTP streams.

    RTCRtpEncodingParameters

    Represents the parameters for a codec used to encode the track's media.

    RTCRtpHeaderExtensionCapability

    RTCRtpHeaderExtensionParameters

    RTCRtpParameters

    RTCRtpReceiver

    Represents a receiver for RTP streams.

    RTCRtpScriptTransform

    Script-based RTP transform for encoded frames.

    RTCRtpSendParameters

    RTCRtpSender

    Provides the ability to control and access to details on encoding and sending a MediaStreamTrack to a remote peer.

    RTCRtpTransceiver

    Describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver.

    RTCRtpTransceiverInit

    RTCRtpTransform

    RTP transform for encoded frames.

    RTCSentRtpStreamStats

    Statistics for sent RTP streams.

    RTCSessionDescriptionAsyncOperation

    RTCSetSessionDescriptionAsyncOperation

    RTCStats

    Base class for all RTC statistics objects.

    RTCStatsReport

    Represents a report containing multiple RTCStats objects.

    RTCStatsReportAsyncOperation

    RTCTrackEvent

    Represents an event triggered when a track is added to a peer connection.

    RTCTransformEvent

    Event for transformed RTP frames.

    RTCTransportStats

    Provides transport-level statistics for a connection.

    RTCVideoSourceStats

    Video source-specific statistics.

    RefCountedObject

    Base class for objects managed with reference and disposal.

    StringValueAttribute

    Associates a string value with an enum field for RTCStatsType.

    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

    Represents an error returned from a WebRTC operation.

    RTCIceServer

    Represents the configuration for an ICE server used within WebRTC connections.

    RTCOfferAnswerOptions

    Options for creating an offer or answer.

    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

    Represents the severity level for native logging output.

    RTCBundlePolicy

    Please check the bundlePolicy in the RTCConfiguration class.

    RTCDataChannelState

    Please check the ReadyState in the RTCDataChannel class.

    RTCEncodedVideoFrameType

    Types of encoded video frames.

    RTCErrorDetailType

    Indicates a specific error detail encountered during WebRTC operations.

    RTCErrorType

    Represents the type of error returned from a WebRTC operation.

    RTCIceCandidateType

    Specifies the type of ICE candidate.

    RTCIceComponent

    Enumerated type to specify a ICE component.

    RTCIceConnectionState

    Represents the ICE connection state for a peer connection.

    RTCIceCredentialType

    Please check the credentialType in the RTCIceServer struct.

    RTCIceGatheringState

    Represents the ICE gathering state for a peer connection.

    RTCIceProtocol

    Indicates the transport protocol used by the ICE candidate.

    RTCIceTcpCandidateType

    Describes the TCP type for ICE candidates.

    RTCIceTransportPolicy

    Please check the iceTransportPolicy in the RTCConfiguration class.

    RTCPeerConnectionEventType

    Represents the type of event for a peer connection.

    RTCPeerConnectionState

    Represents the state of a peer connection.

    RTCRtpTransceiverDirection

    RTCSdpType

    Represents the type of SDP message.

    RTCSignalingState

    Represents the signaling state for a peer connection.

    RTCStatsType

    Identifies the type of RTC statistics object.

    RenderTextureDepth

    Specifies the bit depth for a render texture's depth buffer.

    TrackKind

    Specifies the type of media for a track.

    TrackState

    Indicates the current state of a media track.

    Delegates

    AudioReadEventHandler

    Delegate to be called when new audio data is received.

    CopyTexture

    Delegate to be called to copy texture.

    DelegateOnAddTrack

    Delegate invoked when a MediaStreamTrack is added to the MediaStream.

    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

    Delegate invoked when a MediaStreamTrack is removed from the MediaStream.

    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.

    TransformedFrameCallback

    Callback for transformed RTP frames.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)