Documentation
¶
Index ¶
- Constants
- Variables
- func AddCandidate(address string)
- func ExchangeSDP(stream *streams.Stream, offer, desc, userAgent string) (answer string, err error)
- func GetCandidates() (candidates []string)
- func Init()
- func IsConsumer(conn *webrtc.Conn) bool
- type Address
- type KinesisRequest
- type KinesisResponse
- type WyzeKVS
Constants ¶
View Source
const MimeSDP = "application/sdp"
Variables ¶
View Source
var PeerConnection func(active bool) (*pion.PeerConnection, error)
View Source
var Port string
Functions ¶
func AddCandidate ¶
func AddCandidate(address string)
func ExchangeSDP ¶
func GetCandidates ¶
func GetCandidates() (candidates []string)
func IsConsumer ¶
Types ¶
type KinesisRequest ¶ added in v1.6.1
type KinesisRequest struct { Action string `json:"action"` ClientID string `json:"recipientClientId"` Payload []byte `json:"messagePayload"` }
func (KinesisRequest) String ¶ added in v1.6.1
func (k KinesisRequest) String() string
type KinesisResponse ¶ added in v1.6.1
type KinesisResponse struct { Payload []byte `json:"messagePayload"` Type string `json:"messageType"` }
func (KinesisResponse) String ¶ added in v1.6.1
func (k KinesisResponse) String() string
Click to show internal directories.
Click to hide internal directories.