output

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bin

type Bin struct {
	// contains filtered or unexported fields
}

func New added in v1.4.2

func New(ctx context.Context, pipeline *gst.Pipeline, p *config.PipelineConfig) (*Bin, error)

func (*Bin) AddStream added in v1.5.6

func (b *Bin) AddStream(url string) error

func (*Bin) GetStreamUrl added in v1.5.6

func (b *Bin) GetStreamUrl(name string) (string, error)
func (b *Bin) Link(audioSrc, videoSrc *gst.GhostPad) error

func (*Bin) RemoveStream added in v1.5.6

func (b *Bin) RemoveStream(url string) error

func (*Bin) SetWebsocketSink added in v1.5.6

func (b *Bin) SetWebsocketSink(writer *sink.WebsocketSink) error

type FileOutput added in v1.5.6

type FileOutput struct {
	// contains filtered or unexported fields
}

func (FileOutput) CreateGhostPads added in v1.5.6

func (b FileOutput) CreateGhostPads() (audioPad, videoPad *gst.GhostPad)
func (o *FileOutput) Link() error

func (FileOutput) LinkTees added in v1.5.6

func (b FileOutput) LinkTees(audioTee, videoTee *gst.Element) error

type FirstSampleMetadata added in v1.5.6

type FirstSampleMetadata struct {
	StartDate int64 // Real time date of the first media sample
}

type SegmentOutput added in v1.5.6

type SegmentOutput struct {
	// contains filtered or unexported fields
}

func (SegmentOutput) CreateGhostPads added in v1.5.6

func (b SegmentOutput) CreateGhostPads() (audioPad, videoPad *gst.GhostPad)
func (o *SegmentOutput) Link() error

func (SegmentOutput) LinkTees added in v1.5.6

func (b SegmentOutput) LinkTees(audioTee, videoTee *gst.Element) error

type StreamOutput added in v1.5.6

type StreamOutput struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*StreamOutput) AddSink added in v1.5.6

func (o *StreamOutput) AddSink(bin *gst.Bin, url string) error

func (StreamOutput) CreateGhostPads added in v1.5.6

func (b StreamOutput) CreateGhostPads() (audioPad, videoPad *gst.GhostPad)

func (*StreamOutput) GetUrl added in v1.5.6

func (o *StreamOutput) GetUrl(name string) (string, error)
func (o *StreamOutput) Link() error

func (StreamOutput) LinkTees added in v1.5.6

func (b StreamOutput) LinkTees(audioTee, videoTee *gst.Element) error

func (*StreamOutput) RemoveSink added in v1.5.6

func (o *StreamOutput) RemoveSink(bin *gst.Bin, url string) error

type WebsocketOutput added in v1.5.6

type WebsocketOutput struct {
	// contains filtered or unexported fields
}

func (WebsocketOutput) CreateGhostPads added in v1.5.6

func (b WebsocketOutput) CreateGhostPads() (audioPad, videoPad *gst.GhostPad)
func (o *WebsocketOutput) Link() error

func (WebsocketOutput) LinkTees added in v1.5.6

func (b WebsocketOutput) LinkTees(audioTee, videoTee *gst.Element) error

func (*WebsocketOutput) SetSink added in v1.5.6

func (o *WebsocketOutput) SetSink(writer *sink.WebsocketSink)

Jump to

Keyboard shortcuts

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