sdp

package
v0.0.0-...-945029b Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	H264 = 96
	AAC  = 97
)

Codecs

Variables

This section is empty.

Functions

This section is empty.

Types

type Media

type Media struct {
	Type               uint
	TimeScale          int
	Control            string
	Rtpmap             int
	Config             []byte
	SpropParameterSets [][]byte
	PayloadType        int
	SizeLength         int
	IndexLength        int
	// contains filtered or unexported fields
}

Media represents descriptor for media stream supported by RTSP source.

func Parse

func Parse(buf []byte) (feeds []Media)

Parse parses body of RTSP response to DESCRIBE command and returns information about playable media feeds.

Jump to

Keyboard shortcuts

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