Versions in this module Expand all Collapse all v1 v1.2.1 May 25, 2022 Changes in this version + func MakeSampleIVFTrack(ffmpegPath, Testsrc, Filter, Bandwidth string) (webrtc.TrackLocal, error) + type Bridge struct + func (b Bridge) Lock(init util.Param, OnBroken func(badGay error)) error + func (b Bridge) Remove() + func (b Bridge) Repair(param util.Param) error + func (b Bridge) Update(param util.Param) error + type BridgeFactory struct + func NewBridgeFactory(sfu *ion_sfu.SFU, fact algorithms.ProcessorFactory) BridgeFactory + func (b BridgeFactory) NewDoor() (util.UnblockedDoor, error) + type BridgePeer struct + func NewBridgePeer(peer *ion_sfu.PeerLocal, pc *webrtc.PeerConnection) BridgePeer + func (p BridgePeer) Remove() + type Entrance struct + func (e Entrance) Lock(init util.Param, OnBroken func(badGay error)) error + func (e Entrance) Remove() + func (e Entrance) Repair(param util.Param) error + func (e Entrance) Update(param util.Param) error + type EntranceFactory struct + func (e EntranceFactory) NewDoor() (util.UnblockedDoor, error) + type ProceedTrackParam struct + func (t ProceedTrackParam) Clone() util.Param + type Publisher struct + func (p Publisher) AddTrack(track webrtc.TrackLocal) (*webrtc.RTPSender, error) + func (p Publisher) Lock(sid util.Param, OnBroken func(badGay error)) error + func (p Publisher) RemoveTrack(sender *webrtc.RTPSender) error + func (p Publisher) Repair(util.Param) error + func (p Publisher) Update(util.Param) error + type PublisherFactory struct + func NewPublisherFactory(sfu *ion_sfu.SFU) PublisherFactory + func (p PublisherFactory) NewDoor() (util.UnblockedDoor, error) + type SID string + func (s SID) Clone() util.Param + type SimpleFFmpegTestsrcPublisher struct + Bandwidth string + Filter string + Testsrc string + func NewSimpleFFmpegTestsrcPublisher(ffmpegPath string, sfu *ion_sfu.SFU) SimpleFFmpegTestsrcPublisher + func (p SimpleFFmpegTestsrcPublisher) NewDoor() (util.UnblockedDoor, error) + type Subscriber struct + func (s Subscriber) Lock(sid util.Param, OnBroken func(badGay error)) error + func (s Subscriber) OnTrack(f func(*webrtc.TrackRemote, *webrtc.RTPReceiver)) + func (s Subscriber) Repair(util.Param) error + func (s Subscriber) Update(util.Param) error + type SubscriberFactory struct + func NewSubscriberFactory(sfu *ion_sfu.SFU) SubscriberFactory + func (s SubscriberFactory) NewDoor() (util.UnblockedDoor, error)