Documentation ¶
Index ¶
- func ProxyHandler(pair ServerPair, dial func() (net.Conn, error)) hap.HandlerFunc
- func ServerHandler(server Server) hap.HandlerFunc
- type Clientdeprecated
- type Consumer
- func (c *Consumer) AddTrack(media *core.Media, codec *core.Codec, track *core.Receiver) error
- func (c *Consumer) GetAnswer() *camera.SetupEndpoints
- func (c *Consumer) SetConfig(conf *camera.SelectedStreamConfig) bool
- func (c *Consumer) SetOffer(offer *camera.SetupEndpoints)
- func (c *Consumer) Stop() error
- func (c *Consumer) WriteTo(io.Writer) (int64, error)
- type Server
- type ServerAccessory
- type ServerPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProxyHandler ¶ added in v1.7.0
func ProxyHandler(pair ServerPair, dial func() (net.Conn, error)) hap.HandlerFunc
func ServerHandler ¶ added in v1.7.0
func ServerHandler(server Server) hap.HandlerFunc
Types ¶
type Client
deprecated
type Client struct { core.Connection Bitrate int // in bits/s // contains filtered or unexported fields }
Deprecated: rename to Producer
type Consumer ¶ added in v1.7.0
type Consumer struct { core.Connection // contains filtered or unexported fields }
func (*Consumer) GetAnswer ¶ added in v1.7.0
func (c *Consumer) GetAnswer() *camera.SetupEndpoints
func (*Consumer) SetConfig ¶ added in v1.7.0
func (c *Consumer) SetConfig(conf *camera.SelectedStreamConfig) bool
func (*Consumer) SetOffer ¶ added in v1.7.0
func (c *Consumer) SetOffer(offer *camera.SetupEndpoints)
type Server ¶ added in v1.7.0
type Server interface { ServerPair ServerAccessory }
type ServerAccessory ¶ added in v1.7.0
Click to show internal directories.
Click to hide internal directories.