Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Connect(ctx context.Context) error
- func (c *Client) FetchTURNCredentials(ctx context.Context) (TURNResponse, error)
- func (c *Client) Receive() (protocol.Envelope, error)
- func (c *Client) Send(envelope protocol.Envelope) error
- func (c *Client) SetAllowPrivateICEServers(allow bool)
- func (c *Client) SetAllowedICEServerHosts(hosts []string)
- type Identity
- type TURNResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchTURNCredentials ¶
func (c *Client) FetchTURNCredentials(ctx context.Context) (TURNResponse, error)
func (*Client) SetAllowPrivateICEServers ¶
func (*Client) SetAllowedICEServerHosts ¶
Click to show internal directories.
Click to hide internal directories.