rtsp

package module
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

README

rtsp

Go RTSP Client

Thanks nareix/joy4 packages

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packet added in v1.2.0

type Packet struct {
	IsMetaData bool
	IsKeyFrame bool
	IsEOF      bool
	Time       time.Duration // packet decode time
	Data       []byte
	Seq        uint64
	Hash       [16]byte
}

type Provider added in v1.2.0

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

func NewProvider added in v1.2.0

func NewProvider() *Provider

func (*Provider) OpenStream added in v1.4.5

func (p *Provider) OpenStream(url string) (s *Stream, err error)

func (*Provider) Status added in v1.2.2

func (p *Provider) Status() (resp string, err error)

type Stream added in v1.4.5

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

func (*Stream) Close added in v1.4.5

func (s *Stream) Close()

func (*Stream) Host added in v1.4.6

func (s *Stream) Host() string

func (*Stream) Key added in v1.4.6

func (s *Stream) Key() string

func (*Stream) Pos added in v1.5.0

func (s *Stream) Pos() int64

func (*Stream) Read added in v1.4.5

func (s *Stream) Read() *Packet

type StreamReader added in v1.4.5

type StreamReader interface {
	Read() *Packet
}

Directories

Path Synopsis
av
Package av defines basic interfaces and data structures of container demux/mux and audio encode/decode.
Package av defines basic interfaces and data structures of container demux/mux and audio encode/decode.
mp4
ts

Jump to

Keyboard shortcuts

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