Documentation
¶
Index ¶
- func Configure()
- func GetStreamKeys(pool *pgxpool.Pool, ctx context.Context) ([]string, error)
- func PopulateMediaEngine(m *webrtc.MediaEngine) error
- func WHEP(offer, streamKey string) (string, string, error)
- func WHEPChangeLayer(whepSessionId, layer string) error
- func WHEPLayers(whepSessionId string) ([]byte, error)
- func WHIP(offer string, streamer *Streamer) (string, error)
- type StreamStatus
- type StreamStatusVideo
- type Streamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PopulateMediaEngine ¶
func PopulateMediaEngine(m *webrtc.MediaEngine) error
func WHEPChangeLayer ¶
func WHEPLayers ¶
Types ¶
type StreamStatus ¶
type StreamStatus struct {
Streamer string `json:"streamer"`
FirstSeenEpoch uint64 `json:"firstSeenEpoch"`
AudioPacketsReceived uint64 `json:"audioPacketsReceived"`
VideoStreams []StreamStatusVideo `json:"videoStreams"`
WHEPSessions []whepSessionStatus `json:"whepSessions"`
}
func GetStreamStatus ¶
func GetStreamStatus(streamKey string) StreamStatus
type StreamStatusVideo ¶
Click to show internal directories.
Click to hide internal directories.