Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capture ¶
type Capture struct { Display string VideoCodec codec.RTPCodec VideoIDs []string VideoPipelines map[string]types.VideoConfig AudioDevice string AudioCodec codec.RTPCodec AudioPipeline string BroadcastAudioBitrate int BroadcastVideoBitrate int BroadcastPreset string BroadcastPipeline string BroadcastUrl string ScreencastEnabled bool ScreencastRate string ScreencastQuality string ScreencastPipeline string WebcamEnabled bool WebcamDevice string WebcamWidth int WebcamHeight int MicrophoneEnabled bool MicrophoneDevice string }
type Desktop ¶
type Member ¶
type Root ¶
type Server ¶
type Server struct { Cert string Key string Bind string Proxy bool Static string PathPrefix string PProf bool Metrics bool CORS []string }
func (*Server) AllowOrigin ¶
type Session ¶
type WebRTC ¶
type WebRTCEstimator ¶ added in v1.6.12
type WebRTCEstimator struct { Enabled bool Passive bool Debug bool InitialBitrate int // how often to read and process bandwidth estimation reports ReadInterval time.Duration // how long to wait for stable connection (only neutral or upward trend) before upgrading StableDuration time.Duration // how long to wait for unstable connection (downward trend) before downgrading UnstableDuration time.Duration // how long to wait for stalled connection (neutral trend with low bandwidth) before downgrading StalledDuration time.Duration // how long to wait before downgrading again after previous downgrade DowngradeBackoff time.Duration // how long to wait before upgrading again after previous upgrade UpgradeBackoff time.Duration // how bigger the difference between estimated and stream bitrate must be to trigger upgrade/downgrade DiffThreshold float64 }
Click to show internal directories.
Click to hide internal directories.