Documentation ¶
Overview ¶
Package bubble, because: Request URL: /bubble/live?ch=0&stream=0 Response Conten-Type: video/bubble https://github.com/Lynch234ok/lynch-git/blob/master/app_rebulid/src/bubble.c
Index ¶
- Constants
- type Client
- func (c *Client) Close() error
- func (c *Client) Dial() (err error)
- func (c *Client) GetMedias() []*core.Media
- func (c *Client) GetTrack(media *core.Media, codec *core.Codec) (*core.Receiver, error)
- func (c *Client) Handle() error
- func (c *Client) MarshalJSON() ([]byte, error)
- func (c *Client) Play() error
- func (c *Client) Read() (byte, []byte, error)
- func (c *Client) Start() error
- func (c *Client) Stop() error
- func (c *Client) Write(command byte, timestamp uint32, payload []byte) error
Constants ¶
View Source
const ( SyncByte = 0xAA PacketAuth = 0x00 PacketMedia = 0x01 PacketStart = 0x0A )
View Source
const Timeout = time.Second * 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.