Documentation ¶
Index ¶
- Constants
- Variables
- func AddCandidate(address, network string)
- func Dial(rawURL string) (*websocket.Conn, *http.Response, error)
- func ExchangeSDP(stream *streams.Stream, offer, desc, userAgent string) (answer string, err error)
- func GetCandidates() (candidates []string)
- func Init()
- func IsConsumer(conn *webrtc.Conn) bool
- type Address
Constants ¶
View Source
const MimeSDP = "application/sdp"
Variables ¶
View Source
var PeerConnection func(active bool) (*pion.PeerConnection, error)
Functions ¶
func AddCandidate ¶
func AddCandidate(address, network string)
func ExchangeSDP ¶
func GetCandidates ¶
func GetCandidates() (candidates []string)
func IsConsumer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.