Documentation ¶
Index ¶
- type SfuClient
- type SfuClientPool
- func (s *SfuClientPool) Create(peerId string, sid string) (*SfuClient, error)
- func (s *SfuClientPool) Get(peerId string, sid string) *SfuClient
- func (this *SfuClientPool) Receive(peerId string, sid string, payload map[string]interface{}) (interface{}, error)
- func (s *SfuClientPool) Stats(cycle int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SfuClientPool ¶
type SfuClientPool struct {
// contains filtered or unexported fields
}
func NewSfuClientPool ¶
func NewSfuClientPool(config sdk.Config) (*SfuClientPool, error)
func (*SfuClientPool) Create ¶
func (s *SfuClientPool) Create(peerId string, sid string) (*SfuClient, error)
func (*SfuClientPool) Get ¶
func (s *SfuClientPool) Get(peerId string, sid string) *SfuClient
GetTransport returns a webrtc transport for a session
func (*SfuClientPool) Receive ¶
func (this *SfuClientPool) Receive(peerId string, sid string, payload map[string]interface{}) (interface{}, error)
func (*SfuClientPool) Stats ¶
func (s *SfuClientPool) Stats(cycle int) string
Stats show all sfu client stats
Click to show internal directories.
Click to hide internal directories.