internal

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodingPipelineStr added in v0.2.0

func EncodingPipelineStr(mimeType string) (string, error)

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 TargetCodec

func TargetCodec(mimeType string) (*webrtc.RTPCodecCapability, rtp.Payloader, error)

func ToRTPCaps

func ToRTPCaps(codec webrtc.RTPCodecParameters) string

func TranscodeTrackRemote added in v0.2.0

func TranscodeTrackRemote(parent *gst.Pipeline, tr *webrtc.TrackRemote, pipelineStr, mimeType string) (webrtc.TrackLocal, error)

Types

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