Versions in this module Expand all Collapse all v1 v1.0.0 Jul 4, 2018 Changes in this version + type RTCPeerConnection struct + LocalDescription *sdp.SessionDescription + OnICEConnectionStateChange func(iceConnectionState ice.ConnectionState) + Ontrack func(mediaType TrackType, buffers <-chan *rtp.Packet) + func (r *RTCPeerConnection) AddTrack(mediaType TrackType, clockRate uint32) (samples chan<- RTCSample, err error) + func (r *RTCPeerConnection) Close() error + func (r *RTCPeerConnection) CreateOffer() error + func (r *RTCPeerConnection) SetRemoteDescription(rawSessionDescription string) error + type RTCSample struct + Data []byte + Samples uint32 + type TrackType int + const Opus + const VP8 + const VP9 + func (t TrackType) String() string