Documentation ¶
Index ¶
- func SupervisorToken() string
- type API
- type Client
- func (c *Client) AddTrack(media *core.Media, codec *core.Codec, track *core.Receiver) error
- func (c *Client) GetMedias() []*core.Media
- func (c *Client) GetTrack(media *core.Media, codec *core.Codec) (*core.Receiver, error)
- func (c *Client) MarshalJSON() ([]byte, error)
- func (c *Client) Start() error
- func (c *Client) Stop() error
- type ResponseAuth
- type ResponseOffer
- type ResponseStates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupervisorToken ¶
func SupervisorToken() string
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) MarshalJSON ¶
type ResponseAuth ¶
type ResponseAuth struct {
Type string `json:"type"`
}
type ResponseOffer ¶
type ResponseStates ¶
type ResponseStates struct { //Id int `json:"id"` Type string `json:"type"` Success bool `json:"success"` Result []struct { EntityId string `json:"entity_id"` //State string `json:"state"` Attributes struct { //ModelName string `json:"model_name"` //Brand string `json:"brand"` FrontendStreamType string `json:"frontend_stream_type"` FriendlyName string `json:"friendly_name"` } `json:"attributes"` } `json:"result"` }
Click to show internal directories.
Click to hide internal directories.