Documentation
¶
Index ¶
- Variables
- func NewPipelineBuilder(kind webrtc.RTPCodecType, to string, via string) (string, error)
- type Caps
- type Client
- type Element
- type ReadOnlyPipeline
- type ReadWritePipeline
- type Source
- type TranscodeOption
- type Transcoder
- func (s *Transcoder) Close() error
- func (s *Transcoder) NewReadOnlyPipeline(str string) (ReadOnlyPipeline, error)
- func (s *Transcoder) NewReadWritePipeline(in *webrtc.RTPCodecParameters, str string) (ReadWritePipeline, error)
- func (s *Transcoder) NewWriteOnlyPipeline(in *webrtc.RTPCodecParameters, str string) (WriteOnlyPipeline, error)
- type TranscoderServer
- type WriteOnlyPipeline
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPropertyNotFound = errors.New("property not found")
Functions ¶
Types ¶
type Caps ¶ added in v0.4.0
type Caps struct {
// contains filtered or unexported fields
}
func CapsFromRTPCodecParameters ¶ added in v0.4.0
func CapsFromString ¶ added in v0.4.0
func (*Caps) RTPCodecParameters ¶ added in v0.4.0
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Transcode ¶
func (c *Client) Transcode(tl *webrtc.TrackLocalStaticRTP, options ...TranscodeOption) (*webrtc.TrackRemote, error)
type ReadOnlyPipeline ¶ added in v0.4.0
type ReadWritePipeline ¶ added in v0.4.0
type ReadWritePipeline interface { ReadOnlyPipeline WriteOnlyPipeline }
type Source ¶ added in v0.4.0
type Source struct { *webrtc.PeerConnection *webrtc.TrackRemote // contains filtered or unexported fields }
type TranscodeOption ¶
type TranscodeOption func(*api.TranscodeRequest)
func ToMimeType ¶
func ToMimeType(mimeType string) TranscodeOption
type Transcoder ¶ added in v0.4.0
type Transcoder struct {
// contains filtered or unexported fields
}
func NewTranscoder ¶ added in v0.4.0
func NewTranscoder() (*Transcoder, error)
func (*Transcoder) Close ¶ added in v0.4.0
func (s *Transcoder) Close() error
func (*Transcoder) NewReadOnlyPipeline ¶ added in v0.4.0
func (s *Transcoder) NewReadOnlyPipeline(str string) (ReadOnlyPipeline, error)
func (*Transcoder) NewReadWritePipeline ¶ added in v0.4.0
func (s *Transcoder) NewReadWritePipeline(in *webrtc.RTPCodecParameters, str string) (ReadWritePipeline, error)
func (*Transcoder) NewWriteOnlyPipeline ¶ added in v0.4.0
func (s *Transcoder) NewWriteOnlyPipeline(in *webrtc.RTPCodecParameters, str string) (WriteOnlyPipeline, error)
type TranscoderServer ¶ added in v0.4.0
type TranscoderServer struct { api.UnimplementedTranscoderServer // contains filtered or unexported fields }
func NewTranscoderServer ¶ added in v0.4.0
func NewTranscoderServer(config webrtc.Configuration) *TranscoderServer
func (*TranscoderServer) Publish ¶ added in v0.4.1
func (s *TranscoderServer) Publish(conn api.Transcoder_PublishServer) error
func (*TranscoderServer) Subscribe ¶ added in v0.4.1
func (s *TranscoderServer) Subscribe(conn api.Transcoder_SubscribeServer) error
type WriteOnlyPipeline ¶ added in v0.4.0
type WriteOnlyPipeline interface { rtpio.RTPWriteCloser OnUpstreamForceKeyUnit(func()) }
Click to show internal directories.
Click to hide internal directories.