democonf

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WebrtcTransportOptions = mediasoupdata.WebRtcTransportOptions{
		ListenIps:                       nil,
		EnableUdp:                       &enableUdp,
		EnableTcp:                       false,
		PreferUdp:                       true,
		PreferTcp:                       false,
		InitialAvailableOutgoingBitrate: 600000,
		SctpOptions: mediasoupdata.SctpOptions{
			EnableSctp:         false,
			NumSctpStreams:     mediasoupdata.NumSctpStreams{},
			MaxSctpMessageSize: 0,
			SctpSendBufferSize: 0,
		},
		AppData: nil,
	}

	RouterOptions = mediasoupdata.RouterOptions{
		MediaCodecs: []*mediasoupdata.RtpCodecCapability{
			{
				Kind:      "audio",
				MimeType:  "audio/opus",
				ClockRate: 48000,
				Channels:  2,
			},
			{
				Kind:      "video",
				MimeType:  "video/VP8",
				ClockRate: 90000,
			},
			{
				Kind:      "video",
				MimeType:  "video/H264",
				ClockRate: 90000,
				Parameters: mediasoupdata.RtpCodecSpecificParameters{
					RtpParameter: h264.RtpParameter{
						LevelAsymmetryAllowed: 1,
						PacketizationMode:     1,
					},
				},
			},
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL