internal

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTSPacketizer

func NewTSPacketizer(mtu uint16, payloader rtp.Payloader, sequencer rtp.Sequencer) rtp.Packetizer

NewTSPacketizer returns a new instance of a Packetizer for a specific payloader

func NewTranscoderPeerConnection added in v0.2.0

func NewTranscoderPeerConnection(configuration webrtc.Configuration) (*webrtc.PeerConnection, error)

NewTranscoderPeerConnection creates a new PeerConnection with additional video types supported.

func PipelineString

func PipelineString(trCodec webrtc.RTPCodecParameters, encodingStr string) (string, error)

func ToRTPCaps

func ToRTPCaps(codec webrtc.RTPCodecParameters) string

func TranscodeTrackRemote added in v0.2.0

func TranscodeTrackRemote(parent *gst.Pipeline, tr *webrtc.TrackRemote, outputCodec *OutputCodec) (webrtc.TrackLocal, error)

Types

type OutputCodec added in v0.2.1

type OutputCodec struct {
	webrtc.RTPCodecCapability
	rtp.Payloader
	GStreamerEncoder string
}

func ResolveOutputCodec added in v0.2.1

func ResolveOutputCodec(tr *webrtc.TrackRemote, mimeType, pipelineStr string) (*OutputCodec, error)

type Source added in v0.2.0

type Source struct {
	*webrtc.PeerConnection
	*webrtc.TrackRemote

	Parent *gst.Pipeline
}

type TranscoderServer

type TranscoderServer struct {
	api.UnimplementedTranscoderServer
	// contains filtered or unexported fields
}

func NewTranscoderServer added in v0.2.0

func NewTranscoderServer(config webrtc.Configuration) *TranscoderServer

func (*TranscoderServer) Signal

func (*TranscoderServer) Transcode added in v0.2.0

Jump to

Keyboard shortcuts

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