webrtc

package module
v0.0.0-...-50e7e64 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: MIT Imports: 4 Imported by: 0

README

webrtc-transport

webrtc transport based on pion's dtls transport

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebRTCTansport

type WebRTCTansport struct {
	// contains filtered or unexported fields
}

func NewWebRTCTransport

func NewWebRTCTransport() *WebRTCTansport

func (*WebRTCTansport) AddRemoteCandidate

func (t *WebRTCTansport) AddRemoteCandidate(candidate *sdp.CandidateInfo)

func (*WebRTCTansport) GetLocalCandidates

func (t *WebRTCTansport) GetLocalCandidates() ([]*sdp.CandidateInfo, error)

func (*WebRTCTansport) GetLocalDTLSInfo

func (t *WebRTCTansport) GetLocalDTLSInfo() (*sdp.DTLSInfo, error)

func (*WebRTCTansport) GetLocalICEInfo

func (t *WebRTCTansport) GetLocalICEInfo() (*sdp.ICEInfo, error)

func (*WebRTCTansport) SetRemoteDTLSInfo

func (t *WebRTCTansport) SetRemoteDTLSInfo(dtls *sdp.DTLSInfo) error

func (*WebRTCTansport) SetRemoteICEInfo

func (t *WebRTCTansport) SetRemoteICEInfo(ice *sdp.ICEInfo) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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