rtsp

package module
v0.0.0-...-907879d Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

README

go-rtsp

A RTSP implementation to forward video streaming.

License

BSD

Documentation

Overview

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:05:05 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 16:23:16 -03 2019

Description: Author: Rodrigo Freitas Created at: Mon Apr 22 17:18:38 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 09:59:01 -03 2019

Description: Internal errors. Author: Rodrigo Freitas Created at: Sun Apr 28 09:44:32 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:05:05 -03 2019

Description: Author: Rodrigo Freitas Created at: Thu Apr 25 16:34:13 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 09:50:44 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:05:05 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:05:05 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:05:05 -03 2019

Description: Author: Rodrigo Freitas Created at: Mon Apr 22 14:04:27 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:05:05 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:00:41 -03 2019

Description: Author: Rodrigo Freitas Crested at: Mon Apr 29 16:23:52 -03 2019

Description: Author: Rodrigo Freitas Created at: Sun Apr 28 10:05:05 -03 2019

Index

Constants

View Source
const (
	// Success
	StatusLowStorageSpace = 250

	// Error
	StatusParameterNotUnderstood        = 451
	StatusConferenceNotFound            = 452
	StatusNotEnoughBandwidth            = 453
	StatusSessionNotFound               = 454
	StatusMethodNotValidInThisState     = 455
	StatusHeaderFieldNotValid           = 456
	StatusInvalidRange                  = 457
	StatusParameterReadOnly             = 458
	StatusAggregateOperationNotAllowed  = 459
	StatusOnlyAggregateOperationAllowed = 460
	StatusUnsupportedTransport          = 461
	StatusDestinationUnreachable        = 462
	StatusOptionNotSupported            = 551
)

Variables

This section is empty.

Functions

func StatusText

func StatusText(code int) string

Types

type AuthorizationType

type AuthorizationType int
const (
	AuthorizationUnused AuthorizationType = iota + 1
	AuthorizationBasic
	AuthorizationDigest
)

type ClientAnnounce

type ClientAnnounce interface {
	Announce()
}

type ClientGetParameter

type ClientGetParameter interface {
	GetParameter()
}

type ClientPause

type ClientPause interface {
	Pause()
}

type ClientPlay

type ClientPlay interface {
	Play()
}

type ClientRecord

type ClientRecord interface {
	Record()
}

type ClientSetParameter

type ClientSetParameter interface {
	SetParameter()
}

type ClientTeardown

type ClientTeardown interface {
	Teardown()
}

type MediaSetup

type MediaSetup struct {
	Port       int
	ClientHost string
}

type Server

type Server struct {
	ServerSetup
	// contains filtered or unexported fields
}

Server is the server object.

func NewServer

func NewServer(options ServerSetup, handler interface{}) (*Server, error)

NewServer creates a new server handler to listen for incoming requests.

func (*Server) Close

func (s *Server) Close()

Close releases all internal server resources.

func (*Server) Start

func (s *Server) Start()

Start puts the server to receive incoming connections.

type ServerSetup

type ServerSetup struct {
	Port       int
	Username   string
	Password   string
	AuthType   AuthorizationType
	UDPPortMin uint32
	UDPPortMax uint32

	// MediaSetup must contain all video spec that will be available to
	// clients through the DESCRIBE request.
	*MediaSetup
}

ServerSetup holds all available options to create a Server object.

Directories

Path Synopsis
internal
adt
Description: Author: Rodrigo Freitas Created at: Tue Apr 30 13:44:12 -03 2019
Description: Author: Rodrigo Freitas Created at: Tue Apr 30 13:44:12 -03 2019
header
Description: Author: Rodrigo Freitas Created at: Thu May 2 09:02:39 -03 2019 Description: Author: Rodrigo Freitas Created at: Wed May 1 21:04:07 -03 2019 Description: Author: Rodrigo Freitas Created at: Wed May 1 21:04:07 -03 2019
Description: Author: Rodrigo Freitas Created at: Thu May 2 09:02:39 -03 2019 Description: Author: Rodrigo Freitas Created at: Wed May 1 21:04:07 -03 2019 Description: Author: Rodrigo Freitas Created at: Wed May 1 21:04:07 -03 2019
packet
Description: Author: Rodrigo Freitas Created at: Tue Apr 23 15:29:24 -03 2019 Description: Author: Rodrigo Freitas Created at: Tue Apr 23 21:22:48 -03 2019 Description: Author: Rodrigo Freitas Created at: Tue Apr 23 15:29:24 -03 2019
Description: Author: Rodrigo Freitas Created at: Tue Apr 23 15:29:24 -03 2019 Description: Author: Rodrigo Freitas Created at: Tue Apr 23 21:22:48 -03 2019 Description: Author: Rodrigo Freitas Created at: Tue Apr 23 15:29:24 -03 2019
rtp
Description: Author: Rodrigo Freitas Created at: Mon Apr 29 18:34:47 -03 2019
Description: Author: Rodrigo Freitas Created at: Mon Apr 29 18:34:47 -03 2019
sdp
Description: Author: Rodrigo Freitas Created at: Mon Apr 29 13:43:19 -03 2019
Description: Author: Rodrigo Freitas Created at: Mon Apr 29 13:43:19 -03 2019

Jump to

Keyboard shortcuts

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