SYMBOL INDEX (2683 symbols across 247 files) FILE: api.go type API (line 18) | type API struct function NewAPI (line 30) | func NewAPI(options ...func(*API)) *API { function WithMediaEngine (line 70) | func WithMediaEngine(m *MediaEngine) func(a *API) { function WithSettingEngine (line 81) | func WithSettingEngine(s SettingEngine) func(a *API) { function WithInterceptorRegistry (line 89) | func WithInterceptorRegistry(ir *interceptor.Registry) func(a *API) { FILE: api_js.go type API (line 10) | type API struct function NewAPI (line 15) | func NewAPI(options ...func(*API)) *API { function WithSettingEngine (line 31) | func WithSettingEngine(s SettingEngine) func(a *API) { FILE: api_test.go function TestNewAPI (line 14) | func TestNewAPI(t *testing.T) { function TestNewAPI_Options (line 21) | func TestNewAPI_Options(t *testing.T) { function TestNewAPI_OptionsDefaultize (line 34) | func TestNewAPI_OptionsDefaultize(t *testing.T) { FILE: bundlepolicy.go type BundlePolicy (line 14) | type BundlePolicy method String (line 57) | func (t BundlePolicy) String() string { method UnmarshalJSON (line 71) | func (t *BundlePolicy) UnmarshalJSON(b []byte) error { method MarshalJSON (line 83) | func (t BundlePolicy) MarshalJSON() ([]byte, error) { constant BundlePolicyUnknown (line 18) | BundlePolicyUnknown BundlePolicy = iota constant BundlePolicyBalanced (line 24) | BundlePolicyBalanced constant BundlePolicyMaxCompat (line 29) | BundlePolicyMaxCompat constant BundlePolicyMaxBundle (line 34) | BundlePolicyMaxBundle constant bundlePolicyBalancedStr (line 39) | bundlePolicyBalancedStr = "balanced" constant bundlePolicyMaxCompatStr (line 40) | bundlePolicyMaxCompatStr = "max-compat" constant bundlePolicyMaxBundleStr (line 41) | bundlePolicyMaxBundleStr = "max-bundle" function newBundlePolicy (line 44) | func newBundlePolicy(raw string) BundlePolicy { FILE: bundlepolicy_test.go function TestNewBundlePolicy (line 12) | func TestNewBundlePolicy(t *testing.T) { function TestBundlePolicy_String (line 32) | func TestBundlePolicy_String(t *testing.T) { FILE: certificate.go type Certificate (line 25) | type Certificate struct method Equals (line 71) | func (c Certificate) Equals(cert Certificate) bool { method Expires (line 99) | func (c Certificate) Expires() time.Time { method GetFingerprints (line 109) | func (c Certificate) GetFingerprints() ([]DTLSFingerprint, error) { method collectStats (line 164) | func (c Certificate) collectStats(report *statsReportCollector) error { method PEM (line 244) | func (c Certificate) PEM() (string, error) { function NewCertificate (line 35) | func NewCertificate(key crypto.PrivateKey, tpl x509.Certificate) (*Certi... function GenerateCertificate (line 136) | func GenerateCertificate(secretKey crypto.PrivateKey) (*Certificate, err... function CertificateFromX509 (line 160) | func CertificateFromX509(privateKey crypto.PrivateKey, certificate *x509... function CertificateFromPEM (line 191) | func CertificateFromPEM(pems string) (*Certificate, error) { //nolint: c... FILE: certificate_js_test.go function TestGenerateCertificateRSA (line 23) | func TestGenerateCertificateRSA(t *testing.T) { function TestGenerateCertificateECDSA (line 44) | func TestGenerateCertificateECDSA(t *testing.T) { function TestGenerateCertificateEqual (line 68) | func TestGenerateCertificateEqual(t *testing.T) { function TestGenerateCertificateExpires (line 92) | func TestGenerateCertificateExpires(t *testing.T) { function TestPEM (line 107) | func TestPEM(t *testing.T) { constant certHeader (line 123) | certHeader = `!! This is a test certificate: Don't use it in production !! constant certPriv (line 131) | certPriv = `-----BEGIN PRIVATE KEY----- constant certCert (line 138) | certCert = `-----BEGIN CERTIFICATE----- function TestOpensslCert (line 152) | func TestOpensslCert(t *testing.T) { function TestEmpty (line 158) | func TestEmpty(t *testing.T) { function TestMultiCert (line 164) | func TestMultiCert(t *testing.T) { function TestMultiPriv (line 170) | func TestMultiPriv(t *testing.T) { FILE: certificate_test.go function TestGenerateCertificateRSA (line 22) | func TestGenerateCertificateRSA(t *testing.T) { function TestGenerateCertificateECDSA (line 43) | func TestGenerateCertificateECDSA(t *testing.T) { function TestGenerateCertificateEqual (line 67) | func TestGenerateCertificateEqual(t *testing.T) { function TestGenerateCertificateExpires (line 91) | func TestGenerateCertificateExpires(t *testing.T) { function TestPEM (line 106) | func TestPEM(t *testing.T) { constant certHeader (line 122) | certHeader = `!! This is a test certificate: Don't use it in production !! constant certPriv (line 130) | certPriv = `-----BEGIN PRIVATE KEY----- constant certCert (line 137) | certCert = `-----BEGIN CERTIFICATE----- function TestOpensslCert (line 151) | func TestOpensslCert(t *testing.T) { function TestEmpty (line 157) | func TestEmpty(t *testing.T) { function TestMultiCert (line 163) | func TestMultiCert(t *testing.T) { function TestMultiPriv (line 169) | func TestMultiPriv(t *testing.T) { FILE: configuration.go type Configuration (line 13) | type Configuration struct FILE: configuration_common.go method getICEServers (line 11) | func (c Configuration) getICEServers() []ICEServer { FILE: configuration_js.go type Configuration (line 12) | type Configuration struct FILE: configuration_test.go function TestConfiguration_getICEServers (line 13) | func TestConfiguration_getICEServers(t *testing.T) { function TestConfigurationJSON (line 45) | func TestConfigurationJSON(t *testing.T) { FILE: constants.go constant receiveMTU (line 15) | receiveMTU = 1500 constant simulcastProbeCount (line 20) | simulcastProbeCount = 10 constant simulcastMaxProbeRoutines (line 24) | simulcastMaxProbeRoutines = 25 constant defaultMaxSCTPMessageSize (line 28) | defaultMaxSCTPMessageSize = 1073741823 constant sctpMaxMessageSizeUnsetValue (line 33) | sctpMaxMessageSizeUnsetValue = math.MaxUint16 constant mediaSectionApplication (line 35) | mediaSectionApplication = "application" constant sdpAttributeRid (line 37) | sdpAttributeRid = "rid" constant sdpAttributeSimulcast (line 39) | sdpAttributeSimulcast = "simulcast" constant outboundMTU (line 41) | outboundMTU = 1200 constant rtpPayloadTypeBitmask (line 43) | rtpPayloadTypeBitmask = 0x7F constant incomingUnhandledRTPSsrc (line 45) | incomingUnhandledRTPSsrc = "Incoming unhandled RTP ssrc(%d), OnTrack wil... constant useReadSimulcast (line 47) | useReadSimulcast = "Use ReadSimulcast(rid) instead of Read() when multip... constant generatedCertificateOrigin (line 49) | generatedCertificateOrigin = "WebRTC" constant AttributeRtxPayloadType (line 53) | AttributeRtxPayloadType = "rtx_payload_type" constant AttributeRtxSsrc (line 56) | AttributeRtxSsrc = "rtx_ssrc" constant AttributeRtxSequenceNumber (line 59) | AttributeRtxSequenceNumber = "rtx_sequence_number" function defaultSrtpProtectionProfiles (line 62) | func defaultSrtpProtectionProfiles() []dtls.SRTPProtectionProfile { FILE: datachannel.go type DataChannel (line 26) | type DataChannel struct method open (line 117) | func (d *DataChannel) open(sctpTransport *SCTPTransport) error { //nol... method Transport (line 197) | func (d *DataChannel) Transport() *SCTPTransport { method checkDetachAfterOpen (line 206) | func (d *DataChannel) checkDetachAfterOpen() { method OnOpen (line 217) | func (d *DataChannel) OnOpen(f func()) { method onOpen (line 232) | func (d *DataChannel) onOpen() { method OnDial (line 252) | func (d *DataChannel) OnDial(f func()) { method onDial (line 264) | func (d *DataChannel) onDial() { method OnClose (line 285) | func (d *DataChannel) OnClose(f func()) { method onClose (line 291) | func (d *DataChannel) onClose() { method OnMessage (line 307) | func (d *DataChannel) OnMessage(f func(msg DataChannelMessage)) { method onMessage (line 313) | func (d *DataChannel) onMessage(msg DataChannelMessage) { method handleOpen (line 329) | func (d *DataChannel) handleOpen(dc *datachannel.DataChannel, isRemote... method OnError (line 376) | func (d *DataChannel) OnError(f func(err error)) { method onError (line 382) | func (d *DataChannel) onError(err error) { method readLoop (line 397) | func (d *DataChannel) readLoop() { method Send (line 439) | func (d *DataChannel) Send(data []byte) error { method SendText (line 451) | func (d *DataChannel) SendText(s string) error { method ensureOpen (line 462) | func (d *DataChannel) ensureOpen() error { method Detach (line 483) | func (d *DataChannel) Detach() (datachannel.ReadWriteCloser, error) { method DetachWithDeadline (line 489) | func (d *DataChannel) DetachWithDeadline() (datachannel.ReadWriteClose... method Close (line 532) | func (d *DataChannel) Close() error { method GracefulClose (line 540) | func (d *DataChannel) GracefulClose() error { method close (line 550) | func (d *DataChannel) close(shouldGracefullyClose bool) error { method Label (line 577) | func (d *DataChannel) Label() string { method Ordered (line 586) | func (d *DataChannel) Ordered() bool { method MaxPacketLifeTime (line 595) | func (d *DataChannel) MaxPacketLifeTime() *uint16 { method MaxRetransmits (line 604) | func (d *DataChannel) MaxRetransmits() *uint16 { method Protocol (line 613) | func (d *DataChannel) Protocol() string { method Negotiated (line 622) | func (d *DataChannel) Negotiated() bool { method ID (line 635) | func (d *DataChannel) ID() *uint16 { method ReadyState (line 643) | func (d *DataChannel) ReadyState() DataChannelState { method BufferedAmount (line 661) | func (d *DataChannel) BufferedAmount() uint64 { method BufferedAmountLowThreshold (line 678) | func (d *DataChannel) BufferedAmountLowThreshold() uint64 { method SetBufferedAmountLowThreshold (line 691) | func (d *DataChannel) SetBufferedAmountLowThreshold(th uint64) { method OnBufferedAmountLow (line 705) | func (d *DataChannel) OnBufferedAmountLow(f func()) { method makeBufferedAmountLowHandler (line 717) | func (d *DataChannel) makeBufferedAmountLowHandler(f func()) func() { method getStatsID (line 729) | func (d *DataChannel) getStatsID() string { method collectStats (line 736) | func (d *DataChannel) collectStats(collector *statsReportCollector) { method setReadyState (line 766) | func (d *DataChannel) setReadyState(r DataChannelState) { method NewDataChannel (line 71) | func (api *API) NewDataChannel(transport *SCTPTransport, params *DataCha... method newDataChannel (line 87) | func (api *API) newDataChannel( FILE: datachannel_go_test.go function TestDataChannel_EventHandlers (line 27) | func TestDataChannel_EventHandlers(t *testing.T) { function TestDataChannel_MessagesAreOrdered (line 67) | func TestDataChannel_MessagesAreOrdered(t *testing.T) { function TestDataChannelParamters_Go (line 123) | func TestDataChannelParamters_Go(t *testing.T) { function TestDataChannelBufferedAmount (line 179) | func TestDataChannelBufferedAmount(t *testing.T) { //nolint:cyclop function TestEOF (line 338) | func TestEOF(t *testing.T) { //nolint:cyclop function TestDataChannel_NonStandardSessionDescription (line 513) | func TestDataChannel_NonStandardSessionDescription(t *testing.T) { function TestDataChannel_Dial (line 567) | func TestDataChannel_Dial(t *testing.T) { function TestDetachRemovesDatachannelReference (line 634) | func TestDetachRemovesDatachannelReference(t *testing.T) { function TestDataChannelClose (line 677) | func TestDataChannelClose(t *testing.T) { function TestDataChannel_DetachErrors (line 754) | func TestDataChannel_DetachErrors(t *testing.T) { function TestDataChannelMessageSize (line 781) | func TestDataChannelMessageSize(t *testing.T) { function TestOnBufferedAmountLowDeadlock (line 816) | func TestOnBufferedAmountLowDeadlock(t *testing.T) { function TestOnBufferedAmountLowRespectsReadyState (line 858) | func TestOnBufferedAmountLowRespectsReadyState(t *testing.T) { FILE: datachannel_js.go constant dataChannelBufferSize (line 17) | dataChannelBufferSize = 16384 type DataChannel (line 22) | type DataChannel struct method JSValue (line 40) | func (d *DataChannel) JSValue() js.Value { method OnOpen (line 46) | func (d *DataChannel) OnOpen(f func()) { method OnClose (line 61) | func (d *DataChannel) OnClose(f func()) { method OnClosing (line 76) | func (d *DataChannel) OnClosing(f func()) { method OnError (line 89) | func (d *DataChannel) OnError(f func(err error)) { method OnMessage (line 109) | func (d *DataChannel) OnMessage(f func(msg DataChannelMessage)) { method Send (line 131) | func (d *DataChannel) Send(data []byte) (err error) { method SendText (line 144) | func (d *DataChannel) SendText(s string) (err error) { method Detach (line 162) | func (d *DataChannel) Detach() (datachannel.ReadWriteCloser, error) { method Close (line 173) | func (d *DataChannel) Close() (err error) { method Label (line 208) | func (d *DataChannel) Label() string { method Ordered (line 214) | func (d *DataChannel) Ordered() bool { method MaxPacketLifeTime (line 224) | func (d *DataChannel) MaxPacketLifeTime() *uint16 { method MaxRetransmits (line 236) | func (d *DataChannel) MaxRetransmits() *uint16 { method Protocol (line 242) | func (d *DataChannel) Protocol() string { method Negotiated (line 248) | func (d *DataChannel) Negotiated() bool { method ID (line 257) | func (d *DataChannel) ID() *uint16 { method ReadyState (line 262) | func (d *DataChannel) ReadyState() DataChannelState { method BufferedAmount (line 276) | func (d *DataChannel) BufferedAmount() uint64 { method BufferedAmountLowThreshold (line 285) | func (d *DataChannel) BufferedAmountLowThreshold() uint64 { method SetBufferedAmountLowThreshold (line 291) | func (d *DataChannel) SetBufferedAmountLowThreshold(th uint64) { method OnBufferedAmountLow (line 298) | func (d *DataChannel) OnBufferedAmountLow(f func()) { function valueToDataChannelMessage (line 318) | func valueToDataChannelMessage(val js.Value) DataChannelMessage { FILE: datachannel_js_detach.go type detachedDataChannel (line 13) | type detachedDataChannel struct method Read (line 38) | func (c *detachedDataChannel) Read(p []byte) (int, error) { method ReadDataChannel (line 43) | func (c *detachedDataChannel) ReadDataChannel(p []byte) (int, bool, er... method Write (line 56) | func (c *detachedDataChannel) Write(p []byte) (n int, err error) { method WriteDataChannel (line 60) | func (c *detachedDataChannel) WriteDataChannel(p []byte, isString bool... method Close (line 71) | func (c *detachedDataChannel) Close() error { function newDetachedDataChannel (line 20) | func newDetachedDataChannel(dc *DataChannel) *detachedDataChannel { FILE: datachannel_test.go constant expectedLabel (line 21) | expectedLabel = "data" function closePairNow (line 23) | func closePairNow(tb testing.TB, pc1, pc2 io.Closer) { function closePair (line 40) | func closePair(t *testing.T, pc1, pc2 io.Closer, done <-chan bool) { function setUpDataChannelParametersTest (line 51) | func setUpDataChannelParametersTest( function closeReliabilityParamTest (line 67) | func closeReliabilityParamTest(t *testing.T, pc1, pc2 *PeerConnection, d... function BenchmarkDataChannelSend2 (line 76) | func BenchmarkDataChannelSend2(b *testing.B) { benchmarkDataChannelSend... function BenchmarkDataChannelSend4 (line 77) | func BenchmarkDataChannelSend4(b *testing.B) { benchmarkDataChannelSend... function BenchmarkDataChannelSend8 (line 78) | func BenchmarkDataChannelSend8(b *testing.B) { benchmarkDataChannelSend... function BenchmarkDataChannelSend16 (line 79) | func BenchmarkDataChannelSend16(b *testing.B) { benchmarkDataChannelSend... function BenchmarkDataChannelSend32 (line 80) | func BenchmarkDataChannelSend32(b *testing.B) { benchmarkDataChannelSend... function benchmarkDataChannelSend (line 83) | func benchmarkDataChannelSend(b *testing.B, numChannels int) { function TestDataChannel_Open (line 124) | func TestDataChannel_Open(t *testing.T) { function TestDataChannel_Send (line 220) | func TestDataChannel_Send(t *testing.T) { //nolint:cyclop function TestDataChannel_Close (line 312) | func TestDataChannel_Close(t *testing.T) { function TestDataChannelParameters (line 339) | func TestDataChannelParameters(t *testing.T) { //nolint:cyclop FILE: datachannelinit.go type DataChannelInit (line 8) | type DataChannelInit struct FILE: datachannelmessage.go type DataChannelMessage (line 10) | type DataChannelMessage struct FILE: datachannelparameters.go type DataChannelParameters (line 7) | type DataChannelParameters struct FILE: datachannelstate.go type DataChannelState (line 7) | type DataChannelState method String (line 54) | func (t DataChannelState) String() string { method MarshalText (line 70) | func (t DataChannelState) MarshalText() ([]byte, error) { method UnmarshalText (line 75) | func (t *DataChannelState) UnmarshalText(b []byte) error { constant DataChannelStateUnknown (line 11) | DataChannelStateUnknown DataChannelState = iota constant DataChannelStateConnecting (line 16) | DataChannelStateConnecting constant DataChannelStateOpen (line 20) | DataChannelStateOpen constant DataChannelStateClosing (line 24) | DataChannelStateClosing constant DataChannelStateClosed (line 28) | DataChannelStateClosed constant dataChannelStateConnectingStr (line 33) | dataChannelStateConnectingStr = "connecting" constant dataChannelStateOpenStr (line 34) | dataChannelStateOpenStr = "open" constant dataChannelStateClosingStr (line 35) | dataChannelStateClosingStr = "closing" constant dataChannelStateClosedStr (line 36) | dataChannelStateClosedStr = "closed" function newDataChannelState (line 39) | func newDataChannelState(raw string) DataChannelState { FILE: datachannelstate_test.go function TestNewDataChannelState (line 12) | func TestNewDataChannelState(t *testing.T) { function TestDataChannelState_String (line 33) | func TestDataChannelState_String(t *testing.T) { FILE: dtlsfingerprint.go type DTLSFingerprint (line 8) | type DTLSFingerprint struct FILE: dtlsparameters.go type DTLSParameters (line 7) | type DTLSParameters struct FILE: dtlsrole.go type DTLSRole (line 11) | type DTLSRole method String (line 48) | func (r DTLSRole) String() string { constant DTLSRoleUnknown (line 15) | DTLSRoleUnknown DTLSRole = iota constant DTLSRoleAuto (line 20) | DTLSRoleAuto constant DTLSRoleClient (line 23) | DTLSRoleClient constant DTLSRoleServer (line 26) | DTLSRoleServer constant defaultDtlsRoleAnswer (line 39) | defaultDtlsRoleAnswer = DTLSRoleClient constant defaultDtlsRoleOffer (line 45) | defaultDtlsRoleOffer = DTLSRoleAuto function dtlsRoleFromSDP (line 63) | func dtlsRoleFromSDP(sessionDescription *sdp.SessionDescription) DTLSRole { function connectionRoleFromDtlsRole (line 86) | func connectionRoleFromDtlsRole(d DTLSRole) sdp.ConnectionRole { FILE: dtlsrole_test.go function TestDTLSRole_String (line 14) | func TestDTLSRole_String(t *testing.T) { function TestDTLSRoleFromSDP (line 34) | func TestDTLSRoleFromSDP(t *testing.T) { FILE: dtlstransport.go type DTLSTransport (line 36) | type DTLSTransport struct method ICETransport (line 112) | func (t *DTLSTransport) ICETransport() *ICETransport { method onStateChange (line 120) | func (t *DTLSTransport) onStateChange(state DTLSTransportState) { method OnStateChange (line 130) | func (t *DTLSTransport) OnStateChange(f func(DTLSTransportState)) { method State (line 137) | func (t *DTLSTransport) State() DTLSTransportState { method WriteRTCP (line 146) | func (t *DTLSTransport) WriteRTCP(pkts []rtcp.Packet) (int, error) { method GetLocalParameters (line 167) | func (t *DTLSTransport) GetLocalParameters() (DTLSParameters, error) { method GetRemoteCertificate (line 187) | func (t *DTLSTransport) GetRemoteCertificate() []byte { method startSRTP (line 194) | func (t *DTLSTransport) startSRTP() error { method getSRTPSession (line 259) | func (t *DTLSTransport) getSRTPSession() (*srtp.SessionSRTP, error) { method getSRTCPSession (line 267) | func (t *DTLSTransport) getSRTCPSession() (*srtp.SessionSRTCP, error) { method role (line 275) | func (t *DTLSTransport) role() DTLSRole { method Start (line 303) | func (t *DTLSTransport) Start(remoteParameters DTLSParameters) error { method prepareStart (line 339) | func (t *DTLSTransport) prepareStart(remoteParameters DTLSParameters) ... method dtlsSharedOptions (line 366) | func (t *DTLSTransport) dtlsSharedOptions(certificate tls.Certificate)... method srtpProtectionProfiles (line 429) | func (t *DTLSTransport) srtpProtectionProfiles() []dtls.SRTPProtection... method verifyPeerCertificateFunc (line 437) | func (t *DTLSTransport) verifyPeerCertificateFunc() func([][]byte, [][... method connectDTLS (line 460) | func (t *DTLSTransport) connectDTLS( method toDTLSServerOptions (line 484) | func (t *DTLSTransport) toDTLSServerOptions(sharedOpts []dtls.Option) ... method toDTLSClientOptions (line 518) | func (t *DTLSTransport) toDTLSClientOptions(sharedOpts []dtls.Option) ... method handshakeDTLS (line 534) | func (t *DTLSTransport) handshakeDTLS(dtlsConn *dtls.Conn) error { method completeStart (line 547) | func (t *DTLSTransport) completeStart(dtlsConn *dtls.Conn) error { method failStart (line 566) | func (t *DTLSTransport) failStart(err error) error { method Stop (line 599) | func (t *DTLSTransport) Stop() error { method validateFingerPrint (line 630) | func (t *DTLSTransport) validateFingerPrint(remoteCert *x509.Certifica... method ensureICEConn (line 650) | func (t *DTLSTransport) ensureICEConn() error { method storeSimulcastStream (line 658) | func (t *DTLSTransport) storeSimulcastStream( method streamsForSSRC (line 668) | func (t *DTLSTransport) streamsForSSRC( type simulcastStreamPair (line 62) | type simulcastStreamPair struct type streamsForSSRCResult (line 67) | type streamsForSSRCResult struct method NewDTLSTransport (line 77) | func (api *API) NewDTLSTransport(transport *ICETransport, certificates [... function srtpProtectionProfileFromDTLSConn (line 574) | func srtpProtectionProfileFromDTLSConn(dtlsConn *dtls.Conn) (srtp.Protec... function srtpProtectionProfileFromDTLS (line 583) | func srtpProtectionProfileFromDTLS(srtpProfile dtls.SRTPProtectionProfil... FILE: dtlstransport_js.go type DTLSTransport (line 15) | type DTLSTransport struct method JSValue (line 21) | func (r *DTLSTransport) JSValue() js.Value { method ICETransport (line 27) | func (r *DTLSTransport) ICETransport() *ICETransport { method GetRemoteCertificate (line 38) | func (t *DTLSTransport) GetRemoteCertificate() []byte { FILE: dtlstransport_test.go function TestInvalidFingerprintCausesFailed (line 31) | func TestInvalidFingerprintCausesFailed(t *testing.T) { //nolint:cyclop function TestPeerConnection_DTLSRoleSettingEngine (line 151) | func TestPeerConnection_DTLSRoleSettingEngine(t *testing.T) { type errConn (line 180) | type errConn struct method Read (line 187) | func (c *errConn) Read([]byte) (int, error) { return 0, c.read... method Write (line 188) | func (c *errConn) Write([]byte) (int, error) { return 0, c.writ... method Close (line 189) | func (c *errConn) Close() error { return nil } method LocalAddr (line 190) | func (c *errConn) LocalAddr() net.Addr { return c.localAd... method RemoteAddr (line 191) | func (c *errConn) RemoteAddr() net.Addr { return c.remoteA... method SetDeadline (line 192) | func (c *errConn) SetDeadline(time.Time) error { return nil } method SetReadDeadline (line 193) | func (c *errConn) SetReadDeadline(time.Time) error { return nil } method SetWriteDeadline (line 194) | func (c *errConn) SetWriteDeadline(time.Time) error { return nil } type failingPacketConn (line 196) | type failingPacketConn struct method ReadFrom (line 204) | func (c *failingPacketConn) ReadFrom([]byte) (int, net.Addr, error) { method WriteTo (line 208) | func (c *failingPacketConn) WriteTo([]byte, net.Addr) (int, error) { method Close (line 212) | func (c *failingPacketConn) Close() error { return... method LocalAddr (line 213) | func (c *failingPacketConn) LocalAddr() net.Addr { return... method SetDeadline (line 214) | func (c *failingPacketConn) SetDeadline(time.Time) error { return... method SetReadDeadline (line 215) | func (c *failingPacketConn) SetReadDeadline(time.Time) error { return... method SetWriteDeadline (line 216) | func (c *failingPacketConn) SetWriteDeadline(time.Time) error { return... function TestDTLSTransport_Start_ErrICEConnectionNotStarted (line 218) | func TestDTLSTransport_Start_ErrICEConnectionNotStarted(t *testing.T) { function TestDTLSTransport_Start_ConnectErrorFailsTransport (line 226) | func TestDTLSTransport_Start_ConnectErrorFailsTransport(t *testing.T) { function TestDTLSTransport_Start_HandshakeErrorFailsTransport (line 261) | func TestDTLSTransport_Start_HandshakeErrorFailsTransport(t *testing.T) { function TestDTLSTransport_dtlsSharedOptions_IncludesOptionalOptions (line 298) | func TestDTLSTransport_dtlsSharedOptions_IncludesOptionalOptions(t *test... function TestDTLSTransport_toDTLSClientOptions_IncludesOptionalOptions (line 403) | func TestDTLSTransport_toDTLSClientOptions_IncludesOptionalOptions(t *te... function TestDTLSTransport_verifyPeerCertificateFunc_NoRemoteCertificate (line 420) | func TestDTLSTransport_verifyPeerCertificateFunc_NoRemoteCertificate(t *... function TestDTLSTransport_verifyPeerCertificateFunc_ParseError (line 429) | func TestDTLSTransport_verifyPeerCertificateFunc_ParseError(t *testing.T) { function TestDTLSTransport_toDTLSServerOptions_IncludesOptionalOptions (line 439) | func TestDTLSTransport_toDTLSServerOptions_IncludesOptionalOptions(t *te... function TestDTLSTransport_handshakeDTLS_DeferredCancel (line 493) | func TestDTLSTransport_handshakeDTLS_DeferredCancel(t *testing.T) { function TestSRTPProtectionProfileFromDTLS (line 529) | func TestSRTPProtectionProfileFromDTLS(t *testing.T) { FILE: dtlstransportstate.go type DTLSTransportState (line 7) | type DTLSTransportState method String (line 62) | func (t DTLSTransportState) String() string { method MarshalText (line 80) | func (t DTLSTransportState) MarshalText() ([]byte, error) { method UnmarshalText (line 85) | func (t *DTLSTransportState) UnmarshalText(b []byte) error { constant DTLSTransportStateUnknown (line 11) | DTLSTransportStateUnknown DTLSTransportState = iota constant DTLSTransportStateNew (line 15) | DTLSTransportStateNew constant DTLSTransportStateConnecting (line 19) | DTLSTransportStateConnecting constant DTLSTransportStateConnected (line 23) | DTLSTransportStateConnected constant DTLSTransportStateClosed (line 28) | DTLSTransportStateClosed constant DTLSTransportStateFailed (line 33) | DTLSTransportStateFailed constant dtlsTransportStateNewStr (line 38) | dtlsTransportStateNewStr = "new" constant dtlsTransportStateConnectingStr (line 39) | dtlsTransportStateConnectingStr = "connecting" constant dtlsTransportStateConnectedStr (line 40) | dtlsTransportStateConnectedStr = "connected" constant dtlsTransportStateClosedStr (line 41) | dtlsTransportStateClosedStr = "closed" constant dtlsTransportStateFailedStr (line 42) | dtlsTransportStateFailedStr = "failed" function newDTLSTransportState (line 45) | func newDTLSTransportState(raw string) DTLSTransportState { FILE: dtlstransportstate_test.go function TestNewDTLSTransportState (line 12) | func TestNewDTLSTransportState(t *testing.T) { function TestDTLSTransportState_String (line 34) | func TestDTLSTransportState_String(t *testing.T) { FILE: e2e/e2e_test.go function TestE2E_Audio (line 43) | func TestE2E_Audio(t *testing.T) { function TestE2E_DataChannel (line 154) | func TestE2E_DataChannel(t *testing.T) { type stats (line 258) | type stats function logParseLoop (line 264) | func logParseLoop(ctx context.Context, t *testing.T, page *agouti.Page, ... function parseLog (line 318) | func parseLog(log agouti.Log) (string, string, bool) { function createTrack (line 334) | func createTrack(offer webrtc.SessionDescription) (*webrtc.PeerConnectio... FILE: examples/bandwidth-estimation-from-disk/main.go constant lowFile (line 29) | lowFile = "low.ivf" constant lowBitrate (line 30) | lowBitrate = 300_000 constant medFile (line 32) | medFile = "med.ivf" constant medBitrate (line 33) | medBitrate = 1_000_000 constant highFile (line 35) | highFile = "high.ivf" constant highBitrate (line 36) | highBitrate = 2_500_000 constant ivfHeaderSize (line 38) | ivfHeaderSize = 32 function main (line 41) | func main() { //nolint:gocognit,cyclop,maintidx function setReaderFile (line 258) | func setReaderFile(filename string) func(_ int64) io.Reader { function readUntilNewline (line 273) | func readUntilNewline() (in string) { function encode (line 294) | func encode(obj *webrtc.SessionDescription) string { function decode (line 304) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/broadcast/main.go function main (line 25) | func main() { function encode (line 206) | func encode(obj *webrtc.SessionDescription) string { function decode (line 216) | func decode(in string, obj *webrtc.SessionDescription) { function httpSDPServer (line 228) | func httpSDPServer(port int) chan string { FILE: examples/custom-logger/main.go type customLogger (line 22) | type customLogger struct method Trace (line 25) | func (c customLogger) Trace(string) {} method Tracef (line 26) | func (c customLogger) Tracef(string, ...any) {} method Debug (line 28) | func (c customLogger) Debug(msg string) { fmt.Printf("customLogger Deb... method Debugf (line 29) | func (c customLogger) Debugf(format string, args ...any) { method Info (line 32) | func (c customLogger) Info(msg string) { fmt.Printf("customLogger Info... method Infof (line 33) | func (c customLogger) Infof(format string, args ...any) { method Warn (line 36) | func (c customLogger) Warn(msg string) { fmt.Printf("customLogger Warn... method Warnf (line 37) | func (c customLogger) Warnf(format string, args ...any) { method Error (line 40) | func (c customLogger) Error(msg string) { fmt.Printf("customLogger Err... method Errorf (line 41) | func (c customLogger) Errorf(format string, args ...any) { type customLoggerFactory (line 48) | type customLoggerFactory struct method NewLogger (line 50) | func (c customLoggerFactory) NewLogger(subsystem string) logging.Level... function main (line 57) | func main() { FILE: examples/data-channels-detach-create/main.go constant messageSize (line 24) | messageSize = 15 function main (line 26) | func main() { function ReadLoop (line 141) | func ReadLoop(d io.Reader) { function WriteLoop (line 156) | func WriteLoop(d io.Writer) { function httpSDPServer (line 175) | func httpSDPServer(port int) chan string { function encode (line 192) | func encode(obj *webrtc.SessionDescription) string { function decode (line 202) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/data-channels-detach/jsfiddle/main.go constant messageSize (line 25) | messageSize = 15 function main (line 27) | func main() { function ReadLoop (line 147) | func ReadLoop(d io.Reader) { function WriteLoop (line 161) | func WriteLoop(d io.Writer) { function log (line 177) | func log(msg string) { function handleError (line 182) | func handleError(err error) { function getElementByID (line 187) | func getElementByID(id string) js.Value { function readUntilNewline (line 192) | func readUntilNewline() (in string) { function encode (line 212) | func encode(obj *webrtc.SessionDescription) string { function decode (line 222) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/data-channels-detach/main.go constant messageSize (line 25) | messageSize = 15 function main (line 27) | func main() { function ReadLoop (line 142) | func ReadLoop(d io.Reader) { function WriteLoop (line 157) | func WriteLoop(d io.Writer) { function readUntilNewline (line 176) | func readUntilNewline() (in string) { function encode (line 197) | func encode(obj *webrtc.SessionDescription) string { function decode (line 207) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/data-channels-flow-control/main.go constant bufferedAmountLowThreshold (line 19) | bufferedAmountLowThreshold uint64 = 512 * 1024 constant maxBufferedAmount (line 20) | maxBufferedAmount uint64 = 1024 * 1024 function check (line 23) | func check(err error) { function setRemoteDescription (line 29) | func setRemoteDescription(pc *webrtc.PeerConnection, sdp []byte) { function createOfferer (line 39) | func createOfferer() *webrtc.PeerConnection { function createAnswerer (line 98) | func createAnswerer() *webrtc.PeerConnection { function main (line 135) | func main() { FILE: examples/data-channels-simple/main.go function main (line 17) | func main() { function setupOfferHandler (line 31) | func setupOfferHandler(pc **webrtc.PeerConnection) { function setupICECandidateHandler (line 66) | func setupICECandidateHandler(pc *webrtc.PeerConnection) { function setupDataChannelHandler (line 74) | func setupDataChannelHandler(pc *webrtc.PeerConnection) { function processOffer (line 88) | func processOffer( function setupCandidateHandler (line 127) | func setupCandidateHandler(pc **webrtc.PeerConnection) { function setupStaticHandler (line 143) | func setupStaticHandler() { FILE: examples/data-channels-whip-whep-like/main.go type Hub (line 39) | type Hub struct method Register (line 58) | func (h *Hub) Register(channel *webrtc.DataChannel) string { method Unregister (line 70) | func (h *Hub) Unregister(channel *webrtc.DataChannel) { method generateUniqueUsername (line 81) | func (h *Hub) generateUniqueUsername() string { method GetUsername (line 108) | func (h *Hub) GetUsername(channel *webrtc.DataChannel) string { method Broadcast (line 116) | func (h *Hub) Broadcast(message string, sender *webrtc.DataChannel) { method Count (line 140) | func (h *Hub) Count() int { function main (line 148) | func main() { function whipHandler (line 158) | func whipHandler(res http.ResponseWriter, req *http.Request) { function whepHandler (line 175) | func whepHandler(res http.ResponseWriter, req *http.Request) { function writeAnswer (line 192) | func writeAnswer(res http.ResponseWriter, peerConnection *webrtc.PeerCon... FILE: examples/data-channels/jsfiddle/main.go function main (line 23) | func main() { function log (line 148) | func log(msg string) { function handleError (line 153) | func handleError(err error) { function getElementByID (line 158) | func getElementByID(id string) js.Value { function readUntilNewline (line 163) | func readUntilNewline() (in string) { function encode (line 183) | func encode(obj *webrtc.SessionDescription) string { function decode (line 193) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/data-channels/main.go function main (line 23) | func main() { function readUntilNewline (line 138) | func readUntilNewline() (in string) { function encode (line 159) | func encode(obj *webrtc.SessionDescription) string { function decode (line 169) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/examples.go type Examples (line 20) | type Examples type Example (line 23) | type Example struct function main (line 32) | func main() { function serve (line 43) | func serve(addr string) error { function getExamples (line 121) | func getExamples() *Examples { FILE: examples/ice-proxy/answer.go function setupAnsweringAgent (line 17) | func setupAnsweringAgent() { FILE: examples/ice-proxy/main.go constant turnServerAddr (line 10) | turnServerAddr = "localhost:17342" constant turnServerURL (line 11) | turnServerURL = "turn:" + turnServerAddr + "?transport=tcp" constant turnUsername (line 12) | turnUsername = "turn_username" constant turnPassword (line 13) | turnPassword = "turn_password" function main (line 16) | func main() { FILE: examples/ice-proxy/offer.go function setupOfferingAgent (line 19) | func setupOfferingAgent() { FILE: examples/ice-proxy/proxy.go type proxyDialer (line 22) | type proxyDialer struct method Dial (line 36) | func (d *proxyDialer) Dial(network, addr string) (net.Conn, error) { function newProxyDialer (line 26) | func newProxyDialer(u *url.URL) proxy.Dialer { function newHTTPProxy (line 77) | func newHTTPProxy() *url.URL { function proxyHandleConn (line 99) | func proxyHandleConn(clientConn net.Conn) { FILE: examples/ice-proxy/turn.go function newTURNServer (line 14) | func newTURNServer() *turn.Server { FILE: examples/ice-restart/main.go function doSignaling (line 19) | func doSignaling(res http.ResponseWriter, req *http.Request) { function main (line 80) | func main() { FILE: examples/ice-single-port/main.go function doSignaling (line 22) | func doSignaling(res http.ResponseWriter, req *http.Request) { function main (line 80) | func main() { FILE: examples/ice-tcp/main.go function doSignaling (line 23) | func doSignaling(res http.ResponseWriter, req *http.Request) { //nolint:... function main (line 85) | func main() { FILE: examples/insertable-streams/jsfiddle/demo.js function getInsertableStream (line 83) | function getInsertableStream (transceiver) { FILE: examples/insertable-streams/main.go constant cipherKey (line 26) | cipherKey = 0xAA function main (line 29) | func main() { function readUntilNewline (line 184) | func readUntilNewline() (in string) { function encode (line 205) | func encode(obj *webrtc.SessionDescription) string { function decode (line 215) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/ortc-media/main.go constant videoFileName (line 29) | videoFileName = "output.ivf" function main (line 33) | func main() { function fourCCToTrack (line 200) | func fourCCToTrack(fourCC string) *webrtc.TrackLocalStaticSample { function writeFileToTrack (line 224) | func writeFileToTrack(ivf *ivfreader.IVFReader, header *ivfreader.IVFFil... type Signal (line 249) | type Signal struct function readUntilNewline (line 257) | func readUntilNewline() (in string) { function encode (line 278) | func encode(obj *Signal) string { function decode (line 288) | func decode(in string, obj *Signal) { function httpSDPServer (line 300) | func httpSDPServer(port int) chan string { FILE: examples/ortc/main.go function main (line 28) | func main() { type Signal (line 175) | type Signal struct function handleOnOpen (line 182) | func handleOnOpen(channel *webrtc.DataChannel) func() { function readUntilNewline (line 206) | func readUntilNewline() (in string) { function encode (line 227) | func encode(obj Signal) string { function decode (line 237) | func decode(in string, obj *Signal) { function httpSDPServer (line 249) | func httpSDPServer(port int) chan string { FILE: examples/pion-to-pion/answer/main.go function signalCandidate (line 22) | func signalCandidate(addr string, candidate *webrtc.ICECandidate) error { function main (line 37) | func main() { function setupDataChannel (line 183) | func setupDataChannel(dataChannel *webrtc.DataChannel) { FILE: examples/pion-to-pion/offer/main.go function signalCandidate (line 22) | func signalCandidate(addr string, candidate *webrtc.ICECandidate) error { function main (line 37) | func main() { function setupDataChannel (line 185) | func setupDataChannel(dataChannel *webrtc.DataChannel) { FILE: examples/play-from-disk-fec/main.go constant videoFileName (line 31) | videoFileName = "output.ivf" constant answerFileName (line 32) | answerFileName = "answer.txt" function main (line 35) | func main() { //nolint:gocognit,cyclop,gocyclo,maintidx function encode (line 262) | func encode(obj *webrtc.SessionDescription) string { function decode (line 272) | func decode(in string, obj *webrtc.SessionDescription) { type packetDropInterceptorFactory (line 284) | type packetDropInterceptorFactory struct method NewInterceptor (line 286) | func (f packetDropInterceptorFactory) NewInterceptor(_ string) (interc... type dropFilter (line 291) | type dropFilter struct method BindLocalStream (line 299) | func (i *dropFilter) BindLocalStream(info *interceptor.StreamInfo, wri... FILE: examples/play-from-disk-playlist-control/main.go constant playlistFile (line 33) | playlistFile = "playlist.ogg" constant labelAudio (line 34) | labelAudio = "audio" constant labelTrack (line 35) | labelTrack = "pion" type bufferedPage (line 41) | type bufferedPage struct type oggTrack (line 47) | type oggTrack struct function main (line 59) | func main() { //nolint:gocognit,cyclop function handleOffer (line 127) | func handleOffer( function stream (line 264) | func stream( function parsePlaylist (line 308) | func parsePlaylist(path string) ([]*oggTrack, error) { //nolint:cyclop function ensureTrack (line 399) | func ensureTrack(tracks map[uint32]*oggTrack, serial uint32, order *[]ui... function extractMetadata (line 412) | func extractMetadata(tags *oggreader.OpusTags) (title, artist string) { function pageDuration (line 425) | func pageDuration(header *oggreader.OggHeader, granule, last uint64) tim... function wrapNext (line 445) | func wrapNext(current, limit int) int { function wrapPrev (line 453) | func wrapPrev(current, limit int) int { function normalizeIndex (line 464) | func normalizeIndex(i, limit int) int { function sendPlaylistText (line 478) | func sendPlaylistText(dc *webrtc.DataChannel, tracks []*oggTrack, curren... function sendNowPlayingText (line 502) | func sendNowPlayingText(dc *webrtc.DataChannel, track *oggTrack, index i... function nowLine (line 513) | func nowLine(track *oggTrack, index int) string { function cleanText (line 537) | func cleanText(v string) string { FILE: examples/play-from-disk-playlist-control/web/app.js function startSession (line 21) | async function startSession () { function sendPrev (line 77) | function sendPrev () { function sendNext (line 81) | function sendNext () { function sendList (line 85) | function sendList () { function sendCommand (line 89) | function sendCommand () { function sendRawCommand (line 97) | function sendRawCommand (text) { function handleMessage (line 106) | function handleMessage (data) { function renderPlaylist (line 159) | function renderPlaylist (message) { function renderNowPlaying (line 175) | function renderNowPlaying (track) { function prettyDuration (line 194) | function prettyDuration (ms) { FILE: examples/play-from-disk-renegotiation/main.go function doSignaling (line 26) | func doSignaling(res http.ResponseWriter, req *http.Request) { function createPeerConnection (line 63) | func createPeerConnection(res http.ResponseWriter, req *http.Request) { function addVideo (line 73) | func addVideo(res http.ResponseWriter, req *http.Request) { //nolint:cyclop function removeVideo (line 128) | func removeVideo(res http.ResponseWriter, req *http.Request) { function main (line 139) | func main() { function writeVideoToTrack (line 188) | func writeVideoToTrack( FILE: examples/play-from-disk/main.go constant audioFileName (line 28) | audioFileName = "output.ogg" constant videoFileName (line 29) | videoFileName = "output.ivf" constant oggPageDuration (line 30) | oggPageDuration = time.Millisecond * 20 function main (line 33) | func main() { //nolint:gocognit,cyclop,gocyclo,maintidx function readUntilNewline (line 295) | func readUntilNewline() (in string) { function encode (line 316) | func encode(obj *webrtc.SessionDescription) string { function decode (line 326) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/quick-switch/main.go function nextVideo (line 35) | func nextVideo() { function doWHIP (line 45) | func doWHIP(res http.ResponseWriter, req *http.Request) { function playFile (line 121) | func playFile(fileIndex int32) { function main (line 163) | func main() { FILE: examples/reflect/main.go function main (line 25) | func main() { function readUntilNewline (line 186) | func readUntilNewline() (in string) { function encode (line 207) | func encode(obj *webrtc.SessionDescription) string { function decode (line 217) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/repacketize/index.js function log (line 8) | function log (value) { function codecs (line 16) | function codecs () { function start (line 36) | async function start () { FILE: examples/repacketize/main.go function main (line 29) | func main() { function createRTCConn (line 88) | func createRTCConn() *webrtc.PeerConnection { //nolint:cyclop FILE: examples/rtcp-processing/main.go function main (line 22) | func main() { function readUntilNewline (line 104) | func readUntilNewline() (in string) { function encode (line 125) | func encode(obj *webrtc.SessionDescription) string { function decode (line 135) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/rtp-forwarder/main.go type udpConn (line 26) | type udpConn struct function main (line 32) | func main() { //nolint:gocognit,cyclop,maintidx function readUntilNewline (line 251) | func readUntilNewline() (in string) { function encode (line 272) | func encode(obj *webrtc.SessionDescription) string { function decode (line 282) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/rtp-to-webrtc/main.go function main (line 24) | func main() { function readUntilNewline (line 143) | func readUntilNewline() (in string) { function encode (line 164) | func encode(obj *webrtc.SessionDescription) string { function decode (line 174) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/save-to-disk-av1/main.go function saveToDisk (line 26) | func saveToDisk(writer media.Writer, track *webrtc.TrackRemote) { function main (line 49) | func main() { function readUntilNewline (line 182) | func readUntilNewline() (in string) { function encode (line 203) | func encode(obj *webrtc.SessionDescription) string { function decode (line 213) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/save-to-disk/main.go function saveToDisk (line 28) | func saveToDisk(writer media.Writer, track *webrtc.TrackRemote) { function main (line 51) | func main() { function readUntilNewline (line 210) | func readUntilNewline() (in string) { function encode (line 231) | func encode(obj *webrtc.SessionDescription) string { function decode (line 241) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/simulcast/main.go function main (line 25) | func main() { function readUntilNewline (line 205) | func readUntilNewline() (in string) { function encode (line 226) | func encode(obj *webrtc.SessionDescription) string { function decode (line 236) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/stats/main.go constant statsInterval (line 27) | statsInterval = time.Second * 5 function main (line 30) | func main() { function readUntilNewline (line 178) | func readUntilNewline() (in string) { function encode (line 199) | func encode(obj *webrtc.SessionDescription) string { function decode (line 209) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/swap-tracks/jsfiddle/demo.js function drawCircle (line 51) | function drawCircle (ctx, color, angle) { FILE: examples/swap-tracks/main.go function main (line 27) | func main() { // nolint:gocognit function readUntilNewline (line 231) | func readUntilNewline() (in string) { function encode (line 252) | func encode(obj *webrtc.SessionDescription) string { function decode (line 262) | func decode(in string, obj *webrtc.SessionDescription) { FILE: examples/trickle-ice/main.go function websocketServer (line 19) | func websocketServer(wsConn *websocket.Conn) { function main (line 139) | func main() { FILE: examples/vnet/show-network-usage/main.go function main (line 41) | func main() { function panicIfError (line 229) | func panicIfError(err error) { FILE: examples/warp/main.go function main (line 17) | func main() { function setupOfferHandler (line 38) | func setupOfferHandler(pc **webrtc.PeerConnection) { function setupICECandidateHandler (line 68) | func setupICECandidateHandler(pc *webrtc.PeerConnection) { function setupDataChannelHandler (line 76) | func setupDataChannelHandler(pc *webrtc.PeerConnection) { function processOffer (line 100) | func processOffer( function setupCandidateHandler (line 139) | func setupCandidateHandler(pc **webrtc.PeerConnection) { function setupStaticHandler (line 155) | func setupStaticHandler() { FILE: examples/whip-whep/main.go function main (line 36) | func main() { function whipHandler (line 58) | func whipHandler(res http.ResponseWriter, req *http.Request) { // nolint... function whepHandler (line 185) | func whepHandler(res http.ResponseWriter, req *http.Request) { //nolint:... function writeAnswer (line 291) | func writeAnswer(res http.ResponseWriter, peerConnection *webrtc.PeerCon... FILE: gathering_complete_promise.go function GatheringCompletePromise (line 17) | func GatheringCompletePromise(pc *PeerConnection) (gatherComplete <-chan... FILE: gathering_complete_promise_example_test.go function ExampleGatheringCompletePromise (line 16) | func ExampleGatheringCompletePromise() { FILE: ice_go.go method NewICETransport (line 11) | func (api *API) NewICETransport(gatherer *ICEGatherer) *ICETransport { FILE: icecandidate.go type ICECandidate (line 14) | type ICECandidate struct method ToICE (line 85) | func (c ICECandidate) ToICE() (cand ice.Candidate, err error) { method setExtensions (line 154) | func (c *ICECandidate) setExtensions(ext []ice.CandidateExtension) { method exportExtensions (line 168) | func (c *ICECandidate) exportExtensions(cand ice.Candidate) error { method String (line 220) | func (c ICECandidate) String() string { method ToJSON (line 231) | func (c ICECandidate) ToJSON() ICECandidateInit { function newICECandidatesFromICE (line 32) | func newICECandidatesFromICE( function newICECandidateFromICE (line 50) | func newICECandidateFromICE(candidate ice.Candidate, sdpMid string, sdpM... function convertTypeFromICE (line 205) | func convertTypeFromICE(t ice.CandidateType) (ICECandidateType, error) { FILE: icecandidate_test.go function TestICECandidate_Convert (line 13) | func TestICECandidate_Convert(t *testing.T) { function TestConvertTypeFromICE (line 140) | func TestConvertTypeFromICE(t *testing.T) { function TestNewIdentifiedICECandidateFromICE (line 158) | func TestNewIdentifiedICECandidateFromICE(t *testing.T) { function TestNewIdentifiedICECandidatesFromICE (line 177) | func TestNewIdentifiedICECandidatesFromICE(t *testing.T) { function TestICECandidate_ToJSON (line 206) | func TestICECandidate_ToJSON(t *testing.T) { function TestICECandidateZeroSDPid (line 223) | func TestICECandidateZeroSDPid(t *testing.T) { function TestICECandidateString (line 230) | func TestICECandidateString(t *testing.T) { function TestICECandidateSDPMid_ToJSON (line 254) | func TestICECandidateSDPMid_ToJSON(t *testing.T) { function TestICECandidateExtensions_ToJSON (line 264) | func TestICECandidateExtensions_ToJSON(t *testing.T) { FILE: icecandidateinit.go type ICECandidateInit (line 7) | type ICECandidateInit struct FILE: icecandidateinit_test.go function TestICECandidateInit_Serialization (line 13) | func TestICECandidateInit_Serialization(t *testing.T) { function refString (line 42) | func refString(s string) *string { function refUint16 (line 46) | func refUint16(i uint16) *uint16 { FILE: icecandidatepair.go type ICECandidatePair (line 9) | type ICECandidatePair struct method String (line 19) | func (p *ICECandidatePair) String() string { function newICECandidatePairStatsID (line 15) | func newICECandidatePairStatsID(localID, remoteID string) string { function NewICECandidatePair (line 29) | func NewICECandidatePair(local, remote *ICECandidate) *ICECandidatePair { FILE: icecandidatepair_test.go function TestICECandidatePairString_Nil (line 12) | func TestICECandidatePairString_Nil(t *testing.T) { FILE: icecandidatetype.go type ICECandidateType (line 13) | type ICECandidateType method String (line 70) | func (t ICECandidateType) String() string { method MarshalText (line 104) | func (t ICECandidateType) MarshalText() ([]byte, error) { //nolint:sta... method UnmarshalText (line 109) | func (t *ICECandidateType) UnmarshalText(b []byte) error { method toICE (line 116) | func (r ICECandidateType) toICE() ice.CandidateType { constant ICECandidateTypeUnknown (line 17) | ICECandidateTypeUnknown ICECandidateType = iota constant ICECandidateTypeHost (line 24) | ICECandidateTypeHost constant ICECandidateTypeSrflx (line 32) | ICECandidateTypeSrflx constant ICECandidateTypePrflx (line 38) | ICECandidateTypePrflx constant ICECandidateTypeRelay (line 43) | ICECandidateTypeRelay constant iceCandidateTypeHostStr (line 48) | iceCandidateTypeHostStr = "host" constant iceCandidateTypeSrflxStr (line 49) | iceCandidateTypeSrflxStr = "srflx" constant iceCandidateTypePrflxStr (line 50) | iceCandidateTypePrflxStr = "prflx" constant iceCandidateTypeRelayStr (line 51) | iceCandidateTypeRelayStr = "relay" function NewICECandidateType (line 55) | func NewICECandidateType(raw string) (ICECandidateType, error) { function getCandidateType (line 85) | func getCandidateType(candidateType ice.CandidateType) (ICECandidateType... FILE: icecandidatetype_test.go function TestICECandidateType (line 12) | func TestICECandidateType(t *testing.T) { function TestICECandidateType_String (line 40) | func TestICECandidateType_String(t *testing.T) { FILE: icecomponent.go type ICEComponent (line 8) | type ICEComponent method String (line 44) | func (t ICEComponent) String() string { constant ICEComponentUnknown (line 12) | ICEComponentUnknown ICEComponent = iota constant ICEComponentRTP (line 19) | ICEComponentRTP constant ICEComponentRTCP (line 24) | ICEComponentRTCP constant iceComponentRTPStr (line 29) | iceComponentRTPStr = "rtp" constant iceComponentRTCPStr (line 30) | iceComponentRTCPStr = "rtcp" function newICEComponent (line 33) | func newICEComponent(raw string) ICEComponent { FILE: icecomponent_test.go function TestICEComponent (line 12) | func TestICEComponent(t *testing.T) { function TestICEComponent_String (line 31) | func TestICEComponent_String(t *testing.T) { FILE: iceconnectionstate.go type ICEConnectionState (line 7) | type ICEConnectionState method String (line 81) | func (c ICEConnectionState) String() string { constant ICEConnectionStateUnknown (line 11) | ICEConnectionStateUnknown ICEConnectionState = iota constant ICEConnectionStateNew (line 17) | ICEConnectionStateNew constant ICEConnectionStateChecking (line 22) | ICEConnectionStateChecking constant ICEConnectionStateConnected (line 27) | ICEConnectionStateConnected constant ICEConnectionStateCompleted (line 32) | ICEConnectionStateCompleted constant ICEConnectionStateDisconnected (line 37) | ICEConnectionStateDisconnected constant ICEConnectionStateFailed (line 41) | ICEConnectionStateFailed constant ICEConnectionStateClosed (line 45) | ICEConnectionStateClosed constant iceConnectionStateNewStr (line 50) | iceConnectionStateNewStr = "new" constant iceConnectionStateCheckingStr (line 51) | iceConnectionStateCheckingStr = "checking" constant iceConnectionStateConnectedStr (line 52) | iceConnectionStateConnectedStr = "connected" constant iceConnectionStateCompletedStr (line 53) | iceConnectionStateCompletedStr = "completed" constant iceConnectionStateDisconnectedStr (line 54) | iceConnectionStateDisconnectedStr = "disconnected" constant iceConnectionStateFailedStr (line 55) | iceConnectionStateFailedStr = "failed" constant iceConnectionStateClosedStr (line 56) | iceConnectionStateClosedStr = "closed" function NewICEConnectionState (line 60) | func NewICEConnectionState(raw string) ICEConnectionState { FILE: iceconnectionstate_test.go function TestNewICEConnectionState (line 12) | func TestNewICEConnectionState(t *testing.T) { function TestICEConnectionState_String (line 36) | func TestICEConnectionState_String(t *testing.T) { FILE: icecredentialtype.go type ICECredentialType (line 13) | type ICECredentialType method String (line 42) | func (t ICECredentialType) String() string { method UnmarshalJSON (line 54) | func (t *ICECredentialType) UnmarshalJSON(b []byte) error { method MarshalJSON (line 71) | func (t ICECredentialType) MarshalJSON() ([]byte, error) { constant ICECredentialTypePassword (line 18) | ICECredentialTypePassword ICECredentialType = iota constant ICECredentialTypeOauth (line 22) | ICECredentialTypeOauth constant iceCredentialTypePasswordStr (line 27) | iceCredentialTypePasswordStr = "password" constant iceCredentialTypeOauthStr (line 28) | iceCredentialTypeOauthStr = "oauth" function newICECredentialType (line 31) | func newICECredentialType(raw string) (ICECredentialType, error) { FILE: icecredentialtype_test.go function TestNewICECredentialType (line 13) | func TestNewICECredentialType(t *testing.T) { function TestICECredentialType_String (line 32) | func TestICECredentialType_String(t *testing.T) { function TestICECredentialType_new (line 50) | func TestICECredentialType_new(t *testing.T) { function TestICECredentialType_Json (line 69) | func TestICECredentialType_Json(t *testing.T) { FILE: icegatherer.go type ICEGatherer (line 24) | type ICEGatherer struct method updateServers (line 126) | func (g *ICEGatherer) updateServers(servers []ICEServer, policy ICETra... method validatedServersCount (line 151) | func (g *ICEGatherer) validatedServersCount() int { method createAgent (line 158) | func (g *ICEGatherer) createAgent() error { method buildAgentOptions (line 181) | func (g *ICEGatherer) buildAgentOptions() ([]ice.AgentOption, error) { method resolveCandidateTypes (line 210) | func (g *ICEGatherer) resolveCandidateTypes() []ice.CandidateType { method resolveNAT1To1CandidateType (line 226) | func (g *ICEGatherer) resolveNAT1To1CandidateType() ice.CandidateType { method sanitizedMDNSMode (line 237) | func (g *ICEGatherer) sanitizedMDNSMode() ice.MulticastDNSMode { method baseAgentOptions (line 246) | func (g *ICEGatherer) baseAgentOptions(mDNSMode ice.MulticastDNSMode) ... method credentialOptions (line 263) | func (g *ICEGatherer) credentialOptions() []ice.AgentOption { method addressRewriteOptions (line 275) | func (g *ICEGatherer) addressRewriteOptions(candidateType ice.Candidat... method timeoutOptions (line 300) | func (g *ICEGatherer) timeoutOptions() []ice.AgentOption { method miscOptions (line 331) | func (g *ICEGatherer) miscOptions() []ice.AgentOption { method renominationOptions (line 353) | func (g *ICEGatherer) renominationOptions() []ice.AgentOption { method Gather (line 408) | func (g *ICEGatherer) Gather() error { //nolint:cyclop method setMediaStreamIdentification (line 480) | func (g *ICEGatherer) setMediaStreamIdentification(mid string, mLineIn... method flushCandidates (line 485) | func (g *ICEGatherer) flushCandidates() { method Close (line 526) | func (g *ICEGatherer) Close() error { method GracefulClose (line 533) | func (g *ICEGatherer) GracefulClose() error { method close (line 537) | func (g *ICEGatherer) close(shouldGracefullyClose bool) error { method GetLocalParameters (line 568) | func (g *ICEGatherer) GetLocalParameters() (ICEParameters, error) { method GetLocalCandidates (line 592) | func (g *ICEGatherer) GetLocalCandidates() ([]ICECandidate, error) { method OnLocalCandidate (line 620) | func (g *ICEGatherer) OnLocalCandidate(f func(*ICECandidate)) { method OnStateChange (line 625) | func (g *ICEGatherer) OnStateChange(f func(ICEGathererState)) { method State (line 630) | func (g *ICEGatherer) State() ICEGathererState { method setState (line 634) | func (g *ICEGatherer) setState(s ICEGathererState) { method getAgent (line 642) | func (g *ICEGatherer) getAgent() *ice.Agent { method collectStats (line 649) | func (g *ICEGatherer) collectStats(collector *statsReportCollector) { method getSelectedCandidatePairStats (line 730) | func (g *ICEGatherer) getSelectedCandidatePairStats() (ICECandidatePai... type ICEAddressRewriteMode (line 54) | type ICEAddressRewriteMode method toICE (line 62) | func (r ICEAddressRewriteMode) toICE() ice.AddressRewriteMode { constant ICEAddressRewriteModeUnspecified (line 57) | ICEAddressRewriteModeUnspecified ICEAddressRewriteMode = iota constant ICEAddressRewriteReplace (line 58) | ICEAddressRewriteReplace constant ICEAddressRewriteAppend (line 59) | ICEAddressRewriteAppend type ICEAddressRewriteRule (line 67) | type ICEAddressRewriteRule struct method toICE (line 77) | func (r ICEAddressRewriteRule) toICE() ice.AddressRewriteRule { method NewICEGatherer (line 98) | func (api *API) NewICEGatherer(opts ICEGatherOptions) (*ICEGatherer, err... function legacyNAT1To1AddressRewriteRules (line 378) | func legacyNAT1To1AddressRewriteRules(ips []string, candidateType ice.Ca... FILE: icegatherer_test.go function TestNewICEGatherer_Success (line 28) | func TestNewICEGatherer_Success(t *testing.T) { function TestICEGather_mDNSCandidateGathering (line 68) | func TestICEGather_mDNSCandidateGathering(t *testing.T) { function TestICEGatherer_InvalidMDNSHostName (line 95) | func TestICEGatherer_InvalidMDNSHostName(t *testing.T) { function TestICEGatherer_updateServers (line 113) | func TestICEGatherer_updateServers(t *testing.T) { function TestLegacyNAT1To1AddressRewriteRules (line 133) | func TestLegacyNAT1To1AddressRewriteRules(t *testing.T) { function TestLegacyNAT1To1AddressRewriteRulesVNet (line 169) | func TestLegacyNAT1To1AddressRewriteRulesVNet(t *testing.T) { //nolint:c... function TestICEAddressRewriteRulesWithNAT1To1Conflict (line 273) | func TestICEAddressRewriteRulesWithNAT1To1Conflict(t *testing.T) { function gatherCandidatesWithSettingEngine (line 329) | func gatherCandidatesWithSettingEngine(t *testing.T, se SettingEngine, o... function TestICEGatherer_NoHostPolicyVNet (line 358) | func TestICEGatherer_NoHostPolicyVNet(t *testing.T) { //nolint:cyclop function TestICEGatherer_AddressRewriteRulesVNet (line 507) | func TestICEGatherer_AddressRewriteRulesVNet(t *testing.T) { //nolint:cy... function TestICEGatherer_AddressRewriteRuleFilters (line 596) | func TestICEGatherer_AddressRewriteRuleFilters(t *testing.T) { //nolint:... function TestICEGatherer_AddressRewriteHostAppendAndReplace (line 698) | func TestICEGatherer_AddressRewriteHostAppendAndReplace(t *testing.T) { function TestICEGatherer_AddressRewriteSrflxReplace (line 762) | func TestICEGatherer_AddressRewriteSrflxReplace(t *testing.T) { function TestICEGatherer_AddressRewriteSrflxAppendWithCatchAll (line 820) | func TestICEGatherer_AddressRewriteSrflxAppendWithCatchAll(t *testing.T) { function TestICEGatherer_AddressRewriteMultipleRulesOrdering (line 880) | func TestICEGatherer_AddressRewriteMultipleRulesOrdering(t *testing.T) { function TestICEGatherer_AddressRewriteIfaceScope (line 942) | func TestICEGatherer_AddressRewriteIfaceScope(t *testing.T) { function TestICEConnection_AddressRewriteAppend (line 1003) | func TestICEConnection_AddressRewriteAppend(t *testing.T) { //nolint:cyclop function TestICEAddressRewriteDropRule (line 1082) | func TestICEAddressRewriteDropRule(t *testing.T) { function TestICEGatherer_AddressRewriteRelayVNet (line 1104) | func TestICEGatherer_AddressRewriteRelayVNet(t *testing.T) { //nolint:cy... function TestICEGatherer_AddressRewriteRelayAppendVNet (line 1205) | func TestICEGatherer_AddressRewriteRelayAppendVNet(t *testing.T) { //nol... function TestICEGatherer_StaticLocalCredentialsVNet (line 1309) | func TestICEGatherer_StaticLocalCredentialsVNet(t *testing.T) { //nolint... function TestICEGatherer_AlreadyClosed (line 1386) | func TestICEGatherer_AlreadyClosed(t *testing.T) { function TestICEGatherer_MaxBindingRequests (line 1441) | func TestICEGatherer_MaxBindingRequests(t *testing.T) { //nolint:cyclop function TestICEGatherer_DisableActiveTCP (line 1557) | func TestICEGatherer_DisableActiveTCP(t *testing.T) { //nolint:cyclop function TestICEGatherer_HostAcceptanceMinWait (line 1647) | func TestICEGatherer_HostAcceptanceMinWait(t *testing.T) { function TestICEGatherer_SrflxAcceptanceMinWait (line 1677) | func TestICEGatherer_SrflxAcceptanceMinWait(t *testing.T) { //nolint:cyclop function TestICEGatherer_PrflxAcceptanceMinWait (line 1812) | func TestICEGatherer_PrflxAcceptanceMinWait(t *testing.T) { //nolint:cyclop function TestICEGatherer_STUNGatherTimeout (line 1901) | func TestICEGatherer_STUNGatherTimeout(t *testing.T) { function TestICEGatherer_RelayAcceptanceMinWait (line 1960) | func TestICEGatherer_RelayAcceptanceMinWait(t *testing.T) { //nolint:cyclop function TestNewICEGathererSetMediaStreamIdentification (line 2069) | func TestNewICEGathererSetMediaStreamIdentification(t *testing.T) { //no... function TestICEGatherer_RenominationOptions (line 2122) | func TestICEGatherer_RenominationOptions(t *testing.T) { function TestICEGatherer_RenominationOptionsDisabled (line 2131) | func TestICEGatherer_RenominationOptionsDisabled(t *testing.T) { function TestICEGatherer_RenominationSendsNomination (line 2154) | func TestICEGatherer_RenominationSendsNomination(t *testing.T) { //nolin... function TestICEGatherer_RenominationSwitchesPair (line 2254) | func TestICEGatherer_RenominationSwitchesPair(t *testing.T) { //nolint:c... function TestICEGatherer_GracefulCloseDuringAgentActivity (line 2402) | func TestICEGatherer_GracefulCloseDuringAgentActivity(t *testing.T) { function buildRenominationVNetPair (line 2430) | func buildRenominationVNetPair( function connectAndWaitForICE (line 2496) | func connectAndWaitForICE(t *testing.T, offerPC, answerPC *PeerConnectio... function selectedCandidatePair (line 2518) | func selectedCandidatePair(t *testing.T, pc *PeerConnection) *ice.Candid... function waitForTwoRemoteCandidates (line 2529) | func waitForTwoRemoteCandidates(t *testing.T, pc *PeerConnection) { function findCandidateByID (line 2542) | func findCandidateByID(t *testing.T, agent *ice.Agent, id string, local ... function findSwitchTarget (line 2564) | func findSwitchTarget( function getAgent (line 2603) | func getAgent(t *testing.T, pc *PeerConnection) *ice.Agent { function candidatePairSummary (line 2614) | func candidatePairSummary(t *testing.T, agent *ice.Agent) string { function waitDataChannelOpen (line 2648) | func waitDataChannelOpen(t *testing.T, dc *DataChannel) { function sendAndExpect (line 2667) | func sendAndExpect(t *testing.T, sender *DataChannel, recvCh chan string... type stagedCandidateSender (line 2681) | type stagedCandidateSender struct method addCandidate (line 2689) | func (s *stagedCandidateSender) addCandidate(cand ICECandidateInit, sr... method flushSrflx (line 2712) | func (s *stagedCandidateSender) flushSrflx() error { method flushHost (line 2733) | func (s *stagedCandidateSender) flushHost() error { method errValue (line 2754) | func (s *stagedCandidateSender) errValue() error { function makeSrflxCandidateInit (line 2761) | func makeSrflxCandidateInit(c ICECandidate) ICECandidateInit { function buildStagedRenominationPair (line 2769) | func buildStagedRenominationPair( function startTrickleRenomination (line 2876) | func startTrickleRenomination( FILE: icegathererstate.go type ICEGathererState (line 11) | type ICEGathererState method String (line 33) | func (s ICEGathererState) String() string { constant ICEGathererStateUnknown (line 15) | ICEGathererStateUnknown ICEGathererState = iota constant ICEGathererStateNew (line 19) | ICEGathererStateNew constant ICEGathererStateGathering (line 23) | ICEGathererStateGathering constant ICEGathererStateComplete (line 26) | ICEGathererStateComplete constant ICEGathererStateClosed (line 30) | ICEGathererStateClosed function atomicStoreICEGathererState (line 48) | func atomicStoreICEGathererState(state *ICEGathererState, newState ICEGa... function atomicLoadICEGathererState (line 52) | func atomicLoadICEGathererState(state *ICEGathererState) ICEGathererState { FILE: icegathererstate_test.go function TestICEGathererState_String (line 12) | func TestICEGathererState_String(t *testing.T) { FILE: icegatheringstate.go type ICEGatheringState (line 7) | type ICEGatheringState method String (line 48) | func (t ICEGatheringState) String() string { constant ICEGatheringStateUnknown (line 11) | ICEGatheringStateUnknown ICEGatheringState = iota constant ICEGatheringStateNew (line 16) | ICEGatheringStateNew constant ICEGatheringStateGathering (line 20) | ICEGatheringStateGathering constant ICEGatheringStateComplete (line 24) | ICEGatheringStateComplete constant iceGatheringStateNewStr (line 29) | iceGatheringStateNewStr = "new" constant iceGatheringStateGatheringStr (line 30) | iceGatheringStateGatheringStr = "gathering" constant iceGatheringStateCompleteStr (line 31) | iceGatheringStateCompleteStr = "complete" function NewICEGatheringState (line 35) | func NewICEGatheringState(raw string) ICEGatheringState { FILE: icegatheringstate_test.go function TestNewICEGatheringState (line 12) | func TestNewICEGatheringState(t *testing.T) { function TestICEGatheringState_String (line 32) | func TestICEGatheringState_String(t *testing.T) { FILE: icegatheroptions.go type ICEGatherOptions (line 7) | type ICEGatherOptions struct FILE: icemux.go function NewICETCPMux (line 15) | func NewICETCPMux(logger logging.LeveledLogger, listener net.Listener, r... function NewICEUDPMux (line 25) | func NewICEUDPMux(logger logging.LeveledLogger, udpConn net.PacketConn) ... FILE: iceparameters.go type ICEParameters (line 8) | type ICEParameters struct FILE: iceprotocol.go type ICEProtocol (line 13) | type ICEProtocol method String (line 44) | func (t ICEProtocol) String() string { constant ICEProtocolUnknown (line 17) | ICEProtocolUnknown ICEProtocol = iota constant ICEProtocolUDP (line 20) | ICEProtocolUDP constant ICEProtocolTCP (line 23) | ICEProtocolTCP constant iceProtocolUDPStr (line 28) | iceProtocolUDPStr = "udp" constant iceProtocolTCPStr (line 29) | iceProtocolTCPStr = "tcp" function NewICEProtocol (line 33) | func NewICEProtocol(raw string) (ICEProtocol, error) { FILE: iceprotocol_test.go function TestNewICEProtocol (line 12) | func TestNewICEProtocol(t *testing.T) { function TestICEProtocol_String (line 40) | func TestICEProtocol_String(t *testing.T) { FILE: icerole.go type ICERole (line 8) | type ICERole method String (line 42) | func (t ICERole) String() string { method MarshalText (line 54) | func (t ICERole) MarshalText() ([]byte, error) { method UnmarshalText (line 59) | func (t *ICERole) UnmarshalText(b []byte) error { constant ICERoleUnknown (line 12) | ICERoleUnknown ICERole = iota constant ICERoleControlling (line 18) | ICERoleControlling constant ICERoleControlled (line 22) | ICERoleControlled constant iceRoleControllingStr (line 27) | iceRoleControllingStr = "controlling" constant iceRoleControlledStr (line 28) | iceRoleControlledStr = "controlled" function newICERole (line 31) | func newICERole(raw string) ICERole { FILE: icerole_test.go function TestNewICERole (line 12) | func TestNewICERole(t *testing.T) { function TestICERole_String (line 31) | func TestICERole_String(t *testing.T) { FILE: iceserver.go type ICEServer (line 17) | type ICEServer struct method parseURL (line 24) | func (s ICEServer) parseURL(i int) (*stun.URI, error) { method validate (line 28) | func (s ICEServer) validate() error { method urls (line 34) | func (s ICEServer) urls() ([]*stun.URI, error) { //nolint:cyclop method iceserverUnmarshalFields (line 112) | func (s *ICEServer) iceserverUnmarshalFields(fields map[string]any) er... method UnmarshalJSON (line 161) | func (s *ICEServer) UnmarshalJSON(b []byte) error { method MarshalJSON (line 175) | func (s ICEServer) MarshalJSON() ([]byte, error) { function iceserverUnmarshalUrls (line 76) | func iceserverUnmarshalUrls(val any) (*[]string, error) { function iceserverUnmarshalOauth (line 92) | func iceserverUnmarshalOauth(val any) (*OAuthCredential, error) { FILE: iceserver_js.go type ICEServer (line 17) | type ICEServer struct method parseURL (line 25) | func (s ICEServer) parseURL(i int) (*ice.URL, error) { method validate (line 29) | func (s ICEServer) validate() ([]*ice.URL, error) { FILE: iceserver_test.go function TestICEServer_validate (line 17) | func TestICEServer_validate(t *testing.T) { function TestICEServerZeroValue (line 119) | func TestICEServerZeroValue(t *testing.T) { FILE: icetransport.go type ICETransport (line 23) | type ICETransport struct method GetSelectedCandidatePair (line 47) | func (t *ICETransport) GetSelectedCandidatePair() (*ICECandidatePair, ... method GetSelectedCandidatePairStats (line 73) | func (t *ICETransport) GetSelectedCandidatePairStats() (ICECandidatePa... method Start (line 90) | func (t *ICETransport) Start(gatherer *ICEGatherer, params ICEParamete... method restart (line 185) | func (t *ICETransport) restart() error { method Stop (line 205) | func (t *ICETransport) Stop() error { method GracefulStop (line 212) | func (t *ICETransport) GracefulStop() error { method stop (line 216) | func (t *ICETransport) stop(shouldGracefullyClose bool) error { method OnSelectedCandidatePairChange (line 252) | func (t *ICETransport) OnSelectedCandidatePairChange(f func(*ICECandid... method onSelectedCandidatePairChange (line 256) | func (t *ICETransport) onSelectedCandidatePairChange(pair *ICECandidat... method OnConnectionStateChange (line 264) | func (t *ICETransport) OnConnectionStateChange(f func(ICETransportStat... method onConnectionStateChange (line 268) | func (t *ICETransport) onConnectionStateChange(state ICETransportState) { method Role (line 278) | func (t *ICETransport) Role() ICERole { method SetRemoteCandidates (line 286) | func (t *ICETransport) SetRemoteCandidates(remoteCandidates []ICECandi... method AddRemoteCandidate (line 314) | func (t *ICETransport) AddRemoteCandidate(remoteCandidate *ICECandidat... method State (line 342) | func (t *ICETransport) State() ICETransportState { method GetLocalParameters (line 352) | func (t *ICETransport) GetLocalParameters() (ICEParameters, error) { method GetRemoteParameters (line 362) | func (t *ICETransport) GetRemoteParameters() (ICEParameters, error) { method setState (line 382) | func (t *ICETransport) setState(i ICETransportState) { method newEndpoint (line 386) | func (t *ICETransport) newEndpoint(f mux.MatchFunc) *mux.Endpoint { method ensureGatherer (line 393) | func (t *ICETransport) ensureGatherer() error { method Stats (line 406) | func (t *ICETransport) Stats() TransportStats { method collectStats (line 424) | func (t *ICETransport) collectStats(collector *statsReportCollector) { method haveRemoteCredentialsChange (line 430) | func (t *ICETransport) haveRemoteCredentialsChange(newUfrag, newPwd st... method setRemoteCredentials (line 447) | func (t *ICETransport) setRemoteCredentials(newUfrag, newPwd string) e... function NewICETransport (line 78) | func NewICETransport(gatherer *ICEGatherer, loggerFactory logging.Logger... FILE: icetransport_js.go type ICETransport (line 13) | type ICETransport struct method JSValue (line 19) | func (t *ICETransport) JSValue() js.Value { method GetSelectedCandidatePair (line 25) | func (t *ICETransport) GetSelectedCandidatePair() (*ICECandidatePair, ... FILE: icetransport_test.go function TestICETransport_OnConnectionStateChange (line 18) | func TestICETransport_OnConnectionStateChange(t *testing.T) { function TestICETransport_OnSelectedCandidatePairChange (line 58) | func TestICETransport_OnSelectedCandidatePairChange(t *testing.T) { function TestICETransport_GetSelectedCandidatePair (line 92) | func TestICETransport_GetSelectedCandidatePair(t *testing.T) { function TestICETransport_GetLocalAndRemoteParameters (line 128) | func TestICETransport_GetLocalAndRemoteParameters(t *testing.T) { FILE: icetransportpolicy.go type ICETransportPolicy (line 12) | type ICETransportPolicy method String (line 48) | func (t ICETransportPolicy) String() string { method UnmarshalJSON (line 62) | func (t *ICETransportPolicy) UnmarshalJSON(b []byte) error { method MarshalJSON (line 73) | func (t ICETransportPolicy) MarshalJSON() ([]byte, error) { constant ICETransportPolicyAll (line 19) | ICETransportPolicyAll ICETransportPolicy = iota constant ICETransportPolicyRelay (line 23) | ICETransportPolicyRelay constant ICETransportPolicyNoHost (line 26) | ICETransportPolicyNoHost constant iceTransportPolicyRelayStr (line 31) | iceTransportPolicyRelayStr = "relay" constant iceTransportPolicyNoHostStr (line 32) | iceTransportPolicyNoHostStr = "nohost" constant iceTransportPolicyAllStr (line 33) | iceTransportPolicyAllStr = "all" function NewICETransportPolicy (line 37) | func NewICETransportPolicy(raw string) ICETransportPolicy { FILE: icetransportpolicy_test.go function TestNewICETransportPolicy (line 12) | func TestNewICETransportPolicy(t *testing.T) { function TestICETransportPolicy_String (line 31) | func TestICETransportPolicy_String(t *testing.T) { FILE: icetransportstate.go type ICETransportState (line 9) | type ICETransportState method String (line 83) | func (c ICETransportState) String() string { method toICE (line 125) | func (c ICETransportState) toICE() ice.ConnectionState { method MarshalText (line 147) | func (c ICETransportState) MarshalText() ([]byte, error) { method UnmarshalText (line 152) | func (c *ICETransportState) UnmarshalText(b []byte) error { constant ICETransportStateUnknown (line 13) | ICETransportStateUnknown ICETransportState = iota constant ICETransportStateNew (line 17) | ICETransportStateNew constant ICETransportStateChecking (line 22) | ICETransportStateChecking constant ICETransportStateConnected (line 29) | ICETransportStateConnected constant ICETransportStateCompleted (line 34) | ICETransportStateCompleted constant ICETransportStateFailed (line 39) | ICETransportStateFailed constant ICETransportStateDisconnected (line 45) | ICETransportStateDisconnected constant ICETransportStateClosed (line 49) | ICETransportStateClosed constant iceTransportStateNewStr (line 53) | iceTransportStateNewStr = "new" constant iceTransportStateCheckingStr (line 54) | iceTransportStateCheckingStr = "checking" constant iceTransportStateConnectedStr (line 55) | iceTransportStateConnectedStr = "connected" constant iceTransportStateCompletedStr (line 56) | iceTransportStateCompletedStr = "completed" constant iceTransportStateFailedStr (line 57) | iceTransportStateFailedStr = "failed" constant iceTransportStateDisconnectedStr (line 58) | iceTransportStateDisconnectedStr = "disconnected" constant iceTransportStateClosedStr (line 59) | iceTransportStateClosedStr = "closed" function newICETransportState (line 62) | func newICETransportState(raw string) ICETransportState { function newICETransportStateFromICE (line 104) | func newICETransportStateFromICE(i ice.ConnectionState) ICETransportState { FILE: icetransportstate_test.go function TestICETransportState_String (line 13) | func TestICETransportState_String(t *testing.T) { function TestICETransportState_Convert (line 37) | func TestICETransportState_Convert(t *testing.T) { FILE: interceptor.go function RegisterDefaultInterceptors (line 26) | func RegisterDefaultInterceptors(mediaEngine *MediaEngine, interceptorRe... function RegisterDefaultInterceptorsWithOptions (line 33) | func RegisterDefaultInterceptorsWithOptions(mediaEngine *MediaEngine, in... function ConfigureStatsInterceptor (line 77) | func ConfigureStatsInterceptor(interceptorRegistry *interceptor.Registry... function ConfigureStatsInterceptorWithOptions (line 83) | func ConfigureStatsInterceptorWithOptions(interceptorRegistry *intercept... function lookupStats (line 97) | func lookupStats(id string) (stats.Getter, bool) { function cleanupStats (line 108) | func cleanupStats(id string) { function ConfigureRTCPReports (line 116) | func ConfigureRTCPReports(interceptorRegistry *interceptor.Registry) err... function ConfigureRTCPReportsWithOptions (line 122) | func ConfigureRTCPReportsWithOptions(interceptorRegistry *interceptor.Re... function ConfigureNack (line 142) | func ConfigureNack(mediaEngine *MediaEngine, interceptorRegistry *interc... function ConfigureNackWithOptions (line 148) | func ConfigureNackWithOptions(mediaEngine *MediaEngine, interceptorRegis... function ConfigureTWCCHeaderExtensionSender (line 171) | func ConfigureTWCCHeaderExtensionSender(mediaEngine *MediaEngine, interc... function ConfigureTWCCSender (line 196) | func ConfigureTWCCSender(mediaEngine *MediaEngine, interceptorRegistry *... function ConfigureTWCCSenderWithOptions (line 202) | func ConfigureTWCCSenderWithOptions(mediaEngine *MediaEngine, intercepto... function ConfigureCongestionControlFeedback (line 231) | func ConfigureCongestionControlFeedback(mediaEngine *MediaEngine, interc... function ConfigureCongestionControlFeedbackWithOptions (line 237) | func ConfigureCongestionControlFeedbackWithOptions(mediaEngine *MediaEng... function ConfigureSimulcastExtensionHeaders (line 252) | func ConfigureSimulcastExtensionHeaders(mediaEngine *MediaEngine) error { function ConfigureFlexFEC03 (line 275) | func ConfigureFlexFEC03( type interceptorToTrackLocalWriter (line 306) | type interceptorToTrackLocalWriter struct method WriteRTP (line 309) | func (i *interceptorToTrackLocalWriter) WriteRTP(header *rtp.Header, p... method Write (line 318) | func (i *interceptorToTrackLocalWriter) Write(b []byte) (int, error) { function createStreamInfo (line 328) | func createStreamInfo( FILE: interceptor_option.go type interceptorOptions (line 17) | type interceptorOptions struct type InterceptorOption (line 29) | type InterceptorOption function WithInterceptorLoggerFactory (line 32) | func WithInterceptorLoggerFactory(loggerFactory logging.LoggerFactory) I... function WithNackGeneratorOptions (line 39) | func WithNackGeneratorOptions(opts ...nack.GeneratorOption) InterceptorO... function WithNackResponderOptions (line 46) | func WithNackResponderOptions(opts ...nack.ResponderOption) InterceptorO... function WithReportReceiverOptions (line 53) | func WithReportReceiverOptions(opts ...report.ReceiverOption) Intercepto... function WithReportSenderOptions (line 60) | func WithReportSenderOptions(opts ...report.SenderOption) InterceptorOpt... function WithStatsInterceptorOptions (line 67) | func WithStatsInterceptorOptions(opts ...stats.Option) InterceptorOption { function WithTWCCOptions (line 74) | func WithTWCCOptions(opts ...twcc.Option) InterceptorOption { FILE: interceptor_test.go function TestPeerConnection_Interceptor (line 35) | func TestPeerConnection_Interceptor(t *testing.T) { function Test_Interceptor_BindUnbind (line 119) | func Test_Interceptor_BindUnbind(t *testing.T) { //nolint:cyclop function Test_InterceptorRegistry_Build (line 226) | func Test_InterceptorRegistry_Build(t *testing.T) { function TestConfigureFlexFEC03_FECParameters (line 248) | func TestConfigureFlexFEC03_FECParameters(t *testing.T) { function Test_Interceptor_ZeroSSRC (line 316) | func Test_Interceptor_ZeroSSRC(t *testing.T) { function TestStatsInterceptorIsAddedByDefault (line 372) | func TestStatsInterceptorIsAddedByDefault(t *testing.T) { function TestStatsGetterCleanup (line 400) | func TestStatsGetterCleanup(t *testing.T) { function TestInterceptorNack (line 427) | func TestInterceptorNack(t *testing.T) { function testInterceptorNack (line 435) | func testInterceptorNack(t *testing.T, requestNack bool) { //nolint:cyclop function TestNackTriggersSingleRTX (line 582) | func TestNackTriggersSingleRTX(t *testing.T) { //nolint:cyclop function TestNackNotSentForRTX (line 767) | func TestNackNotSentForRTX(t *testing.T) { //nolint:cyclop FILE: internal/fmtp/av1.go type av1FMTP (line 6) | type av1FMTP struct method MimeType (line 10) | func (h *av1FMTP) MimeType() string { method Match (line 14) | func (h *av1FMTP) Match(b FMTP) bool { method Parameter (line 38) | func (h *av1FMTP) Parameter(key string) (string, bool) { FILE: internal/fmtp/fmtp.go function defaultClockRate (line 11) | func defaultClockRate(mimeType string) uint32 { function defaultChannels (line 25) | func defaultChannels(mimeType string) uint16 { function parseParameters (line 37) | func parseParameters(line string) map[string]string { function ClockRateEqual (line 54) | func ClockRateEqual(mimeType string, valA, valB uint32) bool { function ChannelsEqual (line 69) | func ChannelsEqual(mimeType string, valA, valB uint16) bool { function paramsEqual (line 92) | func paramsEqual(valA, valB map[string]string) bool { type FMTP (line 110) | type FMTP interface function Parse (line 123) | func Parse(mimeType string, clockRate uint32, channels uint16, line stri... type genericFMTP (line 156) | type genericFMTP struct method MimeType (line 163) | func (g *genericFMTP) MimeType() string { method Match (line 169) | func (g *genericFMTP) Match(b FMTP) bool { method Parameter (line 181) | func (g *genericFMTP) Parameter(key string) (string, bool) { FILE: internal/fmtp/fmtp_test.go function TestParseParameters (line 12) | func TestParseParameters(t *testing.T) { function TestParse (line 56) | func TestParse(t *testing.T) { function TestMatch (line 141) | func TestMatch(t *testing.T) { //nolint:maintidx FILE: internal/fmtp/h264.go function profileLevelIDMatches (line 10) | func profileLevelIDMatches(a, b string) bool { type h264FMTP (line 23) | type h264FMTP struct method MimeType (line 27) | func (h *h264FMTP) MimeType() string { method Match (line 44) | func (h *h264FMTP) Match(b FMTP) bool { method Parameter (line 82) | func (h *h264FMTP) Parameter(key string) (string, bool) { FILE: internal/fmtp/vp9.go type vp9FMTP (line 6) | type vp9FMTP struct method MimeType (line 10) | func (h *vp9FMTP) MimeType() string { method Match (line 14) | func (h *vp9FMTP) Match(b FMTP) bool { method Parameter (line 38) | func (h *vp9FMTP) Parameter(key string) (string, bool) { FILE: internal/mux/endpoint.go type Endpoint (line 17) | type Endpoint struct method Close (line 24) | func (e *Endpoint) Close() (err error) { method close (line 38) | func (e *Endpoint) close() error { method Read (line 44) | func (e *Endpoint) Read(p []byte) (int, error) { method ReadFrom (line 50) | func (e *Endpoint) ReadFrom(p []byte) (int, net.Addr, error) { method Write (line 57) | func (e *Endpoint) Write(p []byte) (int, error) { method WriteTo (line 69) | func (e *Endpoint) WriteTo(p []byte, _ net.Addr) (int, error) { method LocalAddr (line 74) | func (e *Endpoint) LocalAddr() net.Addr { method RemoteAddr (line 79) | func (e *Endpoint) RemoteAddr() net.Addr { method SetDeadline (line 86) | func (e *Endpoint) SetDeadline(t time.Time) error { method SetReadDeadline (line 93) | func (e *Endpoint) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 99) | func (e *Endpoint) SetWriteDeadline(t time.Time) error { method SetOnClose (line 105) | func (e *Endpoint) SetOnClose(onClose func()) { FILE: internal/mux/mux.go constant maxBufferSize (line 20) | maxBufferSize = 1000 * 1000 constant maxPendingPackets (line 23) | maxPendingPackets = 15 type Config (line 28) | type Config struct type Mux (line 35) | type Mux struct method NewEndpoint (line 64) | func (m *Mux) NewEndpoint(matchFunc MatchFunc) *Endpoint { method RemoveEndpoint (line 83) | func (m *Mux) RemoveEndpoint(e *Endpoint) { method Close (line 90) | func (m *Mux) Close() error { method readLoop (line 115) | func (m *Mux) readLoop() { method dispatch (line 148) | func (m *Mux) dispatch(buf []byte) error { method handlePendingPackets (line 201) | func (m *Mux) handlePendingPackets(endpoint *Endpoint, matchFunc Match... function NewMux (line 49) | func NewMux(config Config) *Mux { FILE: internal/mux/mux_test.go constant testPipeBufferSize (line 19) | testPipeBufferSize = 8192 function TestNoEndpoints (line 21) | func TestNoEndpoints(t *testing.T) { function TestEndpointDeadline (line 36) | func TestEndpointDeadline(t *testing.T) { type writeDeadlineConn (line 78) | type writeDeadlineConn struct method SetWriteDeadline (line 83) | func (w *writeDeadlineConn) SetWriteDeadline(t time.Time) error { function TestEndpointSetWriteDeadline (line 93) | func TestEndpointSetWriteDeadline(t *testing.T) { type writeDeadlineErrorConn (line 118) | type writeDeadlineErrorConn struct method SetDeadline (line 123) | func (w *writeDeadlineErrorConn) SetDeadline(t time.Time) error { function TestEndpointSetDeadlineWriteDeadlineError (line 133) | func TestEndpointSetDeadlineWriteDeadlineError(t *testing.T) { type muxErrorConnReadResult (line 161) | type muxErrorConnReadResult struct type muxErrorConn (line 167) | type muxErrorConn struct method Read (line 172) | func (m *muxErrorConn) Read(b []byte) (n int, err error) { function TestNonFatalRead (line 191) | func TestNonFatalRead(t *testing.T) { function TestNonFatalDispatch (line 237) | func TestNonFatalDispatch(t *testing.T) { function BenchmarkDispatch (line 260) | func BenchmarkDispatch(b *testing.B) { function TestPendingQueue (line 286) | func TestPendingQueue(t *testing.T) { FILE: internal/mux/muxfunc.go type MatchFunc (line 7) | type MatchFunc function MatchAll (line 10) | func MatchAll([]byte) bool { function MatchRange (line 15) | func MatchRange(lower, upper byte, buf []byte) bool { function MatchDTLS (line 40) | func MatchDTLS(b []byte) bool { function MatchSRTPOrSRTCP (line 46) | func MatchSRTPOrSRTCP(b []byte) bool { function isRTCP (line 50) | func isRTCP(buf []byte) bool { function MatchSRTP (line 60) | func MatchSRTP(buf []byte) bool { function MatchSRTCP (line 65) | func MatchSRTCP(buf []byte) bool { FILE: internal/util/util.go constant runesAlpha (line 15) | runesAlpha = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" function MathRandAlpha (line 22) | func MathRandAlpha(n int) string { function RandUint32 (line 27) | func RandUint32() uint32 { function FlattenErrs (line 32) | func FlattenErrs(errs []error) error { type multiError (line 46) | type multiError method Error (line 48) | func (me multiError) Error() string { method Is (line 64) | func (me multiError) Is(err error) bool { FILE: internal/util/util_test.go function TestMathRandAlpha (line 13) | func TestMathRandAlpha(t *testing.T) { function TestMultiError (line 18) | func TestMultiError(t *testing.T) { FILE: js_utils.go function awaitPromise (line 18) | func awaitPromise(promise js.Value) (js.Value, error) { function valueToUint16Pointer (line 48) | func valueToUint16Pointer(val js.Value) *uint16 { function valueToStringPointer (line 56) | func valueToStringPointer(val js.Value) *string { function stringToValueOrUndefined (line 64) | func stringToValueOrUndefined(val string) js.Value { function uint8ToValueOrUndefined (line 71) | func uint8ToValueOrUndefined(val uint8) js.Value { function interfaceToValueOrUndefined (line 78) | func interfaceToValueOrUndefined(val any) js.Value { function valueToStringOrZero (line 85) | func valueToStringOrZero(val js.Value) string { function valueToUint8OrZero (line 92) | func valueToUint8OrZero(val js.Value) uint8 { function valueToUint16OrZero (line 99) | func valueToUint16OrZero(val js.Value) uint16 { function valueToUint32OrZero (line 106) | func valueToUint32OrZero(val js.Value) uint32 { function valueToStrings (line 113) | func valueToStrings(val js.Value) []string { function valueToBoolOrFalse (line 121) | func valueToBoolOrFalse(val js.Value) bool { function valueToBoolPointer (line 129) | func valueToBoolPointer(val js.Value) *bool { function stringPointerToValue (line 138) | func stringPointerToValue(val *string) js.Value { function uint16PointerToValue (line 145) | func uint16PointerToValue(val *uint16) js.Value { function boolToValueOrUndefined (line 152) | func boolToValueOrUndefined(val bool) js.Value { function boolPointerToValue (line 160) | func boolPointerToValue(val *bool) js.Value { function stringsToValue (line 167) | func stringsToValue(strings []string) js.Value { function stringEnumToValueOrUndefined (line 175) | func stringEnumToValueOrUndefined(s string) js.Value { function recoveryToError (line 183) | func recoveryToError(e any) error { function uint8ArrayValueToBytes (line 192) | func uint8ArrayValueToBytes(val js.Value) []byte { FILE: mediaengine.go type mediaEngineHeaderExtension (line 22) | type mediaEngineHeaderExtension struct type MediaEngine (line 32) | type MediaEngine struct method setMultiCodecNegotiation (line 47) | func (m *MediaEngine) setMultiCodecNegotiation(negotiateMultiCodecs bo... method multiCodecNegotiation (line 55) | func (m *MediaEngine) multiCodecNegotiation() bool { method RegisterDefaultCodecs (line 64) | func (m *MediaEngine) RegisterDefaultCodecs() error { method addCodec (line 239) | func (m *MediaEngine) addCodec(codecs []RTPCodecParameters, codec RTPC... method RegisterCodec (line 257) | func (m *MediaEngine) RegisterCodec(codec RTPCodecParameters, typ RTPC... method RegisterHeaderExtension (line 279) | func (m *MediaEngine) RegisterHeaderExtension( method RegisterFeedback (line 326) | func (m *MediaEngine) RegisterFeedback(feedback RTCPFeedback, typ RTPC... method getHeaderExtensionID (line 357) | func (m *MediaEngine) getHeaderExtensionID(extension RTPHeaderExtensio... method copy (line 379) | func (m *MediaEngine) copy() *MediaEngine { method getCodecByPayload (line 404) | func (m *MediaEngine) getCodecByPayload(payloadType PayloadType) (RTPC... method collectStats (line 434) | func (m *MediaEngine) collectStats(collector *statsReportCollector) { method matchRemoteCodec (line 463) | func (m *MediaEngine) matchRemoteCodec( method updateHeaderExtensionFromMediaSection (line 537) | func (m *MediaEngine) updateHeaderExtensionFromMediaSection(media *sdp... method updateHeaderExtension (line 562) | func (m *MediaEngine) updateHeaderExtension(id int, extension string, ... method pushCodecs (line 588) | func (m *MediaEngine) pushCodecs(codecs []RTPCodecParameters, typ RTPC... method updateFromRemoteDescription (line 606) | func (m *MediaEngine) updateFromRemoteDescription(desc sdp.SessionDesc... method getCodecsByKind (line 716) | func (m *MediaEngine) getCodecsByKind(typ RTPCodecType) []RTPCodecPara... method getRTPParametersByKind (line 738) | func (m *MediaEngine) getRTPParametersByKind(typ RTPCodecType, directi... method getRTPParametersByPayloadType (line 796) | func (m *MediaEngine) getRTPParametersByPayloadType(payloadType Payloa... method isRTXEnabled (line 842) | func (m *MediaEngine) isRTXEnabled(typ RTPCodecType, directions []RTPT... method isFECEnabled (line 852) | func (m *MediaEngine) isFECEnabled(typ RTPCodecType, directions []RTPT... function findCodecByPayload (line 394) | func findCodecByPayload(codecs []RTPCodecParameters, payloadType Payload... function payloaderForCodec (line 817) | func payloaderForCodec(codec RTPCodecCapability) (rtp.Payloader, error) { FILE: mediaengine_test.go function TestOpusCase (line 21) | func TestOpusCase(t *testing.T) { function TestVideoCase (line 37) | func TestVideoCase(t *testing.T) { function TestMediaEngineRemoteDescription (line 53) | func TestMediaEngineRemoteDescription(t *testing.T) { //nolint:maintidx function TestMediaEngineHeaderExtensionDirection (line 482) | func TestMediaEngineHeaderExtensionDirection(t *testing.T) { function TestMediaEngineDoubleRegister (line 576) | func TestMediaEngineDoubleRegister(t *testing.T) { function TestMediaEngineDoubleRegisterDifferentCodec (line 646) | func TestMediaEngineDoubleRegisterDifferentCodec(t *testing.T) { function TestUpdateHeaderExtenstionToClonedMediaEngine (line 665) | func TestUpdateHeaderExtenstionToClonedMediaEngine(t *testing.T) { function TestExtensionIdCollision (line 689) | func TestExtensionIdCollision(t *testing.T) { function TestCaseInsensitiveMimeType (line 785) | func TestCaseInsensitiveMimeType(t *testing.T) { function TestRTCPFeedbackHandling (line 877) | func TestRTCPFeedbackHandling(t *testing.T) { function TestMultiCodecNegotiation (line 949) | func TestMultiCodecNegotiation(t *testing.T) { FILE: mimetype.go constant MimeTypeH264 (line 9) | MimeTypeH264 = "video/H264" constant MimeTypeH265 (line 12) | MimeTypeH265 = "video/H265" constant MimeTypeOpus (line 15) | MimeTypeOpus = "audio/opus" constant MimeTypeVP8 (line 18) | MimeTypeVP8 = "video/VP8" constant MimeTypeVP9 (line 21) | MimeTypeVP9 = "video/VP9" constant MimeTypeAV1 (line 24) | MimeTypeAV1 = "video/AV1" constant MimeTypeG722 (line 27) | MimeTypeG722 = "audio/G722" constant MimeTypePCMU (line 30) | MimeTypePCMU = "audio/PCMU" constant MimeTypePCMA (line 33) | MimeTypePCMA = "audio/PCMA" constant MimeTypeRTX (line 36) | MimeTypeRTX = "video/rtx" constant MimeTypeFlexFEC (line 39) | MimeTypeFlexFEC = "video/flexfec" constant MimeTypeFlexFEC03 (line 42) | MimeTypeFlexFEC03 = "video/flexfec-03" constant MimeTypeUlpFEC (line 45) | MimeTypeUlpFEC = "video/ulpfec" FILE: networktype.go function supportedNetworkTypes (line 12) | func supportedNetworkTypes() []NetworkType { type NetworkType (line 22) | type NetworkType method String (line 49) | func (t NetworkType) String() string { method Protocol (line 65) | func (t NetworkType) Protocol() string { //nolint:staticcheck method toICE (line 125) | func (networkType NetworkType) toICE() ice.NetworkType { constant NetworkTypeUnknown (line 26) | NetworkTypeUnknown NetworkType = iota constant NetworkTypeUDP4 (line 29) | NetworkTypeUDP4 constant NetworkTypeUDP6 (line 32) | NetworkTypeUDP6 constant NetworkTypeTCP4 (line 35) | NetworkTypeTCP4 constant NetworkTypeTCP6 (line 38) | NetworkTypeTCP6 constant networkTypeUDP4Str (line 43) | networkTypeUDP4Str = "udp4" constant networkTypeUDP6Str (line 44) | networkTypeUDP6Str = "udp6" constant networkTypeTCP4Str (line 45) | networkTypeTCP4Str = "tcp4" constant networkTypeTCP6Str (line 46) | networkTypeTCP6Str = "tcp6" function NewNetworkType (line 82) | func NewNetworkType(raw string) (NetworkType, error) { function getNetworkType (line 97) | func getNetworkType(iceNetworkType ice.NetworkType) (NetworkType, error) { function toICENetworkTypes (line 112) | func toICENetworkTypes(networkTypes []NetworkType) []ice.NetworkType { FILE: networktype_test.go function TestNetworkType_String (line 12) | func TestNetworkType_String(t *testing.T) { function TestNetworkType (line 33) | func TestNetworkType(t *testing.T) { FILE: oauthcredential.go type OAuthCredential (line 10) | type OAuthCredential struct FILE: offeransweroptions.go type OfferAnswerOptions (line 8) | type OfferAnswerOptions struct type AnswerOptions (line 20) | type AnswerOptions struct type OfferOptions (line 26) | type OfferOptions struct FILE: operations.go type operation (line 13) | type operation type operations (line 16) | type operations struct method Enqueue (line 41) | func (o *operations) Enqueue(op operation) { method tryEnqueue (line 50) | func (o *operations) tryEnqueue(op operation) bool { method IsEmpty (line 69) | func (o *operations) IsEmpty() bool { method Done (line 78) | func (o *operations) Done() { method GracefulClose (line 94) | func (o *operations) GracefulClose() { method pop (line 114) | func (o *operations) pop() func() { method start (line 130) | func (o *operations) start() { function newOperations (line 26) | func newOperations( FILE: operations_test.go function TestOperations_Enqueue (line 14) | func TestOperations_Enqueue(t *testing.T) { function TestOperations_Done (line 49) | func TestOperations_Done(*testing.T) { function TestOperations_GracefulClose (line 56) | func TestOperations_GracefulClose(t *testing.T) { FILE: ortc_datachannel_test.go function TestDataChannel_ORTC_SCTPTransport (line 17) | func TestDataChannel_ORTC_SCTPTransport(t *testing.T) { function TestDataChannel_ORTCE2E (line 47) | func TestDataChannel_ORTCE2E(t *testing.T) { FILE: ortc_media_test.go function Test_ORTC_Media (line 18) | func Test_ORTC_Media(t *testing.T) { FILE: ortc_test.go type testORTCStack (line 12) | type testORTCStack struct method setSignal (line 20) | func (s *testORTCStack) setSignal(sig *testORTCSignal, isOffer bool) e... method getSignal (line 52) | func (s *testORTCStack) getSignal() (*testORTCSignal, error) { method close (line 90) | func (s *testORTCStack) close() error { type testORTCSignal (line 104) | type testORTCSignal struct function newORTCPair (line 111) | func newORTCPair() (stackA *testORTCStack, stackB *testORTCStack, err er... function newORTCStack (line 125) | func newORTCStack() (*testORTCStack, error) { function signalORTCPair (line 156) | func signalORTCPair(stackA *testORTCStack, stackB *testORTCStack) error { FILE: peerconnection.go type PeerConnection (line 35) | type PeerConnection struct method initConfiguration (line 218) | func (pc *PeerConnection) initConfiguration(configuration Configuratio... method OnSignalingStateChange (line 280) | func (pc *PeerConnection) OnSignalingStateChange(f func(SignalingState... method onSignalingStateChange (line 286) | func (pc *PeerConnection) onSignalingStateChange(newState SignalingSta... method OnDataChannel (line 299) | func (pc *PeerConnection) OnDataChannel(f func(*DataChannel)) { method OnNegotiationNeeded (line 307) | func (pc *PeerConnection) OnNegotiationNeeded(f func()) { method onNegotiationNeeded (line 314) | func (pc *PeerConnection) onNegotiationNeeded() { method negotiationNeededOp (line 326) | func (pc *PeerConnection) negotiationNeededOp() { method checkNegotiationNeeded (line 369) | func (pc *PeerConnection) checkNegotiationNeeded() bool { //nolint:goc... method OnICECandidate (line 461) | func (pc *PeerConnection) OnICECandidate(f func(*ICECandidate)) { method OnICEGatheringStateChange (line 467) | func (pc *PeerConnection) OnICEGatheringStateChange(f func(ICEGatherin... method OnTrack (line 483) | func (pc *PeerConnection) OnTrack(f func(*TrackRemote, *RTPReceiver)) { method onTrack (line 489) | func (pc *PeerConnection) onTrack(t *TrackRemote, r *RTPReceiver) { method OnICEConnectionStateChange (line 506) | func (pc *PeerConnection) OnICEConnectionStateChange(f func(ICEConnect... method onICEConnectionStateChange (line 510) | func (pc *PeerConnection) onICEConnectionStateChange(cs ICEConnectionS... method OnConnectionStateChange (line 520) | func (pc *PeerConnection) OnConnectionStateChange(f func(PeerConnectio... method onConnectionStateChange (line 524) | func (pc *PeerConnection) onConnectionStateChange(cs PeerConnectionSta... method SetConfiguration (line 534) | func (pc *PeerConnection) SetConfiguration(configuration Configuration... method GetConfiguration (line 636) | func (pc *PeerConnection) GetConfiguration() Configuration { method ID (line 640) | func (pc *PeerConnection) ID() string { method hasLocalDescriptionChanged (line 649) | func (pc *PeerConnection) hasLocalDescriptionChanged(desc *SessionDesc... method CreateOffer (line 668) | func (pc *PeerConnection) CreateOffer(options *OfferOptions) (SessionD... method createICEGatherer (line 798) | func (pc *PeerConnection) createICEGatherer() (*ICEGatherer, error) { method updateConnectionState (line 815) | func (pc *PeerConnection) updateConnectionState( method createICETransport (line 861) | func (pc *PeerConnection) createICETransport() *ICETransport { method CreateAnswer (line 895) | func (pc *PeerConnection) CreateAnswer(options *AnswerOptions) (Sessio... method setDescription (line 969) | func (pc *PeerConnection) setDescription(sd *SessionDescription, op st... method SetLocalDescription (line 1089) | func (pc *PeerConnection) SetLocalDescription(desc SessionDescription)... method LocalDescription (line 1151) | func (pc *PeerConnection) LocalDescription() *SessionDescription { method SetRemoteDescription (line 1162) | func (pc *PeerConnection) SetRemoteDescription(desc SessionDescription... method configureReceiver (line 1370) | func (pc *PeerConnection) configureReceiver(incoming trackDetails, rec... method startReceiver (line 1383) | func (pc *PeerConnection) startReceiver(incoming trackDetails, receive... method configureRTPReceivers (line 1502) | func (pc *PeerConnection) configureRTPReceivers( method startRTPReceivers (line 1593) | func (pc *PeerConnection) startRTPReceivers(remoteDesc *SessionDescrip... method startRTPSenders (line 1636) | func (pc *PeerConnection) startRTPSenders(currentTransceivers []*RTPTr... method startSCTP (line 1650) | func (pc *PeerConnection) startSCTP(maxMessageSize uint32) { method handleUndeclaredSSRC (line 1664) | func (pc *PeerConnection) handleUndeclaredSSRC( method findMediaSectionByPayloadType (line 1720) | func (pc *PeerConnection) findMediaSectionByPayloadType( method handleNonMediaBandwidthProbe (line 1751) | func (pc *PeerConnection) handleNonMediaBandwidthProbe() { method handleIncomingSSRC (line 1778) | func (pc *PeerConnection) handleIncomingSSRC(rtpStream *srtp.ReadStrea... method undeclaredMediaProcessor (line 1957) | func (pc *PeerConnection) undeclaredMediaProcessor() { method undeclaredRTPMediaProcessor (line 1962) | func (pc *PeerConnection) undeclaredRTPMediaProcessor() { //nolint:cyclop method undeclaredRTCPMediaProcessor (line 2029) | func (pc *PeerConnection) undeclaredRTCPMediaProcessor() { method RemoteDescription (line 2059) | func (pc *PeerConnection) RemoteDescription() *SessionDescription { method AddICECandidate (line 2072) | func (pc *PeerConnection) AddICECandidate(candidate ICECandidateInit) ... method descriptionContainsUfrag (line 2118) | func (pc *PeerConnection) descriptionContainsUfrag(sdp *sdp.SessionDes... method ICEConnectionState (line 2136) | func (pc *PeerConnection) ICEConnectionState() ICEConnectionState { method GetSenders (line 2145) | func (pc *PeerConnection) GetSenders() (result []*RTPSender) { method GetReceivers (line 2159) | func (pc *PeerConnection) GetReceivers() (receivers []*RTPReceiver) { method GetTransceivers (line 2173) | func (pc *PeerConnection) GetTransceivers() []*RTPTransceiver { method AddTrack (line 2183) | func (pc *PeerConnection) AddTrack(track TrackLocal) (*RTPSender, erro... method RemoveTrack (line 2221) | func (pc *PeerConnection) RemoveTrack(sender *RTPSender) (err error) { method newTransceiverFromTrack (line 2249) | func (pc *PeerConnection) newTransceiverFromTrack( method AddTransceiverFromKind (line 2286) | func (pc *PeerConnection) AddTransceiverFromKind( method AddTransceiverFromTrack (line 2331) | func (pc *PeerConnection) AddTransceiverFromTrack( method CreateDataChannel (line 2361) | func (pc *PeerConnection) CreateDataChannel(label string, options *Dat... method SetIdentityProvider (line 2444) | func (pc *PeerConnection) SetIdentityProvider(string) error { method WriteRTCP (line 2450) | func (pc *PeerConnection) WriteRTCP(pkts []rtcp.Packet) error { method writeRTCP (line 2456) | func (pc *PeerConnection) writeRTCP(pkts []rtcp.Packet, _ interceptor.... method Close (line 2461) | func (pc *PeerConnection) Close() error { method GracefulClose (line 2468) | func (pc *PeerConnection) GracefulClose() error { method close (line 2472) | func (pc *PeerConnection) close(shouldGracefullyClose bool) error { //... method addRTPTransceiver (line 2600) | func (pc *PeerConnection) addRTPTransceiver(t *RTPTransceiver) { method CurrentLocalDescription (line 2609) | func (pc *PeerConnection) CurrentLocalDescription() *SessionDescription { method PendingLocalDescription (line 2624) | func (pc *PeerConnection) PendingLocalDescription() *SessionDescription { method CurrentRemoteDescription (line 2639) | func (pc *PeerConnection) CurrentRemoteDescription() *SessionDescripti... method PendingRemoteDescription (line 2651) | func (pc *PeerConnection) PendingRemoteDescription() *SessionDescripti... method CanTrickleICECandidates (line 2660) | func (pc *PeerConnection) CanTrickleICECandidates() ICETrickleCapabili... method SignalingState (line 2669) | func (pc *PeerConnection) SignalingState() SignalingState { method ICEGatheringState (line 2675) | func (pc *PeerConnection) ICEGatheringState() ICEGatheringState { method ConnectionState (line 2692) | func (pc *PeerConnection) ConnectionState() PeerConnectionState { method GetStats (line 2701) | func (pc *PeerConnection) GetStats() StatsReport { method startTransports (line 2767) | func (pc *PeerConnection) startTransports( method startRTP (line 2815) | func (pc *PeerConnection) startRTP( method generateUnmatchedSDP (line 2834) | func (pc *PeerConnection) generateUnmatchedSDP( method generateMatchedSDP (line 2927) | func (pc *PeerConnection) generateMatchedSDP( method setGatherCompleteHandler (line 3096) | func (pc *PeerConnection) setGatherCompleteHandler(handler func()) { method SCTP (line 3104) | func (pc *PeerConnection) SCTP() *SCTPTransport { function NewPeerConnection (line 104) | func NewPeerConnection(configuration Configuration) (*PeerConnection, er... method NewPeerConnection (line 115) | func (api *API) NewPeerConnection(configuration Configuration) (*PeerCon... function setRTPTransceiverCurrentDirection (line 1421) | func setRTPTransceiverCurrentDirection( function runIfNewReceiver (line 1473) | func runIfNewReceiver( FILE: peerconnection_close_test.go function TestPeerConnection_Close (line 18) | func TestPeerConnection_Close(t *testing.T) { function TestPeerConnection_Close_PreICE (line 59) | func TestPeerConnection_Close_PreICE(t *testing.T) { function TestPeerConnection_Close_DuringICE (line 92) | func TestPeerConnection_Close_DuringICE(t *testing.T) { //nolint:cyclop function TestPeerConnection_Close_DuringICEGathering (line 147) | func TestPeerConnection_Close_DuringICEGathering(t *testing.T) { //nolin... function TestPeerConnection_GracefulCloseWithIncomingMessages (line 177) | func TestPeerConnection_GracefulCloseWithIncomingMessages(t *testing.T) { function TestPeerConnection_GracefulCloseWhileOpening (line 230) | func TestPeerConnection_GracefulCloseWhileOpening(t *testing.T) { function TestPeerConnection_GracefulCloseConcurrent (line 258) | func TestPeerConnection_GracefulCloseConcurrent(t *testing.T) { FILE: peerconnection_go_test.go method newPair (line 42) | func (api *API) newPair(cfg Configuration) (pcOffer *PeerConnection, pcA... function TestNew_Go (line 56) | func TestNew_Go(t *testing.T) { function TestPeerConnection_SetConfiguration_Go (line 170) | func TestPeerConnection_SetConfiguration_Go(t *testing.T) { function TestPeerConnection_GetConfiguration_Go (line 300) | func TestPeerConnection_GetConfiguration_Go(t *testing.T) { function TestPeerConnection_EventHandlers_Go (line 310) | func TestPeerConnection_EventHandlers_Go(t *testing.T) { function TestPeerConnection_ShutdownNoDTLS (line 366) | func TestPeerConnection_ShutdownNoDTLS(t *testing.T) { function TestPeerConnection_PropertyGetters (line 403) | func TestPeerConnection_PropertyGetters(t *testing.T) { function TestPeerConnection_AnswerWithoutOffer (line 423) | func TestPeerConnection_AnswerWithoutOffer(t *testing.T) { function TestPeerConnection_AnswerWithClosedConnection (line 435) | func TestPeerConnection_AnswerWithClosedConnection(t *testing.T) { function TestPeerConnection_satisfyTypeAndDirection (line 467) | func TestPeerConnection_satisfyTypeAndDirection(t *testing.T) { function TestOneAttrKeyConnectionSetupPerMediaDescriptionInSDP (line 548) | func TestOneAttrKeyConnectionSetupPerMediaDescriptionInSDP(t *testing.T) { function TestPeerConnection_IceLite (line 575) | func TestPeerConnection_IceLite(t *testing.T) { function TestOnICEGatheringStateChange (line 616) | func TestOnICEGatheringStateChange(t *testing.T) { function TestPeerConnectionTrickle (line 658) | func TestPeerConnectionTrickle(t *testing.T) { //nolint:cyclop function TestPopulateLocalCandidates (line 753) | func TestPopulateLocalCandidates(t *testing.T) { function TestMulticastDNSCandidates (line 793) | func TestMulticastDNSCandidates(t *testing.T) { function TestMulticastDNSHostNameConnection (line 817) | func TestMulticastDNSHostNameConnection(t *testing.T) { function TestICERestart (line 881) | func TestICERestart(t *testing.T) { function TestICERestart_Error_Handling (line 961) | func TestICERestart_Error_Handling(t *testing.T) { function TestPeerConnection_ICERestart_SetConfiguration_NewServers (line 1064) | func TestPeerConnection_ICERestart_SetConfiguration_NewServers(t *testin... type trackRecords (line 1198) | type trackRecords struct method newTrack (line 1204) | func (r *trackRecords) newTrack() (*TrackLocalStaticRTP, error) { method handleTrack (line 1212) | func (r *trackRecords) handleTrack(t *TrackRemote, _ *RTPReceiver) { method remains (line 1221) | func (r *trackRecords) remains() int { function TestPeerConnection_MassiveTracks (line 1230) | func TestPeerConnection_MassiveTracks(t *testing.T) { //nolint:cyclop function TestEmptyCandidate (line 1315) | func TestEmptyCandidate(t *testing.T) { constant liteOffer (line 1348) | liteOffer = `v=0 function TestICELite (line 1364) | func TestICELite(t *testing.T) { function TestPeerConnection_TransceiverDirection (line 1383) | func TestPeerConnection_TransceiverDirection(t *testing.T) { function TestPeerConnection_MediaDirectionInSDP (line 1507) | func TestPeerConnection_MediaDirectionInSDP(t *testing.T) { function TestPeerConnectionNilCallback (line 1647) | func TestPeerConnectionNilCallback(t *testing.T) { function TestTransceiverCreatedByRemoteSdpHasSameCodecOrderAsRemote (line 1684) | func TestTransceiverCreatedByRemoteSdpHasSameCodecOrderAsRemote(t *testi... function TestInvalidCandidateTransport (line 1856) | func TestInvalidCandidateTransport(t *testing.T) { function TestOfferWithInactiveDirection (line 1882) | func TestOfferWithInactiveDirection(t *testing.T) { function TestPeerConnectionState (line 1913) | func TestPeerConnectionState(t *testing.T) { function TestPeerConnectionDeadlock (line 1949) | func TestPeerConnectionDeadlock(t *testing.T) { function TestPeerConnectionNoNULLCipherDefault (line 1985) | func TestPeerConnectionNoNULLCipherDefault(t *testing.T) { function TestICETricklingSupported (line 2009) | func TestICETricklingSupported(t *testing.T) { function TestICERenominationAdvertised (line 2061) | func TestICERenominationAdvertised(t *testing.T) { function TestPeerConnectionTrickleMediaStreamIdentification (line 2118) | func TestPeerConnectionTrickleMediaStreamIdentification(t *testing.T) { function TestTranceiverMediaStreamIdentification (line 2224) | func TestTranceiverMediaStreamIdentification(t *testing.T) { function Test_WriteRTCP_Disconnected (line 2308) | func Test_WriteRTCP_Disconnected(t *testing.T) { function Test_IPv6 (line 2319) | func Test_IPv6(t *testing.T) { //nolint: cyclop type testICELogger (line 2394) | type testICELogger struct method Trace (line 2398) | func (t *testICELogger) Trace(string) {} method Tracef (line 2399) | func (t *testICELogger) Tracef(string, ...any) {} method Debug (line 2400) | func (t *testICELogger) Debug(string) {} method Debugf (line 2401) | func (t *testICELogger) Debugf(string, ...any) {} method Info (line 2402) | func (t *testICELogger) Info(string) {} method Infof (line 2403) | func (t *testICELogger) Infof(string, ...any) {} method Warn (line 2404) | func (t *testICELogger) Warn(string) {} method Warnf (line 2405) | func (t *testICELogger) Warnf(string, ...any) {} method Error (line 2406) | func (t *testICELogger) Error(msg string) { t.lastErrorMessage = ... method Errorf (line 2407) | func (t *testICELogger) Errorf(format string, args ...any) { type testICELoggerFactory (line 2411) | type testICELoggerFactory struct method NewLogger (line 2415) | func (t *testICELoggerFactory) NewLogger(string) logging.LeveledLogger { function TestAddICECandidate__DroppingOldGenerationCandidates (line 2419) | func TestAddICECandidate__DroppingOldGenerationCandidates(t *testing.T) { function TestPeerConnectionCanTrickleICECandidatesGo (line 2482) | func TestPeerConnectionCanTrickleICECandidatesGo(t *testing.T) { function TestCreateAnswerActiveOfferPassiveAnswer (line 2519) | func TestCreateAnswerActiveOfferPassiveAnswer(t *testing.T) { function TestCreateAnswerPassiveOfferActiveAnswer (line 2532) | func TestCreateAnswerPassiveOfferActiveAnswer(t *testing.T) { function TestAlwaysNegotiateDataChannel_InitialOffer_Go (line 2545) | func TestAlwaysNegotiateDataChannel_InitialOffer_Go(t *testing.T) { function TestAlwaysNegotiateDataChannels_CreateDataChannel (line 2563) | func TestAlwaysNegotiateDataChannels_CreateDataChannel(t *testing.T) { /... function TestNoDuplicatedAttributesInMediaDescriptions (line 2672) | func TestNoDuplicatedAttributesInMediaDescriptions(t *testing.T) { //nol... FILE: peerconnection_js.go type PeerConnection (line 20) | type PeerConnection struct method JSValue (line 63) | func (pc *PeerConnection) JSValue() js.Value { method OnSignalingStateChange (line 69) | func (pc *PeerConnection) OnSignalingStateChange(f func(SignalingState... method OnDataChannel (line 85) | func (pc *PeerConnection) OnDataChannel(f func(*DataChannel)) { method OnNegotiationNeeded (line 110) | func (pc *PeerConnection) OnNegotiationNeeded(f func()) { method OnICEConnectionStateChange (line 125) | func (pc *PeerConnection) OnICEConnectionStateChange(f func(ICEConnect... method OnConnectionStateChange (line 141) | func (pc *PeerConnection) OnConnectionStateChange(f func(PeerConnectio... method checkConfiguration (line 155) | func (pc *PeerConnection) checkConfiguration(configuration Configurati... method SetConfiguration (line 219) | func (pc *PeerConnection) SetConfiguration(configuration Configuration... method GetConfiguration (line 238) | func (pc *PeerConnection) GetConfiguration() Configuration { method CreateOffer (line 243) | func (pc *PeerConnection) CreateOffer(options *OfferOptions) (_ Sessio... method CreateAnswer (line 258) | func (pc *PeerConnection) CreateAnswer(options *AnswerOptions) (_ Sess... method SetLocalDescription (line 273) | func (pc *PeerConnection) SetLocalDescription(desc SessionDescription)... method LocalDescription (line 288) | func (pc *PeerConnection) LocalDescription() *SessionDescription { method SetRemoteDescription (line 293) | func (pc *PeerConnection) SetRemoteDescription(desc SessionDescription... method RemoteDescription (line 308) | func (pc *PeerConnection) RemoteDescription() *SessionDescription { method AddICECandidate (line 314) | func (pc *PeerConnection) AddICECandidate(candidate ICECandidateInit) ... method ICEConnectionState (line 327) | func (pc *PeerConnection) ICEConnectionState() ICEConnectionState { method OnICECandidate (line 333) | func (pc *PeerConnection) OnICECandidate(f func(candidate *ICECandidat... method OnICEGatheringStateChange (line 353) | func (pc *PeerConnection) OnICEGatheringStateChange(f func()) { method CreateDataChannel (line 369) | func (pc *PeerConnection) CreateDataChannel(label string, options *Dat... method SetIdentityProvider (line 383) | func (pc *PeerConnection) SetIdentityProvider(provider string) (err er... method Close (line 394) | func (pc *PeerConnection) Close() (err error) { method CurrentLocalDescription (line 433) | func (pc *PeerConnection) CurrentLocalDescription() *SessionDescription { method PendingLocalDescription (line 442) | func (pc *PeerConnection) PendingLocalDescription() *SessionDescription { method CurrentRemoteDescription (line 451) | func (pc *PeerConnection) CurrentRemoteDescription() *SessionDescripti... method PendingRemoteDescription (line 461) | func (pc *PeerConnection) PendingRemoteDescription() *SessionDescripti... method CanTrickleICECandidates (line 468) | func (pc *PeerConnection) CanTrickleICECandidates() ICETrickleCapabili... method SignalingState (line 482) | func (pc *PeerConnection) SignalingState() SignalingState { method ICEGatheringState (line 489) | func (pc *PeerConnection) ICEGatheringState() ICEGatheringState { method ConnectionState (line 496) | func (pc *PeerConnection) ConnectionState() PeerConnectionState { method setGatherCompleteHandler (line 501) | func (pc *PeerConnection) setGatherCompleteHandler(handler func()) { method AddTransceiverFromKind (line 512) | func (pc *PeerConnection) AddTransceiverFromKind(kind RTPCodecType, in... method GetTransceivers (line 531) | func (pc *PeerConnection) GetTransceivers() (transceivers []*RTPTransc... method SCTP (line 548) | func (pc *PeerConnection) SCTP() *SCTPTransport { function NewPeerConnection (line 42) | func NewPeerConnection(configuration Configuration) (*PeerConnection, er... method NewPeerConnection (line 48) | func (api *API) NewPeerConnection(configuration Configuration) (_ *PeerC... function configurationToValue (line 562) | func configurationToValue(configuration Configuration) js.Value { function iceServersToValue (line 577) | func iceServersToValue(iceServers []ICEServer) js.Value { function oauthCredentialToValue (line 588) | func oauthCredentialToValue(o OAuthCredential) js.Value { function iceServerToValue (line 596) | func iceServerToValue(server ICEServer) js.Value { function valueToConfiguration (line 615) | func valueToConfiguration(configValue js.Value) Configuration { function valueToICEServers (line 633) | func valueToICEServers(iceServersValue js.Value) []ICEServer { function valueToICECredential (line 644) | func valueToICECredential(iceCredentialValue js.Value) any { function valueToICEServer (line 660) | func valueToICEServer(iceServerValue js.Value) ICEServer { function valueToICECandidate (line 676) | func valueToICECandidate(val js.Value) *ICECandidate { function stringToComponentIDOrZero (line 709) | func stringToComponentIDOrZero(val string) uint16 { function sessionDescriptionToValue (line 720) | func sessionDescriptionToValue(desc *SessionDescription) js.Value { function valueToSessionDescription (line 730) | func valueToSessionDescription(descValue js.Value) *SessionDescription { function offerOptionsToValue (line 741) | func offerOptionsToValue(offerOptions *OfferOptions) js.Value { function answerOptionsToValue (line 751) | func answerOptionsToValue(answerOptions *AnswerOptions) js.Value { function iceCandidateInitToValue (line 760) | func iceCandidateInitToValue(candidate ICECandidateInit) js.Value { function dataChannelInitToValue (line 769) | func dataChannelInitToValue(options *DataChannelInit) js.Value { function rtpTransceiverInitInitToValue (line 788) | func rtpTransceiverInitInitToValue(init RTPTransceiverInit) js.Value { FILE: peerconnection_js_test.go function TestValueToICECandidate (line 14) | func TestValueToICECandidate(t *testing.T) { function TestValueToICEServer (line 76) | func TestValueToICEServer(t *testing.T) { function TestPeerConnectionCanTrickleICECandidatesJS (line 108) | func TestPeerConnectionCanTrickleICECandidatesJS(t *testing.T) { function TestDTLSTransportGetRemoteCertificateMock (line 125) | func TestDTLSTransportGetRemoteCertificateMock(t *testing.T) { FILE: peerconnection_media_test.go function TestPeerConnection_Media_Sample (line 49) | func TestPeerConnection_Media_Sample(t *testing.T) { function TestPeerConnection_Media_Shutdown (line 232) | func TestPeerConnection_Media_Shutdown(t *testing.T) { //nolint:cyclop function TestPeerConnection_Media_Disconnected (line 315) | func TestPeerConnection_Media_Disconnected(t *testing.T) { //nolint:cyclop type undeclaredSsrcLogger (line 380) | type undeclaredSsrcLogger struct method Trace (line 382) | func (u *undeclaredSsrcLogger) Trace(string) {} method Tracef (line 383) | func (u *undeclaredSsrcLogger) Tracef(string, ...any) {} method Debug (line 384) | func (u *undeclaredSsrcLogger) Debug(string) {} method Debugf (line 385) | func (u *undeclaredSsrcLogger) Debugf(string, ...any) {} method Info (line 386) | func (u *undeclaredSsrcLogger) Info(string) {} method Infof (line 387) | func (u *undeclaredSsrcLogger) Infof(string, ...any) {} method Warn (line 388) | func (u *undeclaredSsrcLogger) Warn(string) {} method Warnf (line 389) | func (u *undeclaredSsrcLogger) Warnf(string, ...any) {} method Error (line 390) | func (u *undeclaredSsrcLogger) Error(string) {} method Errorf (line 391) | func (u *undeclaredSsrcLogger) Errorf(format string, _ ...any) { type undeclaredSsrcLoggerFactory (line 397) | type undeclaredSsrcLoggerFactory struct method NewLogger (line 399) | func (u *undeclaredSsrcLoggerFactory) NewLogger(string) logging.Levele... function filterSsrc (line 404) | func filterSsrc(offer string) (filteredSDP string) { function filterSDPExtensions (line 418) | func filterSDPExtensions(offer string) (filteredSDP string) { function TestUndeclaredSSRC (line 434) | func TestUndeclaredSSRC(t *testing.T) { function TestAddTransceiverFromTrackSendOnly (line 644) | func TestAddTransceiverFromTrackSendOnly(t *testing.T) { function TestAddTransceiverFromTrackSendRecv (line 682) | func TestAddTransceiverFromTrackSendRecv(t *testing.T) { function TestAddTransceiverAddTrack_Reuse (line 717) | func TestAddTransceiverAddTrack_Reuse(t *testing.T) { function TestAddTransceiverFromRemoteDescription (line 893) | func TestAddTransceiverFromRemoteDescription(t *testing.T) { function TestAddTransceiverAddTrack_NewRTPSender_Error (line 1071) | func TestAddTransceiverAddTrack_NewRTPSender_Error(t *testing.T) { function TestRtpSenderReceiver_ReadClose_Error (line 1096) | func TestRtpSenderReceiver_ReadClose_Error(t *testing.T) { function TestAddTransceiverFromKind (line 1119) | func TestAddTransceiverFromKind(t *testing.T) { function TestAddTransceiverFromTrackFailsRecvOnly (line 1147) | func TestAddTransceiverFromTrackFailsRecvOnly(t *testing.T) { function TestPlanBMediaExchange (line 1180) | func TestPlanBMediaExchange(t *testing.T) { function TestPeerConnection_Start_Only_Negotiated_Senders (line 1259) | func TestPeerConnection_Start_Only_Negotiated_Senders(t *testing.T) { function TestPeerConnection_Start_Right_Receiver (line 1315) | func TestPeerConnection_Start_Right_Receiver(t *testing.T) { function TestPeerConnection_Simulcast_Probe (line 1400) | func TestPeerConnection_Simulcast_Probe(t *testing.T) { function TestPeerConnection_CreateOffer_NoCodecs (line 1673) | func TestPeerConnection_CreateOffer_NoCodecs(t *testing.T) { function TestPeerConnection_RaceReplaceTrack (line 1698) | func TestPeerConnection_RaceReplaceTrack(t *testing.T) { function TestPeerConnection_Simulcast (line 1745) | func TestPeerConnection_Simulcast(t *testing.T) { //nolint:cyclop type simulcastTestTrackLocal (line 1943) | type simulcastTestTrackLocal struct method WriteRTP (line 1948) | func (s *simulcastTestTrackLocal) WriteRTP(pkt *rtp.Packet) error { function TestPeerConnection_Simulcast_RTX (line 1969) | func TestPeerConnection_Simulcast_RTX(t *testing.T) { //nolint:cyclop function TestPeerConnection_Simulcast_LateRIDRSIDAfterReceiverClosed (line 2166) | func TestPeerConnection_Simulcast_LateRIDRSIDAfterReceiverClosed(t *test... function TestPeerConnection_Simulcast_NoDataChannel (line 2334) | func TestPeerConnection_Simulcast_NoDataChannel(t *testing.T) { function TestPeerConnection_Zero_PayloadType (line 2459) | func TestPeerConnection_Zero_PayloadType(t *testing.T) { function Test_PeerConnection_RTX_E2E (line 2508) | func Test_PeerConnection_RTX_E2E(t *testing.T) { //nolint:cyclop function TestPeerConnection_Simulcast_Probe_PacketLoss (line 2655) | func TestPeerConnection_Simulcast_Probe_PacketLoss(t *testing.T) { //nol... FILE: peerconnection_renegotiation_test.go function sendVideoUntilDone (line 29) | func sendVideoUntilDone(t *testing.T, done <-chan struct{}, tracks []*Tr... function sdpMidHasSsrc (line 44) | func sdpMidHasSsrc(offer SessionDescription, mid string, ssrc SSRC) bool { function TestPeerConnection_Renegotiation_AddRecvonlyTransceiver (line 72) | func TestPeerConnection_Renegotiation_AddRecvonlyTransceiver(t *testing.... function TestPeerConnection_Renegotiation_AddTrack (line 153) | func TestPeerConnection_Renegotiation_AddTrack(t *testing.T) { function TestPeerConnection_Renegotiation_AddTrack_Multiple (line 216) | func TestPeerConnection_Renegotiation_AddTrack_Multiple(t *testing.T) { function TestPeerConnection_Renegotiation_AddTrack_Rename (line 274) | func TestPeerConnection_Renegotiation_AddTrack_Rename(t *testing.T) { function TestPeerConnection_Transceiver_Mid (line 324) | func TestPeerConnection_Transceiver_Mid(t *testing.T) { function TestPeerConnection_Renegotiation_CodecChange (line 446) | func TestPeerConnection_Renegotiation_CodecChange(t *testing.T) { function TestPeerConnection_Renegotiation_RemoveTrack (line 541) | func TestPeerConnection_Renegotiation_RemoveTrack(t *testing.T) { function TestPeerConnection_RoleSwitch (line 588) | func TestPeerConnection_RoleSwitch(t *testing.T) { function TestPeerConnection_Renegotiation_Trickle (line 629) | func TestPeerConnection_Renegotiation_Trickle(t *testing.T) { function TestPeerConnection_Renegotiation_SetLocalDescription (line 693) | func TestPeerConnection_Renegotiation_SetLocalDescription(t *testing.T) { function TestPeerConnection_Renegotiation_NoApplication (line 751) | func TestPeerConnection_Renegotiation_NoApplication(t *testing.T) { function TestAddDataChannelDuringRenegotiation (line 823) | func TestAddDataChannelDuringRenegotiation(t *testing.T) { function TestNegotiationCreateDataChannel (line 887) | func TestNegotiationCreateDataChannel(t *testing.T) { function TestNegotiationNeededRemoveTrack (line 915) | func TestNegotiationNeededRemoveTrack(t *testing.T) { function TestNegotiationNeededStressOneSided (line 968) | func TestNegotiationNeededStressOneSided(t *testing.T) { function TestPeerConnection_Renegotiation_DisableTrack (line 1002) | func TestPeerConnection_Renegotiation_DisableTrack(t *testing.T) { function TestPeerConnection_Renegotiation_Simulcast (line 1044) | func TestPeerConnection_Renegotiation_Simulcast(t *testing.T) { function TestPeerConnection_Regegotiation_ReuseTransceiver (line 1188) | func TestPeerConnection_Regegotiation_ReuseTransceiver(t *testing.T) { function TestPeerConnection_Renegotiation_MidConflict (line 1269) | func TestPeerConnection_Renegotiation_MidConflict(t *testing.T) { function TestPeerConnection_Regegotiation_AnswerAddsTrack (line 1322) | func TestPeerConnection_Regegotiation_AnswerAddsTrack(t *testing.T) { function TestNegotiationNeededWithRecvonlyTrack (line 1372) | func TestNegotiationNeededWithRecvonlyTrack(t *testing.T) { function TestNegotiationNotNeededAfterReplaceTrackNil (line 1403) | func TestNegotiationNotNeededAfterReplaceTrackNil(t *testing.T) { FILE: peerconnection_test.go function newPair (line 21) | func newPair() (pcOffer *PeerConnection, pcAnswer *PeerConnection, err e... type signalPairOptions (line 35) | type signalPairOptions struct function withModificationFunc (line 40) | func withModificationFunc(f func(string) string) func(*signalPairOptions) { function withDisableInitialDataChannel (line 46) | func withDisableInitialDataChannel(disable bool) func(*signalPairOptions) { function signalPairWithOptions (line 52) | func signalPairWithOptions( function signalPairWithModification (line 105) | func signalPairWithModification( function signalPair (line 117) | func signalPair(pcOffer *PeerConnection, pcAnswer *PeerConnection) error { function offerMediaHasDirection (line 125) | func offerMediaHasDirection(offer SessionDescription, kind RTPCodecType,... function untilConnectionState (line 142) | func untilConnectionState(state PeerConnectionState, peers ...*PeerConne... function TestNew (line 162) | func TestNew(t *testing.T) { function TestPeerConnection_SetConfiguration (line 183) | func TestPeerConnection_SetConfiguration(t *testing.T) { function TestPeerConnection_GetConfiguration (line 317) | func TestPeerConnection_GetConfiguration(t *testing.T) { constant minimalOffer (line 343) | minimalOffer = `v=0 function TestSetRemoteDescription (line 365) | func TestSetRemoteDescription(t *testing.T) { function TestCreateOfferAnswer (line 388) | func TestCreateOfferAnswer(t *testing.T) { function TestPeerConnection_EventHandlers (line 419) | func TestPeerConnection_EventHandlers(t *testing.T) { function TestMultipleOfferAnswer (line 513) | func TestMultipleOfferAnswer(t *testing.T) { function TestNoFingerprintInFirstMediaIfSetRemoteDescription (line 535) | func TestNoFingerprintInFirstMediaIfSetRemoteDescription(t *testing.T) { function TestNegotiationNeeded (line 577) | func TestNegotiationNeeded(t *testing.T) { function TestMultipleCreateChannel (line 599) | func TestMultipleCreateChannel(t *testing.T) { function TestGatherOnSetLocalDescription (line 648) | func TestGatherOnSetLocalDescription(t *testing.T) { //nolint:cyclop function TestFlushOnSetLocalDescription (line 706) | func TestFlushOnSetLocalDescription(t *testing.T) { function TestSetICECandidatePoolSizeLarge (line 788) | func TestSetICECandidatePoolSizeLarge(t *testing.T) { function TestSetRemoteDescriptionInvalid (line 801) | func TestSetRemoteDescriptionInvalid(t *testing.T) { function TestAddTransceiver (line 816) | func TestAddTransceiver(t *testing.T) { function TestTransportChain (line 861) | func TestTransportChain(t *testing.T) { function TestDTLSClose (line 875) | func TestDTLSClose(t *testing.T) { function TestPeerConnection_SessionID (line 912) | func TestPeerConnection_SessionID(t *testing.T) { function TestICETrickleCapabilityString (line 957) | func TestICETrickleCapabilityString(t *testing.T) { FILE: peerconnectionstate.go type PeerConnectionState (line 7) | type PeerConnectionState method String (line 72) | func (t PeerConnectionState) String() string { constant PeerConnectionStateUnknown (line 11) | PeerConnectionStateUnknown PeerConnectionState = iota constant PeerConnectionStateNew (line 17) | PeerConnectionStateNew constant PeerConnectionStateConnecting (line 22) | PeerConnectionStateConnecting constant PeerConnectionStateConnected (line 27) | PeerConnectionStateConnected constant PeerConnectionStateDisconnected (line 32) | PeerConnectionStateDisconnected constant PeerConnectionStateFailed (line 36) | PeerConnectionStateFailed constant PeerConnectionStateClosed (line 40) | PeerConnectionStateClosed constant peerConnectionStateNewStr (line 45) | peerConnectionStateNewStr = "new" constant peerConnectionStateConnectingStr (line 46) | peerConnectionStateConnectingStr = "connecting" constant peerConnectionStateConnectedStr (line 47) | peerConnectionStateConnectedStr = "connected" constant peerConnectionStateDisconnectedStr (line 48) | peerConnectionStateDisconnectedStr = "disconnected" constant peerConnectionStateFailedStr (line 49) | peerConnectionStateFailedStr = "failed" constant peerConnectionStateClosedStr (line 50) | peerConnectionStateClosedStr = "closed" function newPeerConnectionState (line 53) | func newPeerConnectionState(raw string) PeerConnectionState { FILE: peerconnectionstate_test.go function TestNewPeerConnectionState (line 12) | func TestNewPeerConnectionState(t *testing.T) { function TestPeerConnectionState_String (line 35) | func TestPeerConnectionState_String(t *testing.T) { FILE: pkg/media/h264reader/h264reader.go type H264Reader (line 14) | type H264Reader struct method read (line 89) | func (reader *H264Reader) read(numToRead int) (data []byte, e error) { method bitStreamStartsWithH264Prefix (line 108) | func (reader *H264Reader) bitStreamStartsWithH264Prefix() (prefixLengt... method NextNAL (line 154) | func (reader *H264Reader) NextNAL() (*NAL, error) { method processByte (line 203) | func (reader *H264Reader) processByte(readByte byte) (nalFound bool) { function NewReader (line 30) | func NewReader(in io.Reader) (*H264Reader, error) { type Option (line 48) | type Option function NewReaderWithOptions (line 52) | func NewReaderWithOptions(in io.Reader, options ...Option) (*H264Reader,... function WithIncludeSEI (line 69) | func WithIncludeSEI(include bool) Option { type NAL (line 78) | type NAL struct method parseHeader (line 234) | func (h *NAL) parseHeader() { function newNal (line 230) | func newNal(data []byte) *NAL { FILE: pkg/media/h264reader/h264reader_test.go function CreateReader (line 14) | func CreateReader(h264 []byte, require *require.Assertions) *H264Reader { function TestDataDoesNotStartWithH264Header (line 23) | func TestDataDoesNotStartWithH264Header(t *testing.T) { function TestParseHeader (line 49) | func TestParseHeader(t *testing.T) { function TestEOF (line 65) | func TestEOF(t *testing.T) { function TestSkipSEI (line 86) | func TestSkipSEI(t *testing.T) { function TestIncludeSEI (line 105) | func TestIncludeSEI(t *testing.T) { function TestIssue1734_NextNal (line 131) | func TestIssue1734_NextNal(t *testing.T) { function TestTrailing01AfterStartCode (line 152) | func TestTrailing01AfterStartCode(t *testing.T) { FILE: pkg/media/h264reader/nalunittype.go type NalUnitType (line 9) | type NalUnitType method String (line 33) | func (n *NalUnitType) String() string { //nolint:cyclop constant NalUnitTypeUnspecified (line 13) | NalUnitTypeUnspecified NalUnitType = 0 constant NalUnitTypeCodedSliceNonIdr (line 14) | NalUnitTypeCodedSliceNonIdr NalUnitType = 1 constant NalUnitTypeCodedSliceDataPartitionA (line 15) | NalUnitTypeCodedSliceDataPartitionA NalUnitType = 2 constant NalUnitTypeCodedSliceDataPartitionB (line 16) | NalUnitTypeCodedSliceDataPartitionB NalUnitType = 3 constant NalUnitTypeCodedSliceDataPartitionC (line 17) | NalUnitTypeCodedSliceDataPartitionC NalUnitType = 4 constant NalUnitTypeCodedSliceIdr (line 18) | NalUnitTypeCodedSliceIdr NalUnitType = 5 constant NalUnitTypeSEI (line 19) | NalUnitTypeSEI NalUnitType = 6 constant NalUnitTypeSPS (line 20) | NalUnitTypeSPS NalUnitType = 7 constant NalUnitTypePPS (line 21) | NalUnitTypePPS NalUnitType = 8 constant NalUnitTypeAUD (line 22) | NalUnitTypeAUD NalUnitType = 9 constant NalUnitTypeEndOfSequence (line 23) | NalUnitTypeEndOfSequence NalUnitType = 10 constant NalUnitTypeEndOfStream (line 24) | NalUnitTypeEndOfStream NalUnitType = 11 constant NalUnitTypeFiller (line 25) | NalUnitTypeFiller NalUnitType = 12 constant NalUnitTypeSpsExt (line 26) | NalUnitTypeSpsExt NalUnitType = 13 constant NalUnitTypeCodedSliceAux (line 27) | NalUnitTypeCodedSliceAux NalUnitType = 19 FILE: pkg/media/h264writer/h264writer.go type H264Writer (line 23) | type H264Writer struct method WriteRTP (line 48) | func (h *H264Writer) WriteRTP(packet *rtp.Packet) error { method Close (line 75) | func (h *H264Writer) Close() error { function New (line 31) | func New(filename string) (*H264Writer, error) { function NewWith (line 41) | func NewWith(w io.Writer) *H264Writer { function isKeyFrame (line 86) | func isKeyFrame(data []byte) bool { FILE: pkg/media/h264writer/h264writer_test.go type writerCloser (line 15) | type writerCloser struct method Close (line 21) | func (w *writerCloser) Close() error { function TestNewWith (line 25) | func TestNewWith(t *testing.T) { function TestIsKeyFrame (line 31) | func TestIsKeyFrame(t *testing.T) { function TestWriteRTP (line 62) | func TestWriteRTP(t *testing.T) { type writerCounter (line 155) | type writerCounter struct method Write (line 159) | func (w *writerCounter) Write([]byte) (int, error) { method Close (line 165) | func (w *writerCounter) Close() error { function TestNoZeroWrite (line 169) | func TestNoZeroWrite(t *testing.T) { FILE: pkg/media/h265reader/h265reader.go type H265Reader (line 14) | type H265Reader struct method shouldSkipNAL (line 29) | func (reader *H265Reader) shouldSkipNAL(naluType NalUnitType) bool { method read (line 100) | func (reader *H265Reader) read(numToRead int) (data []byte, e error) { method bitStreamStartsWithH265Prefix (line 119) | func (reader *H265Reader) bitStreamStartsWithH265Prefix() (prefixLengt... method NextNAL (line 165) | func (reader *H265Reader) NextNAL() (*NAL, error) { method processByte (line 213) | func (reader *H265Reader) processByte(readByte byte) (nalFound bool) { function NewReader (line 34) | func NewReader(in io.Reader) (*H265Reader, error) { type Option (line 52) | type Option function NewReaderWithOptions (line 56) | func NewReaderWithOptions(in io.Reader, options ...Option) (*H265Reader,... function WithIncludeSEI (line 73) | func WithIncludeSEI(include bool) Option { type NAL (line 82) | type NAL struct method parseHeader (line 251) | func (h *NAL) parseHeader() { function newNal (line 240) | func newNal(data []byte) *NAL { FILE: pkg/media/h265reader/h265reader_test.go function TestH265Reader_NextNAL (line 14) | func TestH265Reader_NextNAL(t *testing.T) { function TestH265Reader_processByte (line 69) | func TestH265Reader_processByte(t *testing.T) { function TestH265Reader_SEIPrefixSuffixSkippedByDefault (line 93) | func TestH265Reader_SEIPrefixSuffixSkippedByDefault(t *testing.T) { function TestH265Reader_IncludeSEI (line 121) | func TestH265Reader_IncludeSEI(t *testing.T) { function TestNAL_parseHeader (line 161) | func TestNAL_parseHeader(t *testing.T) { FILE: pkg/media/h265reader/nalunittype.go type NalUnitType (line 9) | type NalUnitType method String (line 49) | func (n *NalUnitType) String() string { //nolint:cyclop constant NalUnitTypeTrailN (line 14) | NalUnitTypeTrailN NalUnitType = 0 constant NalUnitTypeTrailR (line 15) | NalUnitTypeTrailR NalUnitType = 1 constant NalUnitTypeTsaN (line 16) | NalUnitTypeTsaN NalUnitType = 2 constant NalUnitTypeTsaR (line 17) | NalUnitTypeTsaR NalUnitType = 3 constant NalUnitTypeStsaN (line 18) | NalUnitTypeStsaN NalUnitType = 4 constant NalUnitTypeStsaR (line 19) | NalUnitTypeStsaR NalUnitType = 5 constant NalUnitTypeRadlN (line 20) | NalUnitTypeRadlN NalUnitType = 6 constant NalUnitTypeRadlR (line 21) | NalUnitTypeRadlR NalUnitType = 7 constant NalUnitTypeRaslN (line 22) | NalUnitTypeRaslN NalUnitType = 8 constant NalUnitTypeRaslR (line 23) | NalUnitTypeRaslR NalUnitType = 9 constant NalUnitTypeBlaWLp (line 24) | NalUnitTypeBlaWLp NalUnitType = 16 constant NalUnitTypeBlaWRadl (line 25) | NalUnitTypeBlaWRadl NalUnitType = 17 constant NalUnitTypeBlaNLp (line 26) | NalUnitTypeBlaNLp NalUnitType = 18 constant NalUnitTypeIdrWRadl (line 27) | NalUnitTypeIdrWRadl NalUnitType = 19 constant NalUnitTypeIdrNLp (line 28) | NalUnitTypeIdrNLp NalUnitType = 20 constant NalUnitTypeCraNut (line 29) | NalUnitTypeCraNut NalUnitType = 21 constant NalUnitTypeVps (line 32) | NalUnitTypeVps NalUnitType = 32 constant NalUnitTypeSps (line 33) | NalUnitTypeSps NalUnitType = 33 constant NalUnitTypePps (line 34) | NalUnitTypePps NalUnitType = 34 constant NalUnitTypeAud (line 35) | NalUnitTypeAud NalUnitType = 35 constant NalUnitTypeEos (line 36) | NalUnitTypeEos NalUnitType = 36 constant NalUnitTypeEob (line 37) | NalUnitTypeEob NalUnitType = 37 constant NalUnitTypeFd (line 38) | NalUnitTypeFd NalUnitType = 38 constant NalUnitTypePrefixSei (line 39) | NalUnitTypePrefixSei NalUnitType = 39 constant NalUnitTypeSuffixSei (line 40) | NalUnitTypeSuffixSei NalUnitType = 40 constant NalUnitTypeReserved41 (line 43) | NalUnitTypeReserved41 NalUnitType = 41 constant NalUnitTypeReserved47 (line 44) | NalUnitTypeReserved47 NalUnitType = 47 constant NalUnitTypeUnspec48 (line 45) | NalUnitTypeUnspec48 NalUnitType = 48 constant NalUnitTypeUnspec63 (line 46) | NalUnitTypeUnspec63 NalUnitType = 63 FILE: pkg/media/h265writer/h265writer.go constant typeAP (line 19) | typeAP = 48 constant typeFU (line 20) | typeFU = 49 type H265Writer (line 25) | type H265Writer struct method WriteRTP (line 49) | func (h *H265Writer) WriteRTP(packet *rtp.Packet) error { method Close (line 76) | func (h *H265Writer) Close() error { function New (line 32) | func New(filename string) (*H265Writer, error) { function NewWith (line 42) | func NewWith(w io.Writer) *H265Writer { function isKeyFrame (line 87) | func isKeyFrame(data []byte) bool { function checkAggregationPacketForKeyFrame (line 116) | func checkAggregationPacketForKeyFrame(data []byte) bool { function isKeyFrameNalu (line 151) | func isKeyFrameNalu(naluType h265reader.NalUnitType) bool { FILE: pkg/media/h265writer/h265writer_test.go function TestH265Writer_WriteRTP (line 14) | func TestH265Writer_WriteRTP(t *testing.T) { function TestIsKeyFrame (line 38) | func TestIsKeyFrame(t *testing.T) { function TestCheckAggregationPacketForKeyFrame (line 104) | func TestCheckAggregationPacketForKeyFrame(t *testing.T) { FILE: pkg/media/ivfreader/ivfreader.go constant ivfFileHeaderSignature (line 15) | ivfFileHeaderSignature = "DKIF" constant ivfFileHeaderSize (line 16) | ivfFileHeaderSize = 32 constant ivfFrameHeaderSize (line 17) | ivfFrameHeaderSize = 12 type IVFFileHeader (line 32) | type IVFFileHeader struct type IVFFrameHeader (line 47) | type IVFFrameHeader struct type IVFReader (line 53) | type IVFReader struct method ResetReader (line 87) | func (i *IVFReader) ResetReader(reset func(bytesRead int64) io.Reader) { method ptsToTimestamp (line 91) | func (i *IVFReader) ptsToTimestamp(pts uint64) uint64 { method ParseNextFrame (line 98) | func (i *IVFReader) ParseNextFrame() ([]byte, *IVFFrameHeader, error) { method parseFileHeader (line 131) | func (i *IVFReader) parseFileHeader() (*IVFFileHeader, error) { function NewWith (line 62) | func NewWith(stream io.Reader) (*IVFReader, *IVFFileHeader, error) { FILE: pkg/media/ivfreader/ivfreader_test.go function buildIVFContainer (line 15) | func buildIVFContainer(frames ...*[]byte) *bytes.Buffer { function TestIVFReader_ParseValidFileHeader (line 38) | func TestIVFReader_ParseValidFileHeader(t *testing.T) { function TestIVFReader_ErrorOnZeroTimebaseNumerator (line 58) | func TestIVFReader_ErrorOnZeroTimebaseNumerator(t *testing.T) { function TestIVFReader_ParseValidFrames (line 72) | func TestIVFReader_ParseValidFrames(t *testing.T) { function TestIVFReader_ParseIncompleteFrameHeader (line 128) | func TestIVFReader_ParseIncompleteFrameHeader(t *testing.T) { function TestIVFReader_ParseIncompleteFramePayload (line 150) | func TestIVFReader_ParseIncompleteFramePayload(t *testing.T) { function TestIVFReader_EOFWhenNoFramesLeft (line 173) | func TestIVFReader_EOFWhenNoFramesLeft(t *testing.T) { FILE: pkg/media/ivfwriter/ivfwriter.go type codec (line 28) | type codec type IVFWriter (line 31) | type IVFWriter struct method writeHeader (line 117) | func (i *IVFWriter) writeHeader() error { method timestampToPts (line 147) | func (i *IVFWriter) timestampToPts(timestamp uint64) uint64 { method writeFrame (line 151) | func (i *IVFWriter) writeFrame(frame []byte, timestamp uint64) error { method WriteRTP (line 177) | func (i *IVFWriter) WriteRTP(packet *rtp.Packet) error { method writeVP8 (line 209) | func (i *IVFWriter) writeVP8(packet *rtp.Packet, timestamp uint64) err... method writeVP9 (line 240) | func (i *IVFWriter) writeVP9(packet *rtp.Packet, timestamp uint64) err... method writeAV1 (line 272) | func (i *IVFWriter) writeAV1(packet *rtp.Packet, timestamp uint64) err... method Close (line 312) | func (i *IVFWriter) Close() error { constant codecUnset (line 56) | codecUnset codec = iota constant codecVP8 (line 57) | codecVP8 constant codecVP9 (line 58) | codecVP9 constant codecAV1 (line 59) | codecAV1 constant mimeTypeVP8 (line 61) | mimeTypeVP8 = "video/VP8" constant mimeTypeVP9 (line 62) | mimeTypeVP9 = "video/VP9" constant mimeTypeAV1 (line 63) | mimeTypeAV1 = "video/AV1" function New (line 67) | func New(fileName string, opts ...Option) (*IVFWriter, error) { function NewWith (line 82) | func NewWith(out io.Writer, opts ...Option) (*IVFWriter, error) { type Option (line 343) | type Option function WithCodec (line 346) | func WithCodec(mimeType string) Option { function WithWidthAndHeight (line 367) | func WithWidthAndHeight(width, height uint16) Option { function WithFrameRate (line 376) | func WithFrameRate(numerator, denominator uint32) Option { function WithDirectPTS (line 395) | func WithDirectPTS() Option { FILE: pkg/media/ivfwriter/ivfwriter_test.go type ivfWriterPacketTest (line 16) | type ivfWriterPacketTest struct function TestIVFWriter_Basic (line 26) | func TestIVFWriter_Basic(t *testing.T) { function TestIVFWriter_VP8 (line 81) | func TestIVFWriter_VP8(t *testing.T) { function TestIVFWriter_EmptyPayload (line 240) | func TestIVFWriter_EmptyPayload(t *testing.T) { function TestIVFWriter_Errors (line 249) | func TestIVFWriter_Errors(t *testing.T) { function TestIVFWriter_AV1 (line 259) | func TestIVFWriter_AV1(t *testing.T) { function TestIVFWriter_VP9 (line 355) | func TestIVFWriter_VP9(t *testing.T) { function TestIVFWriter_WithWidthAndHeight (line 390) | func TestIVFWriter_WithWidthAndHeight(t *testing.T) { function TestIVFWriter_WithFrameRate (line 405) | func TestIVFWriter_WithFrameRate(t *testing.T) { function TestIVFWriter_WithDirectPTS (line 420) | func TestIVFWriter_WithDirectPTS(t *testing.T) { function TestIVFWriter_DirectPTS_VP8 (line 432) | func TestIVFWriter_DirectPTS_VP8(t *testing.T) { function TestIVFWriter_DirectPTS_Precision (line 501) | func TestIVFWriter_DirectPTS_Precision(t *testing.T) { function TestIVFWriter_BackwardCompatibility (line 553) | func TestIVFWriter_BackwardCompatibility(t *testing.T) { FILE: pkg/media/media.go type Sample (line 14) | type Sample struct type Writer (line 29) | type Writer interface FILE: pkg/media/oggreader/oggreader.go constant pageHeaderTypeBeginningOfStream (line 16) | pageHeaderTypeBeginningOfStream = 0x02 constant pageHeaderSignature (line 17) | pageHeaderSignature = "OggS" constant idPageBasePayloadLength (line 19) | idPageBasePayloadLength = 19 constant pageHeaderLen (line 20) | pageHeaderLen = 27 type OggReader (line 36) | type OggReader struct method readOpusHeader (line 185) | func (o *OggReader) readOpusHeader() (*OggHeader, error) { method ParseNextPage (line 274) | func (o *OggReader) ParseNextPage() ([]byte, *OggPageHeader, error) { ... method ResetReader (line 346) | func (o *OggReader) ResetReader(reset func(bytesRead int64) io.Reader) { type OggHeader (line 51) | type OggHeader struct function ParseOpusHead (line 66) | func ParseOpusHead(payload []byte) (*OggHeader, error) { type OggPageHeader (line 83) | type OggPageHeader struct method HeaderType (line 116) | func (p *OggPageHeader) HeaderType(payload []byte) (HeaderType, bool) { type HeaderType (line 94) | type HeaderType constant headerUnknown (line 97) | headerUnknown HeaderType = "" constant HeaderOpusID (line 98) | HeaderOpusID HeaderType = "OpusHead" constant HeaderOpusTags (line 99) | HeaderOpusTags HeaderType = "OpusTags" function opusPayloadSignature (line 102) | func opusPayloadSignature(payload []byte) (HeaderType, bool) { type Option (line 126) | type Option function NewWith (line 135) | func NewWith(in io.Reader) (*OggReader, *OggHeader, error) { function NewWithOptions (line 140) | func NewWithOptions(in io.Reader, options ...Option) (*OggReader, error) { function WithDoChecksum (line 158) | func WithDoChecksum(doChecksum bool) Option { function newWith (line 166) | func newWith(in io.Reader, doChecksum bool) (*OggReader, *OggHeader, err... function validateOpusPageHeader (line 203) | func validateOpusPageHeader(pageHeader *OggPageHeader, payload []byte) e... function parseBasicHeaderFields (line 223) | func parseBasicHeaderFields(payload []byte) *OggHeader { function parseChannelMapping (line 238) | func parseChannelMapping(header *OggHeader, payload []byte) error { function validatePayloadLength (line 251) | func validatePayloadLength(payload []byte, expectedLen int) error { function parseExtendedChannelMapping (line 259) | func parseExtendedChannelMapping(header *OggHeader, payload []byte) error { function generateChecksumTable (line 350) | func generateChecksumTable() *[256]uint32 { type OpusTags (line 371) | type OpusTags struct type UserComment (line 377) | type UserComment struct function ParseOpusTags (line 384) | func ParseOpusTags(payload []byte) (*OpusTags, error) { function validateOpusTagsHeader (line 411) | func validateOpusTagsHeader(payload []byte, minHeaderLen int) error { function parseVendorString (line 424) | func parseVendorString(payload []byte, headerMagicLen, u32Size, minHeade... function parseUserComments (line 442) | func parseUserComments(payload []byte, vendorEnd, u32Size int) ([]UserCo... function parseSingleUserComment (line 464) | func parseSingleUserComment(payload []byte, pos, u32Size, index int) (Us... FILE: pkg/media/oggreader/oggreader_test.go function buildOggContainer (line 19) | func buildOggContainer() []byte { function buildSurroundOggContainerShort (line 33) | func buildSurroundOggContainerShort() []byte { function buildUnknownMappingFamilyContainer (line 44) | func buildUnknownMappingFamilyContainer(mappingFamily, channels uint8) [... function buildChannelMappingFamilyContainer (line 78) | func buildChannelMappingFamilyContainer( function TestOggReader_ParseValidHeader (line 116) | func TestOggReader_ParseValidHeader(t *testing.T) { function TestOggReader_ParseNextPage (line 130) | func TestOggReader_ParseNextPage(t *testing.T) { function TestOggReader_ParseErrors (line 147) | func TestOggReader_ParseErrors(t *testing.T) { function TestOggReader_ChannelMappingFamily1 (line 204) | func TestOggReader_ChannelMappingFamily1(t *testing.T) { function TestOggReader_KnownChannelMappingFamilies (line 256) | func TestOggReader_KnownChannelMappingFamilies(t *testing.T) { function TestOggReader_ParseExtraFieldsForNonZeroMappingFamily (line 297) | func TestOggReader_ParseExtraFieldsForNonZeroMappingFamily(t *testing.T) { function TestOggReader_NewWithOptions (line 348) | func TestOggReader_NewWithOptions(t *testing.T) { function buildMultiTrackOggContainer (line 399) | func buildMultiTrackOggContainer( function TestOggReader_MultiTrackFile (line 478) | func TestOggReader_MultiTrackFile(t *testing.T) { function buildOpusTagsPayload (line 540) | func buildOpusTagsPayload(vendor string, comments []UserComment) []byte { function buildOggPage (line 569) | func buildOggPage(serial uint32, pageIndex uint32, headerType uint8, pay... function buildOpusHeadPayload (line 600) | func buildOpusHeadPayload( function buildTwoTrackOggContainer (line 630) | func buildTwoTrackOggContainer( function processPages (line 656) | func processPages(reader *OggReader) ([]HeaderType, []*OpusTags, error) { function countHeaderTypes (line 690) | func countHeaderTypes(headersFound []HeaderType) (int, int) { function userCommentsToMap (line 706) | func userCommentsToMap(comments []UserComment) map[string]string { function TestOggReader_DetectHeadersAndTags (line 715) | func TestOggReader_DetectHeadersAndTags(t *testing.T) { function TestParseOpusTagsErrors (line 762) | func TestParseOpusTagsErrors(t *testing.T) { function TestParseVendorStringMissingCommentCount (line 858) | func TestParseVendorStringMissingCommentCount(t *testing.T) { function TestParseOpusHead_EmptyPayload_NoPanic (line 878) | func TestParseOpusHead_EmptyPayload_NoPanic(t *testing.T) { function TestParseOpusHead_ChannelMappingSliceOverflow_NoPanic (line 883) | func TestParseOpusHead_ChannelMappingSliceOverflow_NoPanic(t *testing.T) { function makeOpusHeadWithChannelMapping (line 894) | func makeOpusHeadWithChannelMapping(channels uint8, mappingFamily uint8)... FILE: pkg/media/oggwriter/oggwriter.go constant pageHeaderTypeContinuationOfStream (line 19) | pageHeaderTypeContinuationOfStream = 0x00 constant pageHeaderTypeBeginningOfStream (line 20) | pageHeaderTypeBeginningOfStream = 0x02 constant pageHeaderTypeEndOfStream (line 21) | pageHeaderTypeEndOfStream = 0x04 constant defaultPreSkip (line 22) | defaultPreSkip = 3840 constant idPageSignature (line 23) | idPageSignature = "OpusHead" constant commentPageSignature (line 24) | commentPageSignature = "OpusTags" constant pageHeaderSignature (line 25) | pageHeaderSignature = "OggS" type OggWriter (line 34) | type OggWriter struct method writeHeaders (line 110) | func (i *OggWriter) writeHeaders() error { method createPage (line 152) | func (i *OggWriter) createPage(payload []uint8, headerType uint8, gran... method WriteRTP (line 189) | func (i *OggWriter) WriteRTP(packet *rtp.Packet) error { method Close (line 219) | func (i *OggWriter) Close() error { method writeToStream (line 259) | func (i *OggWriter) writeToStream(p []byte) error { function New (line 48) | func New(fileName string, sampleRate uint32, channelCount uint16) (*OggW... function NewWith (line 63) | func NewWith(out io.Writer, sampleRate uint32, channelCount uint16) (*Og... constant pageHeaderSize (line 149) | pageHeaderSize = 27 function generateChecksumTable (line 269) | func generateChecksumTable() *[256]uint32 { FILE: pkg/media/oggwriter/oggwriter_test.go type oggWriterPacketTest (line 15) | type oggWriterPacketTest struct function TestOggWriter_AddPacketAndClose (line 25) | func TestOggWriter_AddPacketAndClose(t *testing.T) { function TestOggWriter_EmptyPayload (line 128) | func TestOggWriter_EmptyPayload(t *testing.T) { function TestOggWriter_LargePayload (line 137) | func TestOggWriter_LargePayload(t *testing.T) { FILE: pkg/media/rtpdump/reader.go type Reader (line 15) | type Reader struct method Next (line 70) | func (r *Reader) Next() (Packet, error) { function NewReader (line 22) | func NewReader(r io.Reader) (*Reader, Header, error) { FILE: pkg/media/rtpdump/reader_test.go function TestReader (line 17) | func TestReader(t *testing.T) { //nolint:maintidx FILE: pkg/media/rtpdump/rtpdump.go constant pktHeaderLen (line 16) | pktHeaderLen = 8 constant headerLen (line 17) | headerLen = 16 constant preambleLen (line 18) | preambleLen = 36 type Header (line 26) | type Header struct method Marshal (line 36) | func (h Header) Marshal() ([]byte, error) { method Unmarshal (line 56) | func (h *Header) Unmarshal(data []byte) error { type Packet (line 79) | type Packet struct method Marshal (line 90) | func (p Packet) Marshal() ([]byte, error) { method Unmarshal (line 110) | func (p *Packet) Unmarshal(data []byte) error { method offsetMs (line 130) | func (p *Packet) offsetMs() uint32 { type packetHeader (line 134) | type packetHeader struct method Marshal (line 144) | func (p packetHeader) Marshal() ([]byte, error) { method Unmarshal (line 154) | func (p *packetHeader) Unmarshal(d []byte) error { method offset (line 166) | func (p packetHeader) offset() time.Duration { FILE: pkg/media/rtpdump/rtpdump_test.go function TestHeaderRoundTrip (line 14) | func TestHeaderRoundTrip(t *testing.T) { function TestMarshalHeader (line 42) | func TestMarshalHeader(t *testing.T) { function TestPacketRoundTrip (line 70) | func TestPacketRoundTrip(t *testing.T) { FILE: pkg/media/rtpdump/writer.go type Writer (line 13) | type Writer struct method WritePacket (line 41) | func (w *Writer) WritePacket(p Packet) error { function NewWriter (line 20) | func NewWriter(w io.Writer, hdr Header) (*Writer, error) { FILE: pkg/media/rtpdump/writer_test.go function TestWriter (line 17) | func TestWriter(t *testing.T) { function TestRoundTrip (line 49) | func TestRoundTrip(t *testing.T) { FILE: pkg/media/samplebuilder/sampleSequenceLocation.go type sampleSequenceLocation (line 7) | type sampleSequenceLocation struct method empty (line 15) | func (l sampleSequenceLocation) empty() bool { method hasData (line 19) | func (l sampleSequenceLocation) hasData() bool { method count (line 23) | func (l sampleSequenceLocation) count() uint16 { method compare (line 34) | func (l sampleSequenceLocation) compare(pos uint16) int { constant slCompareVoid (line 28) | slCompareVoid = iota constant slCompareBefore (line 29) | slCompareBefore constant slCompareInside (line 30) | slCompareInside constant slCompareAfter (line 31) | slCompareAfter FILE: pkg/media/samplebuilder/sampleSequenceLocation_test.go function TestSampleSequenceLocationCompare (line 12) | func TestSampleSequenceLocationCompare(t *testing.T) { FILE: pkg/media/samplebuilder/samplebuilder.go type SampleBuilder (line 16) | type SampleBuilder struct method tooOld (line 71) | func (s *SampleBuilder) tooOld(location sampleSequenceLocation) bool { method fetchTimestamp (line 107) | func (s *SampleBuilder) fetchTimestamp(location sampleSequenceLocation... method releasePacket (line 119) | func (s *SampleBuilder) releasePacket(i uint16) { method purgeConsumedBuffers (line 129) | func (s *SampleBuilder) purgeConsumedBuffers() { method purgeConsumedLocation (line 135) | func (s *SampleBuilder) purgeConsumedLocation(consume sampleSequenceLo... method purgeBuffers (line 155) | func (s *SampleBuilder) purgeBuffers(flush bool) { method Push (line 185) | func (s *SampleBuilder) Push(packet *rtp.Packet) { method Flush (line 203) | func (s *SampleBuilder) Flush() { method buildSample (line 214) | func (s *SampleBuilder) buildSample(purgingBuffers bool) *media.Sample { method Pop (line 336) | func (s *SampleBuilder) Pop() *media.Sample { function New (line 62) | func New(maxLate uint16, depacketizer rtp.Depacketizer, sampleRate uint3... constant secondToNanoseconds (line 207) | secondToNanoseconds = 1000000000 function seqnumDistance (line 349) | func seqnumDistance(x, y uint16) uint16 { function timestampDistance (line 359) | func timestampDistance(x, y uint32) uint32 { type Option (line 369) | type Option function WithPacketReleaseHandler (line 373) | func WithPacketReleaseHandler(h func(*rtp.Packet)) Option { function WithPacketHeadHandler (line 381) | func WithPacketHeadHandler(h func(headPacket any) any) Option { function WithMaxTimeDelay (line 389) | func WithMaxTimeDelay(maxLateDuration time.Duration) Option { function WithRTPHeaders (line 398) | func WithRTPHeaders(enable bool) Option { FILE: pkg/media/samplebuilder/samplebuilder_test.go type sampleBuilderTest (line 19) | type sampleBuilderTest struct type fakeDepacketizer (line 30) | type fakeDepacketizer struct method Unmarshal (line 36) | func (f *fakeDepacketizer) Unmarshal(r []byte) ([]byte, error) { method IsPartitionHead (line 40) | func (f *fakeDepacketizer) IsPartitionHead(payload []byte) bool { method IsPartitionTail (line 59) | func (f *fakeDepacketizer) IsPartitionTail(marker bool, _ []byte) bool { function TestSampleBuilder (line 63) | func TestSampleBuilder(t *testing.T) { //nolint:maintidx function TestSampleBuilderMaxLate (line 349) | func TestSampleBuilderMaxLate(t *testing.T) { function TestSeqnumDistance (line 387) | func TestSeqnumDistance(t *testing.T) { function TestSampleBuilderCleanReference (line 406) | func TestSampleBuilderCleanReference(t *testing.T) { function TestSampleBuilderPushMaxZero (line 441) | func TestSampleBuilderPushMaxZero(t *testing.T) { function TestSampleBuilderWithPacketReleaseHandler (line 456) | func TestSampleBuilderWithPacketReleaseHandler(t *testing.T) { function TestSampleBuilderWithPacketHeadHandler (line 484) | func TestSampleBuilderWithPacketHeadHandler(t *testing.T) { function TestSampleBuilderData (line 517) | func TestSampleBuilderData(t *testing.T) { function TestSampleBuilderPacketUnreference (line 547) | func TestSampleBuilderPacketUnreference(t *testing.T) { function TestSampleBuilder_Flush (line 586) | func TestSampleBuilder_Flush(t *testing.T) { function BenchmarkSampleBuilderSequential (line 623) | func BenchmarkSampleBuilderSequential(b *testing.B) { function BenchmarkSampleBuilderLoss (line 649) | func BenchmarkSampleBuilderLoss(b *testing.B) { function BenchmarkSampleBuilderReordered (line 678) | func BenchmarkSampleBuilderReordered(b *testing.B) { function BenchmarkSampleBuilderFragmented (line 704) | func BenchmarkSampleBuilderFragmented(b *testing.B) { function BenchmarkSampleBuilderFragmentedLoss (line 730) | func BenchmarkSampleBuilderFragmentedLoss(b *testing.B) { FILE: pkg/null/null.go type Bool (line 9) | type Bool struct function NewBool (line 15) | func NewBool(value bool) Bool { type Byte (line 20) | type Byte struct function NewByte (line 26) | func NewByte(value byte) Byte { type Complex128 (line 31) | type Complex128 struct function NewComplex128 (line 37) | func NewComplex128(value complex128) Complex128 { type Complex64 (line 42) | type Complex64 struct function NewComplex64 (line 48) | func NewComplex64(value complex64) Complex64 { type Float32 (line 53) | type Float32 struct function NewFloat32 (line 59) | func NewFloat32(value float32) Float32 { type Float64 (line 64) | type Float64 struct function NewFloat64 (line 70) | func NewFloat64(value float64) Float64 { type Int (line 75) | type Int struct function NewInt (line 81) | func NewInt(value int) Int { type Int16 (line 86) | type Int16 struct function NewInt16 (line 92) | func NewInt16(value int16) Int16 { type Int32 (line 97) | type Int32 struct function NewInt32 (line 103) | func NewInt32(value int32) Int32 { type Int64 (line 108) | type Int64 struct function NewInt64 (line 114) | func NewInt64(value int64) Int64 { type Int8 (line 119) | type Int8 struct function NewInt8 (line 125) | func NewInt8(value int8) Int8 { type Rune (line 130) | type Rune struct function NewRune (line 136) | func NewRune(value rune) Rune { type String (line 141) | type String struct function NewString (line 147) | func NewString(value string) String { type Uint (line 152) | type Uint struct function NewUint (line 158) | func NewUint(value uint) Uint { type Uint16 (line 163) | type Uint16 struct function NewUint16 (line 169) | func NewUint16(value uint16) Uint16 { type Uint32 (line 174) | type Uint32 struct function NewUint32 (line 180) | func NewUint32(value uint32) Uint32 { type Uint64 (line 185) | type Uint64 struct function NewUint64 (line 191) | func NewUint64(value uint64) Uint64 { type Uint8 (line 196) | type Uint8 struct function NewUint8 (line 202) | func NewUint8(value uint8) Uint8 { FILE: pkg/null/null_test.go function TestNewBool (line 12) | func TestNewBool(t *testing.T) { function TestNewByte (line 29) | func TestNewByte(t *testing.T) { function TestNewComplex128 (line 46) | func TestNewComplex128(t *testing.T) { function TestNewComplex64 (line 63) | func TestNewComplex64(t *testing.T) { function TestNewFloat32 (line 80) | func TestNewFloat32(t *testing.T) { function TestNewFloat64 (line 97) | func TestNewFloat64(t *testing.T) { function TestNewInt (line 114) | func TestNewInt(t *testing.T) { function TestNewInt16 (line 131) | func TestNewInt16(t *testing.T) { function TestNewInt32 (line 148) | func TestNewInt32(t *testing.T) { function TestNewInt64 (line 165) | func TestNewInt64(t *testing.T) { function TestNewInt8 (line 182) | func TestNewInt8(t *testing.T) { function TestNewRune (line 199) | func TestNewRune(t *testing.T) { function TestNewString (line 216) | func TestNewString(t *testing.T) { function TestNewUint (line 233) | func TestNewUint(t *testing.T) { function TestNewUint16 (line 250) | func TestNewUint16(t *testing.T) { function TestNewUint32 (line 267) | func TestNewUint32(t *testing.T) { function TestNewUint64 (line 284) | func TestNewUint64(t *testing.T) { function TestNewUint8 (line 301) | func TestNewUint8(t *testing.T) { FILE: pkg/rtcerr/errors.go type UnknownError (line 13) | type UnknownError struct method Error (line 17) | func (e *UnknownError) Error() string { method Unwrap (line 23) | func (e *UnknownError) Unwrap() error { type InvalidStateError (line 28) | type InvalidStateError struct method Error (line 32) | func (e *InvalidStateError) Error() string { method Unwrap (line 38) | func (e *InvalidStateError) Unwrap() error { type InvalidAccessError (line 44) | type InvalidAccessError struct method Error (line 48) | func (e *InvalidAccessError) Error() string { method Unwrap (line 54) | func (e *InvalidAccessError) Unwrap() error { type NotSupportedError (line 59) | type NotSupportedError struct method Error (line 63) | func (e *NotSupportedError) Error() string { method Unwrap (line 69) | func (e *NotSupportedError) Unwrap() error { type InvalidModificationError (line 74) | type InvalidModificationError struct method Error (line 78) | func (e *InvalidModificationError) Error() string { method Unwrap (line 84) | func (e *InvalidModificationError) Unwrap() error { type SyntaxError (line 89) | type SyntaxError struct method Error (line 93) | func (e *SyntaxError) Error() string { method Unwrap (line 99) | func (e *SyntaxError) Unwrap() error { type TypeError (line 104) | type TypeError struct method Error (line 108) | func (e *TypeError) Error() string { method Unwrap (line 114) | func (e *TypeError) Unwrap() error { type OperationError (line 120) | type OperationError struct method Error (line 124) | func (e *OperationError) Error() string { method Unwrap (line 130) | func (e *OperationError) Unwrap() error { type NotReadableError (line 135) | type NotReadableError struct method Error (line 139) | func (e *NotReadableError) Error() string { method Unwrap (line 145) | func (e *NotReadableError) Unwrap() error { type RangeError (line 151) | type RangeError struct method Error (line 155) | func (e *RangeError) Error() string { method Unwrap (line 161) | func (e *RangeError) Unwrap() error { FILE: rtcpfeedback.go constant TypeRTCPFBTransportCC (line 8) | TypeRTCPFBTransportCC = "transport-cc" constant TypeRTCPFBGoogREMB (line 11) | TypeRTCPFBGoogREMB = "goog-remb" constant TypeRTCPFBACK (line 14) | TypeRTCPFBACK = "ack" constant TypeRTCPFBCCM (line 17) | TypeRTCPFBCCM = "ccm" constant TypeRTCPFBNACK (line 20) | TypeRTCPFBNACK = "nack" type RTCPFeedback (line 25) | type RTCPFeedback struct FILE: rtcpmuxpolicy.go type RTCPMuxPolicy (line 12) | type RTCPMuxPolicy method String (line 47) | func (t RTCPMuxPolicy) String() string { method UnmarshalJSON (line 59) | func (t *RTCPMuxPolicy) UnmarshalJSON(b []byte) error { method MarshalJSON (line 71) | func (t RTCPMuxPolicy) MarshalJSON() ([]byte, error) { constant RTCPMuxPolicyUnknown (line 16) | RTCPMuxPolicyUnknown RTCPMuxPolicy = iota constant RTCPMuxPolicyNegotiate (line 22) | RTCPMuxPolicyNegotiate constant RTCPMuxPolicyRequire (line 27) | RTCPMuxPolicyRequire constant rtcpMuxPolicyNegotiateStr (line 32) | rtcpMuxPolicyNegotiateStr = "negotiate" constant rtcpMuxPolicyRequireStr (line 33) | rtcpMuxPolicyRequireStr = "require" function newRTCPMuxPolicy (line 36) | func newRTCPMuxPolicy(raw string) RTCPMuxPolicy { FILE: rtcpmuxpolicy_test.go function TestNewRTCPMuxPolicy (line 12) | func TestNewRTCPMuxPolicy(t *testing.T) { function TestRTCPMuxPolicy_String (line 31) | func TestRTCPMuxPolicy_String(t *testing.T) { FILE: rtpcapabilities.go type RTPCapabilities (line 9) | type RTPCapabilities struct FILE: rtpcodec.go type RTPCodecType (line 15) | type RTPCodecType method String (line 28) | func (t RTPCodecType) String() string { constant RTPCodecTypeUnknown (line 19) | RTPCodecTypeUnknown RTPCodecType = iota constant RTPCodecTypeAudio (line 22) | RTPCodecTypeAudio constant RTPCodecTypeVideo (line 25) | RTPCodecTypeVideo function NewRTPCodecType (line 40) | func NewRTPCodecType(r string) RTPCodecType { type RTPCodecCapability (line 54) | type RTPCodecCapability struct type RTPHeaderExtensionCapability (line 65) | type RTPHeaderExtensionCapability struct type RTPHeaderExtensionParameter (line 72) | type RTPHeaderExtensionParameter struct type RTPCodecParameters (line 82) | type RTPCodecParameters struct type RTPParameters (line 92) | type RTPParameters struct type codecMatchType (line 97) | type codecMatchType constant codecMatchNone (line 100) | codecMatchNone codecMatchType = 0 constant codecMatchPartial (line 101) | codecMatchPartial codecMatchType = 1 constant codecMatchExact (line 102) | codecMatchExact codecMatchType = 2 function codecParametersFuzzySearch (line 108) | func codecParametersFuzzySearch( function findRTXPayloadType (line 148) | func findRTXPayloadType(needle PayloadType, haystack []RTPCodecParameter... function primaryPayloadTypeForRTXExists (line 161) | func primaryPayloadTypeForRTXExists(needle RTPCodecParameters, haystack ... function filterUnattachedRTX (line 192) | func filterUnattachedRTX(codecs []RTPCodecParameters) []RTPCodecParamete... function findFECPayloadType (line 205) | func findFECPayloadType(haystack []RTPCodecParameters) PayloadType { function rtcpFeedbackIntersection (line 215) | func rtcpFeedbackIntersection(a, b []RTCPFeedback) (out []RTCPFeedback) { FILE: rtpcodec_test.go function TestFindPrimaryPayloadTypeForRTX (line 12) | func TestFindPrimaryPayloadTypeForRTX(t *testing.T) { function TestFindFECPayloadType (line 205) | func TestFindFECPayloadType(t *testing.T) { FILE: rtpcodingparameters.go type RTPRtxParameters (line 8) | type RTPRtxParameters struct type RTPFecParameters (line 14) | type RTPFecParameters struct type RTPCodingParameters (line 21) | type RTPCodingParameters struct FILE: rtpdecodingparameters.go type RTPDecodingParameters (line 9) | type RTPDecodingParameters struct FILE: rtpencodingparameters.go type RTPEncodingParameters (line 9) | type RTPEncodingParameters struct FILE: rtpreceiveparameters.go type RTPReceiveParameters (line 7) | type RTPReceiveParameters struct FILE: rtpreceiver.go type trackStreams (line 27) | type trackStreams struct type rtxPacketWithAttributes (line 46) | type rtxPacketWithAttributes struct method release (line 52) | func (p *rtxPacketWithAttributes) release() { type RTPReceiver (line 61) | type RTPReceiver struct method setRTPTransceiver (line 103) | func (r *RTPReceiver) setRTPTransceiver(tr *RTPTransceiver) { method Transport (line 111) | func (r *RTPReceiver) Transport() *DTLSTransport { method getParameters (line 118) | func (r *RTPReceiver) getParameters() RTPParameters { method GetParameters (line 132) | func (r *RTPReceiver) GetParameters() RTPParameters { method Track (line 140) | func (r *RTPReceiver) Track() *TrackRemote { method Tracks (line 153) | func (r *RTPReceiver) Tracks() []*TrackRemote { method RTPTransceiver (line 167) | func (r *RTPReceiver) RTPTransceiver() *RTPTransceiver { method configureReceive (line 175) | func (r *RTPReceiver) configureReceive(parameters RTPReceiveParameters) { method startReceive (line 195) | func (r *RTPReceiver) startReceive(parameters RTPReceiveParameters) er... method Receive (line 284) | func (r *RTPReceiver) Receive(parameters RTPReceiveParameters) error { method Read (line 291) | func (r *RTPReceiver) Read(b []byte) (n int, a interceptor.Attributes,... method ReadSimulcast (line 305) | func (r *RTPReceiver) ReadSimulcast(b []byte, rid string) (n int, a in... method ReadRTCP (line 331) | func (r *RTPReceiver) ReadRTCP() ([]rtcp.Packet, interceptor.Attribute... method ReadSimulcastRTCP (line 347) | func (r *RTPReceiver) ReadSimulcastRTCP(rid string) ([]rtcp.Packet, in... method haveReceived (line 359) | func (r *RTPReceiver) haveReceived() bool { method haveClosed (line 368) | func (r *RTPReceiver) haveClosed() bool { method Stop (line 373) | func (r *RTPReceiver) Stop() error { //nolint:cyclop method collectStats (line 424) | func (r *RTPReceiver) collectStats(collector *statsReportCollector, st... method populateInboundStats (line 474) | func (r *RTPReceiver) populateInboundStats( method collectAudioPlayoutStats (line 508) | func (r *RTPReceiver) collectAudioPlayoutStats( method streamsForTrack (line 520) | func (r *RTPReceiver) streamsForTrack(t *TrackRemote) *trackStreams { method readRTP (line 531) | func (r *RTPReceiver) readRTP(b []byte, reader *TrackRemote) (n int, a... method receiveForRid (line 547) | func (r *RTPReceiver) receiveForRid( method receiveForRtx (line 588) | func (r *RTPReceiver) receiveForRtx( method receiveForRtxInternal (line 612) | func (r *RTPReceiver) receiveForRtxInternal( method SetReadDeadline (line 715) | func (r *RTPReceiver) SetReadDeadline(t time.Time) error { method SetReadDeadlineSimulcast (line 724) | func (r *RTPReceiver) SetReadDeadlineSimulcast(deadline time.Time, rid... method setRTPReadDeadline (line 739) | func (r *RTPReceiver) setRTPReadDeadline(deadline time.Time, reader *T... method readRTX (line 751) | func (r *RTPReceiver) readRTX(reader *TrackRemote) *rtxPacketWithAttri... method NewRTPReceiver (line 82) | func (api *API) NewRTPReceiver(kind RTPCodecType, transport *DTLSTranspo... FILE: rtpreceiver_go.go method SetRTPParameters (line 16) | func (r *RTPReceiver) SetRTPParameters(params RTPParameters) { FILE: rtpreceiver_go_test.go function TestSetRTPParameters (line 19) | func TestSetRTPParameters(t *testing.T) { function TestReceiveError (line 78) | func TestReceiveError(t *testing.T) { FILE: rtpreceiver_js.go type RTPReceiver (line 12) | type RTPReceiver struct method JSValue (line 18) | func (r *RTPReceiver) JSValue() js.Value { FILE: rtpreceiver_test.go function Test_RTPReceiver_SetReadDeadline (line 29) | func Test_RTPReceiver_SetReadDeadline(t *testing.T) { function TestRTPReceiver_ClosedReceiveForRIDAndRTX (line 75) | func TestRTPReceiver_ClosedReceiveForRIDAndRTX(t *testing.T) { function TestRTPReceiver_readRTX_ChannelAccessSafe (line 142) | func TestRTPReceiver_readRTX_ChannelAccessSafe(t *testing.T) { function TestRTPReceiver_ReadRTP_SimulcastNoRace (line 209) | func TestRTPReceiver_ReadRTP_SimulcastNoRace(t *testing.T) { function TestRTPReceiver_CollectStats_Mapping (line 316) | func TestRTPReceiver_CollectStats_Mapping(t *testing.T) { function TestRTPReceiver_CollectStats_AudioPlayoutPull (line 382) | func TestRTPReceiver_CollectStats_AudioPlayoutPull(t *testing.T) { function TestRTPReceiver_CollectStats_AudioPlayoutSharedProvider (line 421) | func TestRTPReceiver_CollectStats_AudioPlayoutSharedProvider(t *testing.... function TestRTPReceiver_CollectStats_AudioPlayoutTimestampAlignment (line 461) | func TestRTPReceiver_CollectStats_AudioPlayoutTimestampAlignment(t *test... type fakeGetter (line 494) | type fakeGetter struct method Get (line 496) | func (f *fakeGetter) Get(uint32) *stats.Stats { return &f.s } type fakeAudioPlayoutStatsProvider (line 498) | type fakeAudioPlayoutStatsProvider struct method Snapshot (line 506) | func (f *fakeAudioPlayoutStatsProvider) Snapshot(now time.Time) (Audio... method AddTrack (line 513) | func (f *fakeAudioPlayoutStatsProvider) AddTrack(track *TrackRemote) e... method RemoveTrack (line 519) | func (f *fakeAudioPlayoutStatsProvider) RemoveTrack(track *TrackRemote) { function TestRTPReceiverRTXStreamInfoMimeType (line 523) | func TestRTPReceiverRTXStreamInfoMimeType(t *testing.T) { function mimeTypes (line 594) | func mimeTypes(infos []*interceptor.StreamInfo) []string { function TestRTPReceiver_CollectStats_RID (line 605) | func TestRTPReceiver_CollectStats_RID(t *testing.T) { FILE: rtpsender.go type trackEncoding (line 21) | type trackEncoding struct type RTPSender (line 35) | type RTPSender struct method isNegotiated (line 86) | func (r *RTPSender) isNegotiated() bool { method setNegotiated (line 93) | func (r *RTPSender) setNegotiated() { method setRTPTransceiver (line 99) | func (r *RTPSender) setRTPTransceiver(rtpTransceiver *RTPTransceiver) { method Transport (line 107) | func (r *RTPSender) Transport() *DTLSTransport { method GetParameters (line 116) | func (r *RTPSender) GetParameters() RTPSendParameters { method AddEncoding (line 153) | func (r *RTPSender) AddEncoding(track TrackLocal) error { //nolint:cyclop method addEncoding (line 200) | func (r *RTPSender) addEncoding(track TrackLocal) { method Track (line 218) | func (r *RTPSender) Track() TrackLocal { method ReplaceTrack (line 232) | func (r *RTPSender) ReplaceTrack(track TrackLocal) error { //nolint:cy... method Send (line 301) | func (r *RTPSender) Send(parameters RTPSendParameters) error { method Stop (line 378) | func (r *RTPSender) Stop() error { method Read (line 410) | func (r *RTPSender) Read(b []byte) (n int, a interceptor.Attributes, e... method ReadRTCP (line 420) | func (r *RTPSender) ReadRTCP() ([]rtcp.Packet, interceptor.Attributes,... method ReadSimulcast (line 436) | func (r *RTPSender) ReadSimulcast(b []byte, rid string) (n int, a inte... method ReadSimulcastRTCP (line 457) | func (r *RTPSender) ReadSimulcastRTCP(rid string) ([]rtcp.Packet, inte... method SetReadDeadline (line 471) | func (r *RTPSender) SetReadDeadline(t time.Time) error { method SetReadDeadlineSimulcast (line 481) | func (r *RTPSender) SetReadDeadlineSimulcast(deadline time.Time, rid s... method hasSent (line 495) | func (r *RTPSender) hasSent() bool { method hasStopped (line 505) | func (r *RTPSender) hasStopped() bool { method configureRTXAndFEC (line 516) | func (r *RTPSender) configureRTXAndFEC() { method NewRTPSender (line 60) | func (api *API) NewRTPSender(track TrackLocal, transport *DTLSTransport)... FILE: rtpsender_js.go type RTPSender (line 12) | type RTPSender struct method JSValue (line 18) | func (s *RTPSender) JSValue() js.Value { FILE: rtpsender_test.go function Test_RTPSender_ReplaceTrack (line 22) | func Test_RTPSender_ReplaceTrack(t *testing.T) { //nolint:cyclop function Test_RTPSender_GetParameters (line 103) | func Test_RTPSender_GetParameters(t *testing.T) { function Test_RTPSender_GetParameters_WithRID (line 127) | func Test_RTPSender_GetParameters_WithRID(t *testing.T) { function Test_RTPSender_SetReadDeadline (line 156) | func Test_RTPSender_SetReadDeadline(t *testing.T) { function Test_RTPSender_ReplaceTrack_InvalidTrackKindChange (line 185) | func Test_RTPSender_ReplaceTrack_InvalidTrackKindChange(t *testing.T) { function Test_RTPSender_ReplaceTrack_InvalidCodecChange (line 227) | func Test_RTPSender_ReplaceTrack_InvalidCodecChange(t *testing.T) { function Test_RTPSender_GetParameters_NilTrack (line 275) | func Test_RTPSender_GetParameters_NilTrack(t *testing.T) { function Test_RTPSender_Send (line 291) | func Test_RTPSender_Send(t *testing.T) { function Test_RTPSender_Send_Called_Once (line 309) | func Test_RTPSender_Send_Called_Once(t *testing.T) { function Test_RTPSender_Send_Track_Removed (line 330) | func Test_RTPSender_Send_Track_Removed(t *testing.T) { function Test_RTPSender_Add_Encoding (line 347) | func Test_RTPSender_Add_Encoding(t *testing.T) { function Test_RTPSender_FEC_Support (line 425) | func Test_RTPSender_FEC_Support(t *testing.T) { function Test_RTPSender_RTX_Support (line 468) | func Test_RTPSender_RTX_Support(t *testing.T) { type TrackLocalCheckRTCPReaderOnBind (line 506) | type TrackLocalCheckRTCPReaderOnBind struct method Bind (line 512) | func (s *TrackLocalCheckRTCPReaderOnBind) Bind(ctx TrackLocalContext) ... function Test_RTPSender_RTCPReader_Bind_Not_Nil (line 520) | func Test_RTPSender_RTCPReader_Bind_Not_Nil(t *testing.T) { function Test_RTPSender_SetReadDeadline_Crash (line 544) | func Test_RTPSender_SetReadDeadline_Crash(t *testing.T) { FILE: rtpsendparameters.go type RTPSendParameters (line 7) | type RTPSendParameters struct FILE: rtptransceiver.go type RTPTransceiver (line 20) | type RTPTransceiver struct method SetCodecPreferences (line 54) | func (t *RTPTransceiver) SetCodecPreferences(codecs []RTPCodecParamete... method getCodecs (line 72) | func (t *RTPTransceiver) getCodecs() []RTPCodecParameters { method setCodecPreferencesFromRemoteDescription (line 97) | func (t *RTPTransceiver) setCodecPreferencesFromRemoteDescription(medi... method Sender (line 186) | func (t *RTPTransceiver) Sender() *RTPSender { method SetSender (line 195) | func (t *RTPTransceiver) SetSender(s *RTPSender, track TrackLocal) err... method setSender (line 201) | func (t *RTPTransceiver) setSender(s *RTPSender) { method Receiver (line 214) | func (t *RTPTransceiver) Receiver() *RTPReceiver { method SetMid (line 223) | func (t *RTPTransceiver) SetMid(mid string) error { method Mid (line 233) | func (t *RTPTransceiver) Mid() string { method Kind (line 242) | func (t *RTPTransceiver) Kind() RTPCodecType { method Direction (line 247) | func (t *RTPTransceiver) Direction() RTPTransceiverDirection { method Stop (line 256) | func (t *RTPTransceiver) Stop() error { method setReceiver (line 274) | func (t *RTPTransceiver) setReceiver(r *RTPReceiver) { method setDirection (line 286) | func (t *RTPTransceiver) setDirection(d RTPTransceiverDirection) { method setCurrentDirection (line 290) | func (t *RTPTransceiver) setCurrentDirection(d RTPTransceiverDirection) { method getCurrentDirection (line 294) | func (t *RTPTransceiver) getCurrentDirection() RTPTransceiverDirection { method setCurrentRemoteDirection (line 302) | func (t *RTPTransceiver) setCurrentRemoteDirection(d RTPTransceiverDir... method getCurrentRemoteDirection (line 306) | func (t *RTPTransceiver) getCurrentRemoteDirection() RTPTransceiverDir... method setSendingTrack (line 314) | func (t *RTPTransceiver) setSendingTrack(track TrackLocal) error { //n... method isSendAllowed (line 344) | func (t *RTPTransceiver) isSendAllowed(kind RTPCodecType) bool { function newRTPTransceiver (line 36) | func newRTPTransceiver( function findByMid (line 375) | func findByMid(mid string, localTransceivers []*RTPTransceiver) (*RTPTra... function satisfyTypeAndDirection (line 387) | func satisfyTypeAndDirection( function handleUnknownRTPPacket (line 424) | func handleUnknownRTPPacket( FILE: rtptransceiver_js.go type RTPTransceiver (line 14) | type RTPTransceiver struct method JSValue (line 20) | func (r *RTPTransceiver) JSValue() js.Value { method Direction (line 25) | func (r *RTPTransceiver) Direction() RTPTransceiverDirection { method Sender (line 30) | func (r *RTPTransceiver) Sender() *RTPSender { method Receiver (line 40) | func (r *RTPTransceiver) Receiver() *RTPReceiver { FILE: rtptransceiver_test.go function Test_RTPTransceiver_SetCodecPreferences (line 15) | func Test_RTPTransceiver_SetCodecPreferences(t *testing.T) { function Test_RTPTransceiver_SetCodecPreferences_PayloadType (line 89) | func Test_RTPTransceiver_SetCodecPreferences_PayloadType(t *testing.T) { function Test_RTPTransceiver_UnattachedRTX (line 161) | func Test_RTPTransceiver_UnattachedRTX(t *testing.T) { FILE: rtptransceiverdirection.go type RTPTransceiverDirection (line 9) | type RTPTransceiverDirection method String (line 57) | func (t RTPTransceiverDirection) String() string { method Revers (line 73) | func (t RTPTransceiverDirection) Revers() RTPTransceiverDirection { constant RTPTransceiverDirectionUnknown (line 13) | RTPTransceiverDirectionUnknown RTPTransceiverDirection = iota constant RTPTransceiverDirectionSendrecv (line 17) | RTPTransceiverDirectionSendrecv constant RTPTransceiverDirectionSendonly (line 21) | RTPTransceiverDirectionSendonly constant RTPTransceiverDirectionRecvonly (line 25) | RTPTransceiverDirectionRecvonly constant RTPTransceiverDirectionInactive (line 29) | RTPTransceiverDirectionInactive constant rtpTransceiverDirectionSendrecvStr (line 34) | rtpTransceiverDirectionSendrecvStr = "sendrecv" constant rtpTransceiverDirectionSendonlyStr (line 35) | rtpTransceiverDirectionSendonlyStr = "sendonly" constant rtpTransceiverDirectionRecvonlyStr (line 36) | rtpTransceiverDirectionRecvonlyStr = "recvonly" constant rtpTransceiverDirectionInactiveStr (line 37) | rtpTransceiverDirectionInactiveStr = "inactive" function NewRTPTransceiverDirection (line 42) | func NewRTPTransceiverDirection(raw string) RTPTransceiverDirection { function haveRTPTransceiverDirectionIntersection (line 84) | func haveRTPTransceiverDirectionIntersection( FILE: rtptransceiverdirection_test.go function TestNewRTPTransceiverDirection (line 12) | func TestNewRTPTransceiverDirection(t *testing.T) { function TestRTPTransceiverDirection_String (line 33) | func TestRTPTransceiverDirection_String(t *testing.T) { FILE: rtptransceiverinit.go type RTPTransceiverInit (line 8) | type RTPTransceiverInit struct FILE: rtptransceiverinit_go_test.go function Test_RTPTransceiverInit_SSRC (line 17) | func Test_RTPTransceiverInit_SSRC(t *testing.T) { FILE: sctpcapabilities.go type SCTPCapabilities (line 7) | type SCTPCapabilities struct FILE: sctptransport.go constant sctpMaxChannels (line 20) | sctpMaxChannels = uint16(65535) type SCTPTransport (line 23) | type SCTPTransport struct method Transport (line 77) | func (r *SCTPTransport) Transport() *DTLSTransport { method GetCapabilities (line 85) | func (r *SCTPTransport) GetCapabilities() SCTPCapabilities { method Start (line 99) | func (r *SCTPTransport) Start(capabilities SCTPCapabilities) error { method Stop (line 160) | func (r *SCTPTransport) Stop() error { method acceptDataChannels (line 176) | func (r *SCTPTransport) acceptDataChannels( method OnError (line 286) | func (r *SCTPTransport) OnError(f func(err error)) { method onError (line 292) | func (r *SCTPTransport) onError(err error) { method OnClose (line 303) | func (r *SCTPTransport) OnClose(f func(err error)) { method onClose (line 309) | func (r *SCTPTransport) onClose(err error) { method OnDataChannel (line 321) | func (r *SCTPTransport) OnDataChannel(f func(*DataChannel)) { method OnDataChannelOpened (line 329) | func (r *SCTPTransport) OnDataChannelOpened(f func(*DataChannel)) { method onDataChannel (line 335) | func (r *SCTPTransport) onDataChannel(dc *DataChannel) (done chan stru... method updateMaxChannels (line 366) | func (r *SCTPTransport) updateMaxChannels() { method MaxChannels (line 372) | func (r *SCTPTransport) MaxChannels() uint16 { method State (line 384) | func (r *SCTPTransport) State() SCTPTransportState { method Stats (line 392) | func (r *SCTPTransport) Stats() SCTPTransportStats { method collectStats (line 412) | func (r *SCTPTransport) collectStats(collector *statsReportCollector) { method generateAndSetDataChannelID (line 418) | func (r *SCTPTransport) generateAndSetDataChannelID(dtlsRole DTLSRole,... method association (line 442) | func (r *SCTPTransport) association() *sctp.Association { method BufferedAmount (line 454) | func (r *SCTPTransport) BufferedAmount() int { method NewSCTPTransport (line 62) | func (api *API) NewSCTPTransport(dtls *DTLSTransport) *SCTPTransport { FILE: sctptransport_js.go type SCTPTransport (line 12) | type SCTPTransport struct method JSValue (line 18) | func (r *SCTPTransport) JSValue() js.Value { method Transport (line 23) | func (r *SCTPTransport) Transport() *DTLSTransport { FILE: sctptransport_test.go function TestGenerateDataChannelID (line 20) | func TestGenerateDataChannelID(t *testing.T) { function TestSCTPTransportOnClose (line 64) | func TestSCTPTransportOnClose(t *testing.T) { function TestSCTPTransportOnCloseImmediate (line 128) | func TestSCTPTransportOnCloseImmediate(t *testing.T) { function TestSCTPTransportOutOfBandNegotiatedDataChannelDetach (line 189) | func TestSCTPTransportOutOfBandNegotiatedDataChannelDetach(t *testing.T)... function TestMaxMessageSizeSignaling (line 298) | func TestMaxMessageSizeSignaling(t *testing.T) { FILE: sctptransportstate.go type SCTPTransportState (line 7) | type SCTPTransportState method String (line 49) | func (s SCTPTransportState) String() string { constant SCTPTransportStateUnknown (line 11) | SCTPTransportStateUnknown SCTPTransportState = iota constant SCTPTransportStateConnecting (line 16) | SCTPTransportStateConnecting constant SCTPTransportStateConnected (line 20) | SCTPTransportStateConnected constant SCTPTransportStateClosed (line 26) | SCTPTransportStateClosed constant sctpTransportStateConnectingStr (line 31) | sctpTransportStateConnectingStr = "connecting" constant sctpTransportStateConnectedStr (line 32) | sctpTransportStateConnectedStr = "connected" constant sctpTransportStateClosedStr (line 33) | sctpTransportStateClosedStr = "closed" function newSCTPTransportState (line 36) | func newSCTPTransportState(raw string) SCTPTransportState { FILE: sctptransportstate_test.go function TestNewSCTPTransportState (line 12) | func TestNewSCTPTransportState(t *testing.T) { function TestSCTPTransportState_String (line 32) | func TestSCTPTransportState_String(t *testing.T) { FILE: sdp.go type trackDetails (line 25) | type trackDetails struct function trackDetailsForSSRC (line 36) | func trackDetailsForSSRC(trackDetails []trackDetails, ssrc SSRC) *trackD... function trackDetailsForRID (line 46) | func trackDetailsForRID(trackDetails []trackDetails, mid, rid string) *t... function filterTrackWithSSRC (line 60) | func filterTrackWithSSRC(incomingTracks []trackDetails, ssrc SSRC) []tra... function trackDetailsFromSDP (line 78) | func trackDetailsFromSDP( function trackDetailsToRTPReceiveParameters (line 260) | func trackDetailsToRTPReceiveParameters(trackDetails *trackDetails) RTPR... function getRids (line 284) | func getRids(media *sdp.MediaDescription) []*simulcastRid { function addCandidatesToMediaDescriptions (line 318) | func addCandidatesToMediaDescriptions( function addDataMediaSection (line 361) | func addDataMediaSection( function populateLocalCandidates (line 409) | func populateLocalCandidates( function addSenderSDP (line 444) | func addSenderSDP( function addTransceiverSDP (line 532) | func addTransceiverSDP( type simulcastRid (line 661) | type simulcastRid struct type mediaSection (line 667) | type mediaSection struct function bundleMatchFromRemote (line 675) | func bundleMatchFromRemote(matchBundleGroup *string) func(mid string) bo... function populateSDP (line 691) | func populateSDP( function getMidValue (line 798) | func getMidValue(media *sdp.MediaDescription) string { function descriptionIsPlanB (line 809) | func descriptionIsPlanB(desc *SessionDescription, log logging.LeveledLog... function descriptionPossiblyPlanB (line 830) | func descriptionPossiblyPlanB(desc *SessionDescription) bool { function getPeerDirection (line 845) | func getPeerDirection(media *sdp.MediaDescription) RTPTransceiverDirecti... function extractBundleID (line 855) | func extractBundleID(desc *sdp.SessionDescription) string { function extractFingerprint (line 873) | func extractFingerprint(desc *sdp.SessionDescription) (string, string, e... type identifiedMediaDescription (line 920) | type identifiedMediaDescription struct function extractICEDetailsFromMedia (line 926) | func extractICEDetailsFromMedia( //nolint:cyclop type sdpICEDetails (line 994) | type sdpICEDetails struct function extractICEDetails (line 1000) | func extractICEDetails( function selectCandidateMediaSection (line 1043) | func selectCandidateMediaSection(sessionDescription *sdp.SessionDescript... function getByMid (line 1073) | func getByMid(searchMid string, desc *SessionDescription) *sdp.MediaDesc... function haveDataChannel (line 1084) | func haveDataChannel(desc *SessionDescription) *sdp.MediaDescription { function codecsFromMediaDescription (line 1094) | func codecsFromMediaDescription(mediaDescr *sdp.MediaDescription) (out [... function rtpExtensionsFromMediaDescription (line 1146) | func rtpExtensionsFromMediaDescription(m *sdp.MediaDescription) (map[str... function updateSDPOrigin (line 1167) | func updateSDPOrigin(origin *sdp.Origin, descr *sdp.SessionDescription) { function isIceLiteSet (line 1181) | func isIceLiteSet(desc *sdp.SessionDescription) bool { function isExtMapAllowMixedSet (line 1191) | func isExtMapAllowMixedSet(desc *sdp.SessionDescription) bool { function getMaxMessageSize (line 1201) | func getMaxMessageSize(desc *sdp.MediaDescription) uint32 { FILE: sdp_test.go function TestExtractFingerprint (line 21) | func TestExtractFingerprint(t *testing.T) { function TestExtractICEDetails (line 120) | func TestExtractICEDetails(t *testing.T) { //nolint:maintidx function TestSelectCandidateMediaSection (line 422) | func TestSelectCandidateMediaSection(t *testing.T) { function TestTrackDetailsFromSDP (line 475) | func TestTrackDetailsFromSDP(t *testing.T) { function TestHaveApplicationMediaSection (line 661) | func TestHaveApplicationMediaSection(t *testing.T) { function TestMediaDescriptionFingerprints (line 699) | func TestMediaDescriptionFingerprints(t *testing.T) { function TestPopulateSDP (line 777) | func TestPopulateSDP(t *testing.T) { //nolint:gocyclo,cyclop,maintidx function TestGetRIDs (line 1279) | func TestGetRIDs(t *testing.T) { function TestCodecsFromMediaDescription (line 1308) | func TestCodecsFromMediaDescription(t *testing.T) { function TestRtpExtensionsFromMediaDescription (line 1365) | func TestRtpExtensionsFromMediaDescription(t *testing.T) { function Test_SSRC_Groups (line 1383) | func Test_SSRC_Groups(t *testing.T) { FILE: sdpsemantics.go type SDPSemantics (line 12) | type SDPSemantics method String (line 48) | func (s SDPSemantics) String() string { method UnmarshalJSON (line 62) | func (s *SDPSemantics) UnmarshalJSON(b []byte) error { method MarshalJSON (line 74) | func (s SDPSemantics) MarshalJSON() ([]byte, error) { constant SDPSemanticsUnifiedPlan (line 18) | SDPSemanticsUnifiedPlan SDPSemantics = iota constant SDPSemanticsPlanB (line 23) | SDPSemanticsPlanB constant SDPSemanticsUnifiedPlanWithFallback (line 28) | SDPSemanticsUnifiedPlanWithFallback constant sdpSemanticsUnifiedPlanWithFallback (line 32) | sdpSemanticsUnifiedPlanWithFallback = "unified-plan-with-fallback" constant sdpSemanticsUnifiedPlan (line 33) | sdpSemanticsUnifiedPlan = "unified-plan" constant sdpSemanticsPlanB (line 34) | sdpSemanticsPlanB = "plan-b" function newSDPSemantics (line 37) | func newSDPSemantics(raw string) SDPSemantics { FILE: sdpsemantics_test.go function TestSDPSemantics_String (line 20) | func TestSDPSemantics_String(t *testing.T) { function TestSDPSemantics_JSON (line 49) | func TestSDPSemantics_JSON(t *testing.T) { function getMdNames (line 78) | func getMdNames(sdp *sdp.SessionDescription) []string { function extractSsrcList (line 87) | func extractSsrcList(md *sdp.MediaDescription) []string { function TestSDPSemantics_PlanBOfferTransceivers (line 103) | func TestSDPSemantics_PlanBOfferTransceivers(t *testing.T) { function TestSDPSemantics_PlanBAnswerSenders (line 166) | func TestSDPSemantics_PlanBAnswerSenders(t *testing.T) { function TestSDPSemantics_UnifiedPlanWithFallback (line 247) | func TestSDPSemantics_UnifiedPlanWithFallback(t *testing.T) { function TestSDPSemantics_SetRemoteDescription_Mismatch (line 344) | func TestSDPSemantics_SetRemoteDescription_Mismatch(t *testing.T) { FILE: sdptype.go type SDPType (line 12) | type SDPType method String (line 65) | func (t SDPType) String() string { method MarshalJSON (line 81) | func (t SDPType) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 86) | func (t *SDPType) UnmarshalJSON(b []byte) error { constant SDPTypeUnknown (line 16) | SDPTypeUnknown SDPType = iota constant SDPTypeOffer (line 19) | SDPTypeOffer constant SDPTypePranswer (line 25) | SDPTypePranswer constant SDPTypeAnswer (line 31) | SDPTypeAnswer constant SDPTypeRollback (line 38) | SDPTypeRollback constant sdpTypeOfferStr (line 43) | sdpTypeOfferStr = "offer" constant sdpTypePranswerStr (line 44) | sdpTypePranswerStr = "pranswer" constant sdpTypeAnswerStr (line 45) | sdpTypeAnswerStr = "answer" constant sdpTypeRollbackStr (line 46) | sdpTypeRollbackStr = "rollback" function NewSDPType (line 50) | func NewSDPType(raw string) SDPType { FILE: sdptype_test.go function TestNewSDPType (line 12) | func TestNewSDPType(t *testing.T) { function TestSDPType_String (line 33) | func TestSDPType_String(t *testing.T) { FILE: sessiondescription.go type ICETrickleCapability (line 16) | type ICETrickleCapability method String (line 28) | func (t ICETrickleCapability) String() string { constant ICETrickleCapabilityUnknown (line 20) | ICETrickleCapabilityUnknown ICETrickleCapability = iota constant ICETrickleCapabilitySupported (line 22) | ICETrickleCapabilitySupported constant ICETrickleCapabilityUnsupported (line 24) | ICETrickleCapabilityUnsupported type SessionDescription (line 40) | type SessionDescription struct method Unmarshal (line 49) | func (sd *SessionDescription) Unmarshal() (*sdp.SessionDescription, er... function hasICETrickleOption (line 59) | func hasICETrickleOption(desc *sdp.SessionDescription) bool { function hasTrickleOptionValue (line 73) | func hasTrickleOptionValue(value string) bool { FILE: sessiondescription_test.go function TestSessionDescription_JSON (line 15) | func TestSessionDescription_JSON(t *testing.T) { function TestSessionDescription_Unmarshal (line 67) | func TestSessionDescription_Unmarshal(t *testing.T) { function TestSessionDescription_UnmarshalError (line 90) | func TestSessionDescription_UnmarshalError(t *testing.T) { function TestHasICETrickleOption (line 100) | func TestHasICETrickleOption(t *testing.T) { FILE: settingengine.go type SettingEngine (line 30) | type SettingEngine struct method SetICERenomination (line 158) | func (e *SettingEngine) SetICERenomination(options ...RenominationOpti... method getSCTPMaxMessageSize (line 182) | func (e *SettingEngine) getSCTPMaxMessageSize() uint32 { method getReceiveMTU (line 191) | func (e *SettingEngine) getReceiveMTU() uint { method DetachDataChannels (line 202) | func (e *SettingEngine) DetachDataChannels() { method EnableDataChannelBlockWrite (line 208) | func (e *SettingEngine) EnableDataChannelBlockWrite(nonblockWrite bool) { method SetSRTPProtectionProfiles (line 214) | func (e *SettingEngine) SetSRTPProtectionProfiles(profiles ...dtls.SRT... method SetICETimeouts (line 233) | func (e *SettingEngine) SetICETimeouts(disconnectedTimeout, failedTime... method SetHostAcceptanceMinWait (line 240) | func (e *SettingEngine) SetHostAcceptanceMinWait(t time.Duration) { method SetSrflxAcceptanceMinWait (line 245) | func (e *SettingEngine) SetSrflxAcceptanceMinWait(t time.Duration) { method SetPrflxAcceptanceMinWait (line 250) | func (e *SettingEngine) SetPrflxAcceptanceMinWait(t time.Duration) { method SetRelayAcceptanceMinWait (line 255) | func (e *SettingEngine) SetRelayAcceptanceMinWait(t time.Duration) { method SetSTUNGatherTimeout (line 260) | func (e *SettingEngine) SetSTUNGatherTimeout(t time.Duration) { method SetEphemeralUDPPortRange (line 270) | func (e *SettingEngine) SetEphemeralUDPPortRange(portMin, portMax uint... method SetLite (line 282) | func (e *SettingEngine) SetLite(lite bool) { method SetNetworkTypes (line 288) | func (e *SettingEngine) SetNetworkTypes(candidateTypes []NetworkType) { method SetInterfaceFilter (line 296) | func (e *SettingEngine) SetInterfaceFilter(filter func(string) (keep b... method SetIPFilter (line 304) | func (e *SettingEngine) SetIPFilter(filter func(net.IP) (keep bool)) { method SetNAT1To1IPs (line 340) | func (e *SettingEngine) SetNAT1To1IPs(ips []string, candidateType ICEC... method SetICEAddressRewriteRules (line 349) | func (e *SettingEngine) SetICEAddressRewriteRules(rules ...ICEAddressR... method SetIncludeLoopbackCandidate (line 372) | func (e *SettingEngine) SetIncludeLoopbackCandidate(include bool) { method SetAnsweringDTLSRole (line 387) | func (e *SettingEngine) SetAnsweringDTLSRole(role DTLSRole) error { method SetNet (line 401) | func (e *SettingEngine) SetNet(net transport.Net) { method SetICEMulticastDNSMode (line 406) | func (e *SettingEngine) SetICEMulticastDNSMode(multicastDNSMode ice.Mu... method SetMulticastDNSHostName (line 414) | func (e *SettingEngine) SetMulticastDNSHostName(hostName string) { method SetICECredentials (line 422) | func (e *SettingEngine) SetICECredentials(usernameFragment, password s... method DisableCertificateFingerprintVerification (line 428) | func (e *SettingEngine) DisableCertificateFingerprintVerification(isDi... method SetDTLSReplayProtectionWindow (line 433) | func (e *SettingEngine) SetDTLSReplayProtectionWindow(n uint) { method SetSRTPReplayProtectionWindow (line 438) | func (e *SettingEngine) SetSRTPReplayProtectionWindow(n uint) { method SetSRTCPReplayProtectionWindow (line 444) | func (e *SettingEngine) SetSRTCPReplayProtectionWindow(n uint) { method DisableSRTPReplayProtection (line 450) | func (e *SettingEngine) DisableSRTPReplayProtection(isDisabled bool) { method DisableSRTCPReplayProtection (line 455) | func (e *SettingEngine) DisableSRTCPReplayProtection(isDisabled bool) { method SetSDPMediaLevelFingerprints (line 463) | func (e *SettingEngine) SetSDPMediaLevelFingerprints(sdpMediaLevelFing... method SetICETCPMux (line 469) | func (e *SettingEngine) SetICETCPMux(tcpMux ice.TCPMux) { method SetICEUDPMux (line 476) | func (e *SettingEngine) SetICEUDPMux(udpMux ice.UDPMux) { method SetICEProxyDialer (line 481) | func (e *SettingEngine) SetICEProxyDialer(d proxy.Dialer) { method SetICEMaxBindingRequests (line 487) | func (e *SettingEngine) SetICEMaxBindingRequests(d uint16) { method DisableActiveTCP (line 492) | func (e *SettingEngine) DisableActiveTCP(isDisabled bool) { method DisableMediaEngineCopy (line 499) | func (e *SettingEngine) DisableMediaEngineCopy(isDisabled bool) { method DisableMediaEngineMultipleCodecs (line 509) | func (e *SettingEngine) DisableMediaEngineMultipleCodecs(isDisabled bo... method SetReceiveMTU (line 515) | func (e *SettingEngine) SetReceiveMTU(receiveMTU uint) { method SetDTLSRetransmissionInterval (line 520) | func (e *SettingEngine) SetDTLSRetransmissionInterval(interval time.Du... method SetDTLSInsecureSkipHelloVerify (line 528) | func (e *SettingEngine) SetDTLSInsecureSkipHelloVerify(skip bool) { method SetDTLSDisableInsecureSkipVerify (line 534) | func (e *SettingEngine) SetDTLSDisableInsecureSkipVerify(disable bool) { method SetDTLSEllipticCurves (line 539) | func (e *SettingEngine) SetDTLSEllipticCurves(ellipticCurves ...dtlsEl... method SetDTLSConnectContextMaker (line 550) | func (e *SettingEngine) SetDTLSConnectContextMaker(connectContextMaker... method SetDTLSExtendedMasterSecret (line 555) | func (e *SettingEngine) SetDTLSExtendedMasterSecret(extendedMasterSecr... method SetDTLSClientAuth (line 560) | func (e *SettingEngine) SetDTLSClientAuth(clientAuth dtls.ClientAuthTy... method SetDTLSClientCAs (line 565) | func (e *SettingEngine) SetDTLSClientCAs(clientCAs *x509.CertPool) { method SetDTLSRootCAs (line 570) | func (e *SettingEngine) SetDTLSRootCAs(rootCAs *x509.CertPool) { method SetDTLSKeyLogWriter (line 576) | func (e *SettingEngine) SetDTLSKeyLogWriter(writer io.Writer) { method SetSCTPMaxReceiveBufferSize (line 582) | func (e *SettingEngine) SetSCTPMaxReceiveBufferSize(maxReceiveBufferSi... method EnableSCTPZeroChecksum (line 589) | func (e *SettingEngine) EnableSCTPZeroChecksum(isEnabled bool) { method SetSCTPMaxMessageSize (line 595) | func (e *SettingEngine) SetSCTPMaxMessageSize(maxMessageSize uint32) { method SetDTLSCipherSuites (line 602) | func (e *SettingEngine) SetDTLSCipherSuites(cipherSuites ...dtls.Ciphe... method SetDTLSCustomerCipherSuites (line 608) | func (e *SettingEngine) SetDTLSCustomerCipherSuites(customCipherSuites... method SetDTLSClientHelloMessageHook (line 614) | func (e *SettingEngine) SetDTLSClientHelloMessageHook(hook func(handsh... method SetDTLSServerHelloMessageHook (line 620) | func (e *SettingEngine) SetDTLSServerHelloMessageHook(hook func(handsh... method SetDTLSCertificateRequestMessageHook (line 626) | func (e *SettingEngine) SetDTLSCertificateRequestMessageHook( method SetDTLSSupportedProtocols (line 636) | func (e *SettingEngine) SetDTLSSupportedProtocols(protocols ...string) { method SetSCTPRTOMax (line 642) | func (e *SettingEngine) SetSCTPRTOMax(rtoMax time.Duration) { method SetSCTPMinCwnd (line 648) | func (e *SettingEngine) SetSCTPMinCwnd(minCwnd uint32) { method SetSCTPFastRtxWnd (line 653) | func (e *SettingEngine) SetSCTPFastRtxWnd(fastRtxWnd uint32) { method SetSCTPCwndCAStep (line 658) | func (e *SettingEngine) SetSCTPCwndCAStep(cwndCAStep uint32) { method SetICEBindingRequestHandler (line 667) | func (e *SettingEngine) SetICEBindingRequestHandler( method SetFireOnTrackBeforeFirstRTP (line 678) | func (e *SettingEngine) SetFireOnTrackBeforeFirstRTP(fireOnTrackBefore... method DisableCloseByDTLS (line 685) | func (e *SettingEngine) DisableCloseByDTLS(isEnabled bool) { method SetHandleUndeclaredSSRCWithoutAnswer (line 691) | func (e *SettingEngine) SetHandleUndeclaredSSRCWithoutAnswer(handleUnd... method SetIgnoreRidPauseForRecv (line 697) | func (e *SettingEngine) SetIgnoreRidPauseForRecv(ignoreRidPauseForRecv... type renominationSettings (line 120) | type renominationSettings struct type NominationValueGenerator (line 128) | type NominationValueGenerator method toIce (line 130) | func (f NominationValueGenerator) toIce() ice.NominationValueGenerator { type RenominationOption (line 135) | type RenominationOption function WithRenominationGenerator (line 138) | func WithRenominationGenerator(generator NominationValueGenerator) Renom... function WithRenominationInterval (line 146) | func WithRenominationInterval(interval time.Duration) RenominationOption { FILE: settingengine_js.go type SettingEngine (line 12) | type SettingEngine struct method DetachDataChannels (line 21) | func (e *SettingEngine) DetachDataChannels() { FILE: settingengine_test.go function TestSetEphemeralUDPPortRange (line 27) | func TestSetEphemeralUDPPortRange(t *testing.T) { function TestSetConnectionTimeout (line 43) | func TestSetConnectionTimeout(t *testing.T) { function TestICERenomination (line 57) | func TestICERenomination(t *testing.T) { function TestDetachDataChannels (line 108) | func TestDetachDataChannels(t *testing.T) { function TestSetNAT1To1IPs (line 116) | func TestSetNAT1To1IPs(t *testing.T) { function TestSettingEngine_SetICEAddressRewriteRules_EmptyClears (line 128) | func TestSettingEngine_SetICEAddressRewriteRules_EmptyClears(t *testing.... function ExampleSettingEngine_SetICEAddressRewriteRules_replaceHost (line 153) | func ExampleSettingEngine_SetICEAddressRewriteRules_replaceHost() { function ExampleSettingEngine_SetICEAddressRewriteRules_appendSrflx (line 168) | func ExampleSettingEngine_SetICEAddressRewriteRules_appendSrflx() { function TestSetAnsweringDTLSRole (line 180) | func TestSetAnsweringDTLSRole(t *testing.T) { function TestSetReplayProtection (line 194) | func TestSetReplayProtection(t *testing.T) { function TestSettingEngine_SetICETCP (line 232) | func TestSettingEngine_SetICETCP(t *testing.T) { function TestSettingEngine_SetDisableMediaEngineCopy (line 255) | func TestSettingEngine_SetDisableMediaEngineCopy(t *testing.T) { function TestSetDTLSRetransmissionInterval (line 328) | func TestSetDTLSRetransmissionInterval(t *testing.T) { function TestSetDTLSEllipticCurves (line 346) | func TestSetDTLSEllipticCurves(t *testing.T) { function TestSetDTLSHandShakeTimeout (line 355) | func TestSetDTLSHandShakeTimeout(*testing.T) { function TestSetSCTPMaxReceiverBufferSize (line 363) | func TestSetSCTPMaxReceiverBufferSize(t *testing.T) { function TestSetSCTPRTOMax (line 372) | func TestSetSCTPRTOMax(t *testing.T) { function TestSetICEBindingRequestHandler (line 381) | func TestSetICEBindingRequestHandler(t *testing.T) { function TestSetHooks (line 410) | func TestSetHooks(t *testing.T) { function TestSetFireOnTrackBeforeFirstRTP (line 441) | func TestSetFireOnTrackBeforeFirstRTP(t *testing.T) { function TestDisableCloseByDTLS (line 509) | func TestDisableCloseByDTLS(t *testing.T) { function TestEnableDataChannelBlockWrite (line 532) | func TestEnableDataChannelBlockWrite(t *testing.T) { function TestSettingEngine_getReceiveMTU_Custom (line 574) | func TestSettingEngine_getReceiveMTU_Custom(t *testing.T) { function TestSettingEngine_ICEAcceptanceAndSTUNSetters (line 582) | func TestSettingEngine_ICEAcceptanceAndSTUNSetters(t *testing.T) { function TestSettingEngine_CandidateFiltersAndNetworkTypes (line 610) | func TestSettingEngine_CandidateFiltersAndNetworkTypes(t *testing.T) { function TestSettingEngine_MDNSAndCredentialsAndFingerprint (line 632) | func TestSettingEngine_MDNSAndCredentialsAndFingerprint(t *testing.T) { function TestSettingEngine_UDPMuxProxyBindingAndTCPFlags (line 645) | func TestSettingEngine_UDPMuxProxyBindingAndTCPFlags(t *testing.T) { function TestSettingEngine_MediaEngineAndMTUFlags (line 664) | func TestSettingEngine_MediaEngineAndMTUFlags(t *testing.T) { function TestSettingEngine_DTLSSetters (line 674) | func TestSettingEngine_DTLSSetters(t *testing.T) { function TestSettingEngine_SCTPSetters (line 719) | func TestSettingEngine_SCTPSetters(t *testing.T) { function TestSettingEngine_HandleUndeclaredSSRCWithoutAnswer (line 733) | func TestSettingEngine_HandleUndeclaredSSRCWithoutAnswer(t *testing.T) { FILE: signalingstate.go type stateChangeOp (line 13) | type stateChangeOp method String (line 20) | func (op stateChangeOp) String() string { constant stateChangeOpSetLocal (line 16) | stateChangeOpSetLocal stateChangeOp = iota + 1 constant stateChangeOpSetRemote (line 17) | stateChangeOpSetRemote type SignalingState (line 32) | type SignalingState method String (line 94) | func (t SignalingState) String() string { method Get (line 114) | func (t *SignalingState) Get() SignalingState { method Set (line 119) | func (t *SignalingState) Set(state SignalingState) { constant SignalingStateUnknown (line 36) | SignalingStateUnknown SignalingState = iota constant SignalingStateStable (line 41) | SignalingStateStable constant SignalingStateHaveLocalOffer (line 45) | SignalingStateHaveLocalOffer constant SignalingStateHaveRemoteOffer (line 49) | SignalingStateHaveRemoteOffer constant SignalingStateHaveLocalPranswer (line 54) | SignalingStateHaveLocalPranswer constant SignalingStateHaveRemotePranswer (line 59) | SignalingStateHaveRemotePranswer constant SignalingStateClosed (line 62) | SignalingStateClosed constant signalingStateStableStr (line 67) | signalingStateStableStr = "stable" constant signalingStateHaveLocalOfferStr (line 68) | signalingStateHaveLocalOfferStr = "have-local-offer" constant signalingStateHaveRemoteOfferStr (line 69) | signalingStateHaveRemoteOfferStr = "have-remote-offer" constant signalingStateHaveLocalPranswerStr (line 70) | signalingStateHaveLocalPranswerStr = "have-local-pranswer" constant signalingStateHaveRemotePranswerStr (line 71) | signalingStateHaveRemotePranswerStr = "have-remote-pranswer" constant signalingStateClosedStr (line 72) | signalingStateClosedStr = "closed" function newSignalingState (line 75) | func newSignalingState(raw string) SignalingState { function checkNextSignalingState (line 124) | func checkNextSignalingState(cur, next SignalingState, op stateChangeOp,... FILE: signalingstate_test.go function TestNewSignalingState (line 13) | func TestNewSignalingState(t *testing.T) { function TestSignalingState_String (line 36) | func TestSignalingState_String(t *testing.T) { function TestSignalingState_Transitions (line 59) | func TestSignalingState_Transitions(t *testing.T) { function TestStateChangeOp_String_SetLocal (line 165) | func TestStateChangeOp_String_SetLocal(t *testing.T) { function TestStateChangeOp_String_Default (line 169) | func TestStateChangeOp_String_Default(t *testing.T) { FILE: srtp_writer_future.go type srtpWriterFuture (line 20) | type srtpWriterFuture struct method init (line 29) | func (s *srtpWriterFuture) init(returnWhenNoSRTP bool) error { //nolin... method Close (line 79) | func (s *srtpWriterFuture) Close() error { method Read (line 95) | func (s *srtpWriterFuture) Read(b []byte) (n int, err error) { method SetReadDeadline (line 107) | func (s *srtpWriterFuture) SetReadDeadline(t time.Time) error { method WriteRTP (line 119) | func (s *srtpWriterFuture) WriteRTP(header *rtp.Header, payload []byte... method Write (line 131) | func (s *srtpWriterFuture) Write(b []byte) (int, error) { FILE: srtp_writer_future_test.go function newSWFStopClosed (line 19) | func newSWFStopClosed() *srtpWriterFuture { function newSWFReadyButNoSessions (line 37) | func newSWFReadyButNoSessions() *srtpWriterFuture { function TestSRTPWriterFuture_Errors_WhenStopCalled (line 54) | func TestSRTPWriterFuture_Errors_WhenStopCalled(t *testing.T) { function TestSRTPWriterFuture_Errors_WhenClosedFlagSet (line 74) | func TestSRTPWriterFuture_Errors_WhenClosedFlagSet(t *testing.T) { function TestSRTPWriterFuture_Errors_WhenSessionsUnavailable (line 102) | func TestSRTPWriterFuture_Errors_WhenSessionsUnavailable(t *testing.T) { function TestSRTPWriterFuture_Close_AlreadyClosed (line 121) | func TestSRTPWriterFuture_Close_AlreadyClosed(t *testing.T) { FILE: stats.go type Stats (line 17) | type Stats interface function UnmarshalStatsJSON (line 22) | func UnmarshalStatsJSON(b []byte) (Stats, error) { //nolint:cyclop type StatsType (line 78) | type StatsType constant StatsTypeCodec (line 82) | StatsTypeCodec StatsType = "codec" constant StatsTypeInboundRTP (line 85) | StatsTypeInboundRTP StatsType = "inbound-rtp" constant StatsTypeOutboundRTP (line 88) | StatsTypeOutboundRTP StatsType = "outbound-rtp" constant StatsTypeRemoteInboundRTP (line 91) | StatsTypeRemoteInboundRTP StatsType = "remote-inbound-rtp" constant StatsTypeRemoteOutboundRTP (line 94) | StatsTypeRemoteOutboundRTP StatsType = "remote-outbound-rtp" constant StatsTypeCSRC (line 97) | StatsTypeCSRC StatsType = "csrc" constant StatsTypeMediaSource (line 100) | StatsTypeMediaSource = "media-source" constant StatsTypeMediaPlayout (line 103) | StatsTypeMediaPlayout StatsType = "media-playout" constant StatsTypePeerConnection (line 106) | StatsTypePeerConnection StatsType = "peer-connection" constant StatsTypeDataChannel (line 109) | StatsTypeDataChannel StatsType = "data-channel" constant StatsTypeStream (line 112) | StatsTypeStream StatsType = "stream" constant StatsTypeTrack (line 115) | StatsTypeTrack StatsType = "track" constant StatsTypeSender (line 118) | StatsTypeSender StatsType = "sender" constant StatsTypeReceiver (line 121) | StatsTypeReceiver StatsType = "receiver" constant StatsTypeTransport (line 124) | StatsTypeTransport StatsType = "transport" constant StatsTypeCandidatePair (line 127) | StatsTypeCandidatePair StatsType = "candidate-pair" constant StatsTypeLocalCandidate (line 130) | StatsTypeLocalCandidate StatsType = "local-candidate" constant StatsTypeRemoteCandidate (line 133) | StatsTypeRemoteCandidate StatsType = "remote-candidate" constant StatsTypeCertificate (line 136) | StatsTypeCertificate StatsType = "certificate" constant StatsTypeSCTPTransport (line 139) | StatsTypeSCTPTransport StatsType = "sctp-transport" type MediaKind (line 143) | type MediaKind constant MediaKindAudio (line 147) | MediaKindAudio MediaKind = "audio" constant MediaKindVideo (line 149) | MediaKindVideo MediaKind = "video" type StatsTimestamp (line 154) | type StatsTimestamp method Time (line 157) | func (s StatsTimestamp) Time() time.Time { function statsTimestampFrom (line 164) | func statsTimestampFrom(t time.Time) StatsTimestamp { function statsTimestampNow (line 168) | func statsTimestampNow() StatsTimestamp { type StatsReport (line 173) | type StatsReport type statsReportCollector (line 175) | type statsReportCollector struct method Collecting (line 185) | func (src *statsReportCollector) Collecting() { method Collect (line 189) | func (src *statsReportCollector) Collect(id string, stats Stats) { method Done (line 197) | func (src *statsReportCollector) Done() { method Ready (line 201) | func (src *statsReportCollector) Ready() StatsReport { function newStatsReportCollector (line 181) | func newStatsReportCollector() *statsReportCollector { type CodecType (line 211) | type CodecType constant CodecTypeEncode (line 216) | CodecTypeEncode CodecType = "encode" constant CodecTypeDecode (line 220) | CodecTypeDecode CodecType = "decode" type CodecStats (line 225) | type CodecStats struct method statsMarker (line 265) | func (s CodecStats) statsMarker() {} function unmarshalCodecStats (line 267) | func unmarshalCodecStats(b []byte) (CodecStats, error) { type InboundRTPStreamStats (line 279) | type InboundRTPStreamStats struct method statsMarker (line 606) | func (s InboundRTPStreamStats) statsMarker() {} function unmarshalInboundRTPStreamStats (line 608) | func unmarshalInboundRTPStreamStats(b []byte) (InboundRTPStreamStats, er... type QualityLimitationReason (line 620) | type QualityLimitationReason constant QualityLimitationReasonNone (line 624) | QualityLimitationReasonNone QualityLimitationReason = "none" constant QualityLimitationReasonCPU (line 627) | QualityLimitationReasonCPU QualityLimitationReason = "cpu" constant QualityLimitationReasonBandwidth (line 633) | QualityLimitationReasonBandwidth QualityLimitationReason = "bandwidth" constant QualityLimitationReasonOther (line 637) | QualityLimitationReasonOther QualityLimitationReason = "other" type OutboundRTPStreamStats (line 642) | type OutboundRTPStreamStats struct method statsMarker (line 861) | func (s OutboundRTPStreamStats) statsMarker() {} function unmarshalOutboundRTPStreamStats (line 863) | func unmarshalOutboundRTPStreamStats(b []byte) (OutboundRTPStreamStats, ... type RemoteInboundRTPStreamStats (line 877) | type RemoteInboundRTPStreamStats struct method statsMarker (line 993) | func (s RemoteInboundRTPStreamStats) statsMarker() {} function unmarshalRemoteInboundRTPStreamStats (line 995) | func unmarshalRemoteInboundRTPStreamStats(b []byte) (RemoteInboundRTPStr... type RemoteOutboundRTPStreamStats (line 1009) | type RemoteOutboundRTPStreamStats struct method statsMarker (line 1113) | func (s RemoteOutboundRTPStreamStats) statsMarker() {} function unmarshalRemoteOutboundRTPStreamStats (line 1115) | func unmarshalRemoteOutboundRTPStreamStats(b []byte) (RemoteOutboundRTPS... type RTPContributingSourceStats (line 1127) | type RTPContributingSourceStats struct method statsMarker (line 1161) | func (s RTPContributingSourceStats) statsMarker() {} function unmarshalCSRCStats (line 1163) | func unmarshalCSRCStats(b []byte) (RTPContributingSourceStats, error) { type AudioSourceStats (line 1174) | type AudioSourceStats struct method statsMarker (line 1243) | func (s AudioSourceStats) statsMarker() {} type VideoSourceStats (line 1246) | type VideoSourceStats struct method statsMarker (line 1277) | func (s VideoSourceStats) statsMarker() {} function unmarshalMediaSourceStats (line 1279) | func unmarshalMediaSourceStats(b []byte) (Stats, error) { type AudioPlayoutStats (line 1315) | type AudioPlayoutStats struct method statsMarker (line 1359) | func (s AudioPlayoutStats) statsMarker() {} function unmarshalMediaPlayoutStats (line 1361) | func unmarshalMediaPlayoutStats(b []byte) (Stats, error) { type PeerConnectionStats (line 1372) | type PeerConnectionStats struct method statsMarker (line 1405) | func (s PeerConnectionStats) statsMarker() {} function unmarshalPeerConnectionStats (line 1407) | func unmarshalPeerConnectionStats(b []byte) (PeerConnectionStats, error) { type DataChannelStats (line 1418) | type DataChannelStats struct method statsMarker (line 1460) | func (s DataChannelStats) statsMarker() {} function unmarshalDataChannelStats (line 1462) | func unmarshalDataChannelStats(b []byte) (DataChannelStats, error) { type MediaStreamStats (line 1473) | type MediaStreamStats struct method statsMarker (line 1493) | func (s MediaStreamStats) statsMarker() {} function unmarshalStreamStats (line 1495) | func unmarshalStreamStats(b []byte) (MediaStreamStats, error) { type AudioSenderStats (line 1510) | type AudioSenderStats struct method statsMarker (line 1579) | func (s AudioSenderStats) statsMarker() {} type SenderAudioTrackAttachmentStats (line 1593) | type SenderAudioTrackAttachmentStats method statsMarker (line 1595) | func (s SenderAudioTrackAttachmentStats) statsMarker() {} type VideoSenderStats (line 1602) | type VideoSenderStats struct method statsMarker (line 1647) | func (s VideoSenderStats) statsMarker() {} type SenderVideoTrackAttachmentStats (line 1661) | type SenderVideoTrackAttachmentStats method statsMarker (line 1663) | func (s SenderVideoTrackAttachmentStats) statsMarker() {} function unmarshalSenderStats (line 1665) | func unmarshalSenderStats(b []byte) (Stats, error) { function unmarshalTrackStats (line 1698) | func unmarshalTrackStats(b []byte) (Stats, error) { type AudioReceiverStats (line 1732) | type AudioReceiverStats struct method statsMarker (line 1818) | func (s AudioReceiverStats) statsMarker() {} type VideoReceiverStats (line 1821) | type VideoReceiverStats struct method statsMarker (line 1903) | func (s VideoReceiverStats) statsMarker() {} function unmarshalReceiverStats (line 1905) | func unmarshalReceiverStats(b []byte) (Stats, error) { type TransportStats (line 1939) | type TransportStats struct method statsMarker (line 2003) | func (s TransportStats) statsMarker() {} function unmarshalTransportStats (line 2005) | func unmarshalTransportStats(b []byte) (TransportStats, error) { type StatsICECandidatePairState (line 2017) | type StatsICECandidatePairState function toStatsICECandidatePairState (line 2019) | func toStatsICECandidatePairState(state ice.CandidatePairState) (StatsIC... function toICECandidatePairStats (line 2037) | func toICECandidatePairStats(candidatePairStats ice.CandidatePairStats) ... constant StatsICECandidatePairStateFrozen (line 2084) | StatsICECandidatePairStateFrozen StatsICECandidatePairState = "frozen" constant StatsICECandidatePairStateWaiting (line 2089) | StatsICECandidatePairStateWaiting StatsICECandidatePairState = "waiting" constant StatsICECandidatePairStateInProgress (line 2093) | StatsICECandidatePairStateInProgress StatsICECandidatePairState = "in-pr... constant StatsICECandidatePairStateFailed (line 2098) | StatsICECandidatePairStateFailed StatsICECandidatePairState = "failed" constant StatsICECandidatePairStateSucceeded (line 2102) | StatsICECandidatePairStateSucceeded StatsICECandidatePairState = "succee... type ICECandidatePairStats (line 2107) | type ICECandidatePairStats struct method statsMarker (line 2268) | func (s ICECandidatePairStats) statsMarker() {} function unmarshalICECandidatePairStats (line 2270) | func unmarshalICECandidatePairStats(b []byte) (ICECandidatePairStats, er... type ICECandidateStats (line 2281) | type ICECandidateStats struct method statsMarker (line 2346) | func (s ICECandidateStats) statsMarker() {} function unmarshalICECandidateStats (line 2348) | func unmarshalICECandidateStats(b []byte) (ICECandidateStats, error) { type CertificateStats (line 2359) | type CertificateStats struct method statsMarker (line 2386) | func (s CertificateStats) statsMarker() {} function unmarshalCertificateStats (line 2388) | func unmarshalCertificateStats(b []byte) (CertificateStats, error) { type SCTPTransportStats (line 2399) | type SCTPTransportStats struct method statsMarker (line 2439) | func (s SCTPTransportStats) statsMarker() {} function unmarshalSCTPTransportStats (line 2441) | func unmarshalSCTPTransportStats(b []byte) (SCTPTransportStats, error) { FILE: stats_go.go method GetConnectionStats (line 15) | func (r StatsReport) GetConnectionStats(conn *PeerConnection) (PeerConne... method GetDataChannelStats (line 31) | func (r StatsReport) GetDataChannelStats(dc *DataChannel) (DataChannelSt... method GetICECandidateStats (line 47) | func (r StatsReport) GetICECandidateStats(c *ICECandidate) (ICECandidate... method GetICECandidatePairStats (line 63) | func (r StatsReport) GetICECandidatePairStats(c *ICECandidatePair) (ICEC... method GetCertificateStats (line 79) | func (r StatsReport) GetCertificateStats(c *Certificate) (CertificateSta... method GetCodecStats (line 95) | func (r StatsReport) GetCodecStats(c *RTPCodecParameters) (CodecStats, b... type AudioPlayoutStatsProvider (line 111) | type AudioPlayoutStatsProvider interface type trackContext (line 122) | type trackContext struct type defaultAudioPlayoutStatsProvider (line 127) | type defaultAudioPlayoutStatsProvider struct method Accumulate (line 148) | func (p *defaultAudioPlayoutStatsProvider) Accumulate( method Snapshot (line 180) | func (p *defaultAudioPlayoutStatsProvider) Snapshot(now time.Time) (Au... method AddTrack (line 195) | func (p *defaultAudioPlayoutStatsProvider) AddTrack(track *TrackRemote... method RemoveTrack (line 228) | func (p *defaultAudioPlayoutStatsProvider) RemoveTrack(track *TrackRem... method removeTrackInternal (line 232) | func (p *defaultAudioPlayoutStatsProvider) removeTrackInternal(track *... function NewAudioPlayoutStatsProvider (line 136) | func NewAudioPlayoutStatsProvider(id string) *defaultAudioPlayoutStatsPr... FILE: stats_go_test.go function TestStatsTimestampTime (line 26) | func TestStatsTimestampTime(t *testing.T) { type statSample (line 48) | type statSample struct function getStatsSamples (line 54) | func getStatsSamples() []statSample { //nolint:cyclop,maintidx function TestStatsMarshal (line 1141) | func TestStatsMarshal(t *testing.T) { function TestStatsUnmarshal (line 1152) | func TestStatsUnmarshal(t *testing.T) { function waitWithTimeout (line 1163) | func waitWithTimeout(t *testing.T, wg *sync.WaitGroup) { function getConnectionStats (line 1181) | func getConnectionStats(t *testing.T, report StatsReport, pc *PeerConnec... function getDataChannelStats (line 1191) | func getDataChannelStats(t *testing.T, report StatsReport, dc *DataChann... function getCodecStats (line 1201) | func getCodecStats(t *testing.T, report StatsReport, c *RTPCodecParamete... function getTransportStats (line 1211) | func getTransportStats(t *testing.T, report StatsReport, statsID string)... function getSctpTransportStats (line 1223) | func getSctpTransportStats(t *testing.T, report StatsReport) SCTPTranspo... function getCertificateStats (line 1235) | func getCertificateStats(t *testing.T, report StatsReport, certificate *... function findLocalCandidateStats (line 1245) | func findLocalCandidateStats(report StatsReport) []ICECandidateStats { function findRemoteCandidateStats (line 1257) | func findRemoteCandidateStats(report StatsReport) []ICECandidateStats { function findCandidatePairStats (line 1269) | func findCandidatePairStats(t *testing.T, report StatsReport) []ICECandi... function findInboundRTPStats (line 1284) | func findInboundRTPStats(report StatsReport) []InboundRTPStreamStats { function findInboundRTPStatsBySSRC (line 1295) | func findInboundRTPStatsBySSRC(report StatsReport, ssrc SSRC) []InboundR... function signalPairForStats (line 1306) | func signalPairForStats(pcOffer *PeerConnection, pcAnswer *PeerConnectio... function TestStatsConvertState (line 1349) | func TestStatsConvertState(t *testing.T) { function TestPeerConnection_GetStats (line 1389) | func TestPeerConnection_GetStats(t *testing.T) { //nolint:cyclop // invo... function TestPeerConnection_GetStats_Closed (line 1600) | func TestPeerConnection_GetStats_Closed(t *testing.T) { function TestUnmarshalStatsJSON_TypeFieldUnmarshalError (line 1609) | func TestUnmarshalStatsJSON_TypeFieldUnmarshalError(t *testing.T) { function TestUnmarshalStatsJSON_SCTPTransport (line 1617) | func TestUnmarshalStatsJSON_SCTPTransport(t *testing.T) { function TestUnmarshalStatsJSON_UnknownType (line 1649) | func TestUnmarshalStatsJSON_UnknownType(t *testing.T) { function TestUnmarshalCodecStats_ErrorWrap (line 1657) | func TestUnmarshalCodecStats_ErrorWrap(t *testing.T) { function TestUnmarshalInboundRTPStreamStats_ErrorWrap (line 1669) | func TestUnmarshalInboundRTPStreamStats_ErrorWrap(t *testing.T) { function TestUnmarshalOutboundRTPStreamStats_ErrorWrap (line 1681) | func TestUnmarshalOutboundRTPStreamStats_ErrorWrap(t *testing.T) { function TestUnmarshalRemoteInboundRTPStreamStats_ErrorWrap (line 1693) | func TestUnmarshalRemoteInboundRTPStreamStats_ErrorWrap(t *testing.T) { function TestUnmarshalRemoteOutboundRTPStreamStats_ErrorWrap (line 1705) | func TestUnmarshalRemoteOutboundRTPStreamStats_ErrorWrap(t *testing.T) { function TestUnmarshalCSRCStats_ErrorWrap (line 1717) | func TestUnmarshalCSRCStats_ErrorWrap(t *testing.T) { function TestUnmarshalMediaSourceStats_ErrorPaths (line 1729) | func TestUnmarshalMediaSourceStats_ErrorPaths(t *testing.T) { function TestUnmarshalMediaPlayoutStats_Error (line 1769) | func TestUnmarshalMediaPlayoutStats_Error(t *testing.T) { function TestUnmarshalPeerConnectionStats_Error (line 1783) | func TestUnmarshalPeerConnectionStats_Error(t *testing.T) { function TestUnmarshalDataChannelStats_Error (line 1796) | func TestUnmarshalDataChannelStats_Error(t *testing.T) { function TestUnmarshalStreamStats_Error (line 1809) | func TestUnmarshalStreamStats_Error(t *testing.T) { function TestUnmarshalSenderStats_SyntaxErrorOnKind (line 1822) | func TestUnmarshalSenderStats_SyntaxErrorOnKind(t *testing.T) { function TestUnmarshalSenderStats_Audio_UnmarshalTypeError (line 1831) | func TestUnmarshalSenderStats_Audio_UnmarshalTypeError(t *testing.T) { function TestUnmarshalSenderStats_Video_UnmarshalTypeError (line 1841) | func TestUnmarshalSenderStats_Video_UnmarshalTypeError(t *testing.T) { function TestUnmarshalSenderStats_UnknownKind (line 1851) | func TestUnmarshalSenderStats_UnknownKind(t *testing.T) { function TestUnmarshalTrackStats_SyntaxErrorOnKind (line 1858) | func TestUnmarshalTrackStats_SyntaxErrorOnKind(t *testing.T) { function TestUnmarshalTrackStats_Audio_UnmarshalTypeError (line 1867) | func TestUnmarshalTrackStats_Audio_UnmarshalTypeError(t *testing.T) { function TestUnmarshalTrackStats_Video_UnmarshalTypeError (line 1877) | func TestUnmarshalTrackStats_Video_UnmarshalTypeError(t *testing.T) { function TestUnmarshalTrackStats_UnknownKind (line 1887) | func TestUnmarshalTrackStats_UnknownKind(t *testing.T) { function TestUnmarshalReceiverStats_SyntaxErrorOnKind (line 1894) | func TestUnmarshalReceiverStats_SyntaxErrorOnKind(t *testing.T) { function TestUnmarshalReceiverStats_Audio_UnmarshalTypeError (line 1903) | func TestUnmarshalReceiverStats_Audio_UnmarshalTypeError(t *testing.T) { function TestUnmarshalReceiverStats_Video_UnmarshalTypeError (line 1913) | func TestUnmarshalReceiverStats_Video_UnmarshalTypeError(t *testing.T) { function TestUnmarshalReceiverStats_UnknownKind (line 1923) | func TestUnmarshalReceiverStats_UnknownKind(t *testing.T) { function TestUnmarshalTransportStats_Error (line 1930) | func TestUnmarshalTransportStats_Error(t *testing.T) { function TestToICECandidatePairStats_InvalidState (line 1942) | func TestToICECandidatePairStats_InvalidState(t *testing.T) { function TestUnmarshalICECandidatePairStats_Error (line 1956) | func TestUnmarshalICECandidatePairStats_Error(t *testing.T) { function TestUnmarshalICECandidateStats_Error (line 1969) | func TestUnmarshalICECandidateStats_Error(t *testing.T) { function TestUnmarshalCertificateStats_Error (line 1982) | func TestUnmarshalCertificateStats_Error(t *testing.T) { function TestUnmarshalSCTPTransportStats_Success (line 1995) | func TestUnmarshalSCTPTransportStats_Success(t *testing.T) { function TestUnmarshalSCTPTransportStats_Error (line 2026) | func TestUnmarshalSCTPTransportStats_Error(t *testing.T) { function TestStatsReport_GetConnectionStats_MissingEntry (line 2039) | func TestStatsReport_GetConnectionStats_MissingEntry(t *testing.T) { function TestStatsReport_GetConnectionStats_WrongType (line 2050) | func TestStatsReport_GetConnectionStats_WrongType(t *testing.T) { function TestStatsReport_GetConnectionStats_Success (line 2064) | func TestStatsReport_GetConnectionStats_Success(t *testing.T) { function TestStatsReport_GetDataChannelStats_MissingEntry (line 2084) | func TestStatsReport_GetDataChannelStats_MissingEntry(t *testing.T) { function TestStatsReport_GetDataChannelStats_WrongType (line 2095) | func TestStatsReport_GetDataChannelStats_WrongType(t *testing.T) { function TestStatsReport_GetDataChannelStats_Success (line 2110) | func TestStatsReport_GetDataChannelStats_Success(t *testing.T) { function TestStatsReport_GetICECandidateStats_MissingEntry (line 2139) | func TestStatsReport_GetICECandidateStats_MissingEntry(t *testing.T) { function TestStatsReport_GetICECandidateStats_WrongType (line 2149) | func TestStatsReport_GetICECandidateStats_WrongType(t *testing.T) { function TestStatsReport_GetICECandidateStats_Success (line 2162) | func TestStatsReport_GetICECandidateStats_Success(t *testing.T) { function TestStatsReport_GetICECandidatePairStats_MissingEntry (line 2181) | func TestStatsReport_GetICECandidatePairStats_MissingEntry(t *testing.T) { function TestStatsReport_GetICECandidatePairStats_WrongType (line 2191) | func TestStatsReport_GetICECandidatePairStats_WrongType(t *testing.T) { function TestStatsReport_GetICECandidatePairStats_Success (line 2204) | func TestStatsReport_GetICECandidatePairStats_Success(t *testing.T) { function TestStatsReport_GetCertificateStats_MissingEntry (line 2223) | func TestStatsReport_GetCertificateStats_MissingEntry(t *testing.T) { function TestStatsReport_GetCertificateStats_WrongType (line 2233) | func TestStatsReport_GetCertificateStats_WrongType(t *testing.T) { function TestStatsReport_GetCertificateStats_Success (line 2246) | func TestStatsReport_GetCertificateStats_Success(t *testing.T) { function TestStatsReport_GetCodecStats_MissingEntry (line 2265) | func TestStatsReport_GetCodecStats_MissingEntry(t *testing.T) { function TestStatsReport_GetCodecStats_WrongType (line 2275) | func TestStatsReport_GetCodecStats_WrongType(t *testing.T) { function TestStatsReport_GetCodecStats_Success (line 2288) | func TestStatsReport_GetCodecStats_Success(t *testing.T) { function TestDefaultAudioPlayoutStatsProvider_AccumulateSnapshot (line 2307) | func TestDefaultAudioPlayoutStatsProvider_AccumulateSnapshot(t *testing.... function TestDefaultAudioPlayoutStatsProvider_AddRemoveTrack (line 2352) | func TestDefaultAudioPlayoutStatsProvider_AddRemoveTrack(t *testing.T) { function TestDefaultAudioPlayoutStatsProvider_MultipleProviders (line 2374) | func TestDefaultAudioPlayoutStatsProvider_MultipleProviders(t *testing.T) { FILE: track_local.go type TrackLocalWriter (line 12) | type TrackLocalWriter interface type TrackLocalContext (line 22) | type TrackLocalContext interface type baseTrackLocalContext (line 51) | type baseTrackLocalContext struct method CodecParameters (line 61) | func (t *baseTrackLocalContext) CodecParameters() []RTPCodecParameters { method HeaderExtensions (line 67) | func (t *baseTrackLocalContext) HeaderExtensions() []RTPHeaderExtensio... method SSRC (line 72) | func (t *baseTrackLocalContext) SSRC() SSRC { method SSRCRetransmission (line 77) | func (t *baseTrackLocalContext) SSRCRetransmission() SSRC { method SSRCForwardErrorCorrection (line 82) | func (t *baseTrackLocalContext) SSRCForwardErrorCorrection() SSRC { method WriteStream (line 88) | func (t *baseTrackLocalContext) WriteStream() TrackLocalWriter { method ID (line 93) | func (t *baseTrackLocalContext) ID() string { method RTCPReader (line 98) | func (t *baseTrackLocalContext) RTCPReader() interceptor.RTCPReader { type TrackLocal (line 105) | type TrackLocal interface FILE: track_local_static.go type trackBinding (line 20) | type trackBinding struct type TrackLocalStaticRTP (line 29) | type TrackLocalStaticRTP struct method Bind (line 90) | func (s *TrackLocalStaticRTP) Bind(trackContext TrackLocalContext) (RT... method Unbind (line 117) | func (s *TrackLocalStaticRTP) Unbind(t TrackLocalContext) error { method ID (line 136) | func (s *TrackLocalStaticRTP) ID() string { return s.id } method StreamID (line 139) | func (s *TrackLocalStaticRTP) StreamID() string { return s.streamID } method RID (line 142) | func (s *TrackLocalStaticRTP) RID() string { return s.rid } method Kind (line 145) | func (s *TrackLocalStaticRTP) Kind() RTPCodecType { method Codec (line 157) | func (s *TrackLocalStaticRTP) Codec() RTPCodecCapability { method WriteRTP (line 184) | func (s *TrackLocalStaticRTP) WriteRTP(p *rtp.Packet) error { method writeRTP (line 195) | func (s *TrackLocalStaticRTP) writeRTP(packet *rtp.Packet) error { method Write (line 221) | func (s *TrackLocalStaticRTP) Write(b []byte) (n int, err error) { function NewTrackLocalStaticRTP (line 40) | func NewTrackLocalStaticRTP( function WithRTPStreamID (line 60) | func WithRTPStreamID(rid string) func(*TrackLocalStaticRTP) { function WithPayloader (line 67) | func WithPayloader(h func(RTPCodecCapability) (rtp.Payloader, error)) fu... function WithRTPTimestamp (line 74) | func WithRTPTimestamp(timestamp uint32) func(*TrackLocalStaticRTP) { function WithRTPSequenceNumber (line 81) | func WithRTPSequenceNumber(sequenceNumber uint16) func(*TrackLocalStatic... function resetPacketPoolAllocation (line 169) | func resetPacketPoolAllocation(localPacket *rtp.Packet) { function getPacketAllocationFromPool (line 174) | func getPacketAllocationFromPool() *rtp.Packet { type TrackLocalStaticSample (line 235) | type TrackLocalStaticSample struct method ID (line 263) | func (s *TrackLocalStaticSample) ID() string { return s.rtpTrack.ID() } method StreamID (line 266) | func (s *TrackLocalStaticSample) StreamID() string { return s.rtpTrack... method RID (line 269) | func (s *TrackLocalStaticSample) RID() string { return s.rtpTrack.RID() } method Kind (line 272) | func (s *TrackLocalStaticSample) Kind() RTPCodecType { return s.rtpTra... method Codec (line 275) | func (s *TrackLocalStaticSample) Codec() RTPCodecCapability { method Bind (line 282) | func (s *TrackLocalStaticSample) Bind(t TrackLocalContext) (RTPCodecPa... method Unbind (line 335) | func (s *TrackLocalStaticSample) Unbind(t TrackLocalContext) error { method WriteSample (line 343) | func (s *TrackLocalStaticSample) WriteSample(sample media.Sample) error { method GeneratePadding (line 392) | func (s *TrackLocalStaticSample) GeneratePadding(samples uint32) error { function NewTrackLocalStaticSample (line 245) | func NewTrackLocalStaticSample( FILE: track_local_static_test.go function Test_TrackLocalStatic_NoCodecIntersection (line 26) | func Test_TrackLocalStatic_NoCodecIntersection(t *testing.T) { function Test_TrackLocalStatic_Closed (line 95) | func Test_TrackLocalStatic_Closed(t *testing.T) { function Test_TrackLocalStatic_PayloadType (line 125) | func Test_TrackLocalStatic_PayloadType(t *testing.T) { function Test_TrackLocalStatic_Mutate_Input (line 188) | func Test_TrackLocalStatic_Mutate_Input(t *testing.T) { function Test_TrackLocalStatic_Binding_NonBlocking (line 217) | func Test_TrackLocalStatic_Binding_NonBlocking(t *testing.T) { function BenchmarkTrackLocalWrite (line 251) | func BenchmarkTrackLocalWrite(b *testing.B) { type TestPacketizer (line 276) | type TestPacketizer struct method GeneratePadding (line 281) | func (p *TestPacketizer) GeneratePadding(samples uint32) []*rtp.Packet { function Test_TrackLocalStatic_Padding (line 307) | func Test_TrackLocalStatic_Padding(t *testing.T) { function Test_TrackLocalStatic_RTX (line 387) | func Test_TrackLocalStatic_RTX(t *testing.T) { type customCodecPayloader (line 410) | type customCodecPayloader struct method Payload (line 414) | func (c *customCodecPayloader) Payload(_ uint16, payload []byte) [][]b... function Test_TrackLocalStatic_Payloader (line 420) | func Test_TrackLocalStatic_Payloader(t *testing.T) { function Test_TrackLocalStatic_Timestamp (line 469) | func Test_TrackLocalStatic_Timestamp(t *testing.T) { function Test_TrackLocalStatic_SequenceNumber (line 510) | func Test_TrackLocalStatic_SequenceNumber(t *testing.T) { type dummyWriter (line 551) | type dummyWriter struct method WriteRTP (line 553) | func (dummyWriter) WriteRTP(_ *rtp.Header, _ []byte) (int, error) { re... method Write (line 554) | func (dummyWriter) Write(_ []byte) (int, error) { re... type dummyTrackLocalContext (line 556) | type dummyTrackLocalContext struct method ID (line 560) | func (d dummyTrackLocalContext) ID() string ... method SSRC (line 561) | func (d dummyTrackLocalContext) SSRC() SSRC ... method SSRCRetransmission (line 562) | func (d dummyTrackLocalContext) SSRCRetransmission() SSRC ... method SSRCForwardErrorCorrection (line 563) | func (d dummyTrackLocalContext) SSRCForwardErrorCorrection() SSRC ... method WriteStream (line 564) | func (d dummyTrackLocalContext) WriteStream() TrackLocalWriter ... method HeaderExtensions (line 565) | func (d dummyTrackLocalContext) HeaderExtensions() []RTPHeaderExtensio... method RTCPReader (line 566) | func (d dummyTrackLocalContext) RTCPReader() interceptor.RTCPReader ... method CodecParameters (line 567) | func (d dummyTrackLocalContext) CodecParameters() []RTPCodecParameters { function Test_TrackLocalStaticRTP_Unbind_ErrUnbindFailed (line 577) | func Test_TrackLocalStaticRTP_Unbind_ErrUnbindFailed(t *testing.T) { function Test_TrackLocalStaticRTP_Kind_Default (line 591) | func Test_TrackLocalStaticRTP_Kind_Default(t *testing.T) { function Test_TrackLocalStaticRTP_Codec_ReturnsConfiguredCodec (line 602) | func Test_TrackLocalStaticRTP_Codec_ReturnsConfiguredCodec(t *testing.T) { type errWriter (line 620) | type errWriter struct method WriteRTP (line 622) | func (errWriter) WriteRTP(_ *rtp.Header, _ []byte) (int, error) { retu... method Write (line 623) | func (errWriter) Write(_ []byte) (int, error) { retu... function Test_TrackLocalStaticRTP_writeRTP_ReturnsError (line 625) | func Test_TrackLocalStaticRTP_writeRTP_ReturnsError(t *testing.T) { function Test_TrackLocalStaticRTP_Write_UnmarshalError (line 649) | func Test_TrackLocalStaticRTP_Write_UnmarshalError(t *testing.T) { function Test_TrackLocalStaticSample_Codec_ReturnsConfiguredCodec (line 662) | func Test_TrackLocalStaticSample_Codec_ReturnsConfiguredCodec(t *testing... function Test_TrackLocalStaticSample_Bind_PayloaderError (line 680) | func Test_TrackLocalStaticSample_Bind_PayloaderError(t *testing.T) { type fakePacketizer (line 702) | type fakePacketizer struct method SkipSamples (line 709) | func (f *fakePacketizer) SkipSamples(n uint32) { f.skipCalls++; f.last... method GeneratePadding (line 710) | func (f *fakePacketizer) GeneratePadding(samples uint32) []*rtp.Packet { method EnableAbsSendTime (line 716) | func (f *fakePacketizer) EnableAbsSendTime(value int) {} method Packetize (line 717) | func (f *fakePacketizer) Packetize(_ []byte, _ uint32) []*rtp.Packet { function Test_TrackLocalStaticSample_WriteSample_AppendErrors (line 726) | func Test_TrackLocalStaticSample_WriteSample_AppendErrors(t *testing.T) { function Test_TrackLocalStaticSample_GeneratePadding_PacketizerNil_ReturnsNil (line 767) | func Test_TrackLocalStaticSample_GeneratePadding_PacketizerNil_ReturnsNi... function Test_TrackLocalStaticSample_GeneratePadding_AppendsAndReturnsError (line 779) | func Test_TrackLocalStaticSample_GeneratePadding_AppendsAndReturnsError(... function Test_TrackRemote_Msid (line 807) | func Test_TrackRemote_Msid(t *testing.T) { function Test_TrackRemote_checkAndUpdateTrack_ShortPacket (line 825) | func Test_TrackRemote_checkAndUpdateTrack_ShortPacket(t *testing.T) { function Test_TrackRemote_checkAndUpdateTrack_CodecNotFound (line 835) | func Test_TrackRemote_checkAndUpdateTrack_CodecNotFound(t *testing.T) { function Test_TrackRemote_ReadRTP_UnmarshalError (line 848) | func Test_TrackRemote_ReadRTP_UnmarshalError(t *testing.T) { function TestBaseTrackLocalContext_HeaderExtensions_ReturnsParams (line 880) | func TestBaseTrackLocalContext_HeaderExtensions_ReturnsParams(t *testing... function TestBaseTrackLocalContext_HeaderExtensions_NilWhenUnset (line 899) | func TestBaseTrackLocalContext_HeaderExtensions_NilWhenUnset(t *testing.... function TestTrackLocalStaticSample_WriteSample_NoTimestampDrift (line 904) | func TestTrackLocalStaticSample_WriteSample_NoTimestampDrift(t *testing.... function TestTrackLocalStaticSample_WriteSample_DroppedPackets_NoDrift (line 949) | func TestTrackLocalStaticSample_WriteSample_DroppedPackets_NoDrift(t *te... type countingPacketizer (line 1015) | type countingPacketizer struct method Packetize (line 1019) | func (p *countingPacketizer) Packetize(payload []byte, samples uint32)... method GeneratePadding (line 1025) | func (p *countingPacketizer) GeneratePadding(samples uint32) []*rtp.Pa... method EnableAbsSendTime (line 1026) | func (p *countingPacketizer) EnableAbsSendTime(value int) ... method SkipSamples (line 1027) | func (p *countingPacketizer) SkipSamples(skippedSamples uint32) { FILE: track_remote.go type peekedPacket (line 19) | type peekedPacket struct type TrackRemote (line 25) | type TrackRemote struct method ID (line 59) | func (t *TrackRemote) ID() string { method RID (line 69) | func (t *TrackRemote) RID() string { method PayloadType (line 77) | func (t *TrackRemote) PayloadType() PayloadType { method Kind (line 85) | func (t *TrackRemote) Kind() RTPCodecType { method StreamID (line 93) | func (t *TrackRemote) StreamID() string { method SSRC (line 101) | func (t *TrackRemote) SSRC() SSRC { method Msid (line 109) | func (t *TrackRemote) Msid() string { method Codec (line 114) | func (t *TrackRemote) Codec() RTPCodecParameters { method Read (line 122) | func (t *TrackRemote) Read(b []byte) (n int, attributes interceptor.At... method checkAndUpdateTrack (line 163) | func (t *TrackRemote) checkAndUpdateTrack(b []byte) error { method ReadRTP (line 188) | func (t *TrackRemote) ReadRTP() (*rtp.Packet, interceptor.Attributes, ... method peek (line 204) | func (t *TrackRemote) peek(b []byte) (n int, a interceptor.Attributes,... method SetReadDeadline (line 223) | func (t *TrackRemote) SetReadDeadline(deadline time.Time) error { method RtxSSRC (line 228) | func (t *TrackRemote) RtxSSRC() SSRC { method HasRTX (line 236) | func (t *TrackRemote) HasRTX() bool { method addProvider (line 243) | func (t *TrackRemote) addProvider(provider AudioPlayoutStatsProvider) { method removeProvider (line 254) | func (t *TrackRemote) removeProvider(provider AudioPlayoutStatsProvide... method pullAudioPlayoutStats (line 267) | func (t *TrackRemote) pullAudioPlayoutStats(now time.Time) []AudioPlay... method setRtxSSRC (line 305) | func (t *TrackRemote) setRtxSSRC(ssrc SSRC) { function newTrackRemote (line 46) | func newTrackRemote(kind RTPCodecType, ssrc, rtxSsrc SSRC, rid string, r... FILE: track_remote_test.go type fakeTrackAudioPlayoutStatsProvider (line 16) | type fakeTrackAudioPlayoutStatsProvider struct method Snapshot (line 24) | func (f *fakeTrackAudioPlayoutStatsProvider) Snapshot(now time.Time) (... method AddTrack (line 31) | func (f *fakeTrackAudioPlayoutStatsProvider) AddTrack(track *TrackRemo... method RemoveTrack (line 37) | func (f *fakeTrackAudioPlayoutStatsProvider) RemoveTrack(track *TrackR... function TestTrackRemotePullAudioPlayoutStats (line 41) | func TestTrackRemotePullAudioPlayoutStats(t *testing.T) { function TestTrackRemotePullAudioPlayoutStatsMissingProvider (line 72) | func TestTrackRemotePullAudioPlayoutStatsMissingProvider(t *testing.T) { function TestTrackRemotePullAudioPlayoutStatsProviderFalse (line 80) | func TestTrackRemotePullAudioPlayoutStatsProviderFalse(t *testing.T) { function TestTrackRemotePullAudioPlayoutStatsNormalizesDefaults (line 93) | func TestTrackRemotePullAudioPlayoutStatsNormalizesDefaults(t *testing.T) { FILE: vnet_test.go function createVNetPair (line 18) | func createVNetPair(t *testing.T, interceptorRegistry *interceptor.Regis... FILE: webrtc.go type SSRC (line 13) | type SSRC type PayloadType (line 20) | type PayloadType