Documentation
¶
Index ¶
- func EncodingPipelineStr(mimeType string) (string, error)
- func NewTSPacketizer(mtu uint16, payloader rtp.Payloader, sequencer rtp.Sequencer) rtp.Packetizer
- func NewTranscoderPeerConnection(configuration webrtc.Configuration) (*webrtc.PeerConnection, error)
- func PipelineString(trCodec webrtc.RTPCodecParameters, encodingStr string) (string, error)
- func TargetCodec(mimeType string) (*webrtc.RTPCodecCapability, rtp.Payloader, error)
- func ToRTPCaps(codec webrtc.RTPCodecParameters) string
- func TranscodeTrackRemote(parent *gst.Pipeline, tr *webrtc.TrackRemote, pipelineStr, mimeType string) (webrtc.TrackLocal, error)
- type Source
- type TranscoderServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodingPipelineStr ¶ added in v0.2.0
func NewTSPacketizer ¶
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 TargetCodec ¶
Types ¶
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 (s *TranscoderServer) Signal(conn api.Transcoder_SignalServer) error
func (*TranscoderServer) Transcode ¶ added in v0.2.0
func (s *TranscoderServer) Transcode(ctx context.Context, request *api.TranscodeRequest) (*api.TranscodeResponse, error)
Click to show internal directories.
Click to hide internal directories.