Documentation
¶
Overview ¶
Package webrtc validates captured SDP and ICE media identities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeAnswer ¶
NormalizeAnswer applies the observed recvonly/sendrecv workaround by MID, never by media kind. Other attributes, including vendor extensions, survive.
func ParseSDP ¶
func ParseSDP(raw string) (*sdp.SessionDescription, error)
ParseSDP validates the media identities used to route trickled ICE. It does not certify codec interoperability or replace a peer connection's SDP validation.
func ValidateICE ¶
func ValidateICE(description *sdp.SessionDescription, mid string, index int) error
ValidateICE checks that the candidate's optional MID and index refer to the same media section. Candidate grammar remains the peer implementation's job.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.