sdp

package
v2.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const PingWindowDuration = 500 * time.Millisecond

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer string

func AnswerFromJSON

func AnswerFromJSON(data []byte) (Answer, error)

func (Answer) MarshalJSON

func (s Answer) MarshalJSON() ([]byte, error)

func (Answer) WebRTCSessionDescription

func (s Answer) WebRTCSessionDescription() (webrtc.SessionDescription, error)

type Offer

type Offer string

func OfferFromJSON

func OfferFromJSON(data []byte) (Offer, error)

func (Offer) MarshalJSON

func (o Offer) MarshalJSON() ([]byte, error)

func (Offer) WebRTCSessionDescription

func (s Offer) WebRTCSessionDescription() (webrtc.SessionDescription, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL