interceptor

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReTime

type ReTime struct {
	NoOp
	// contains filtered or unexported fields
}

ReTime interceptor replaces timestamps of all outgoing video packets.

func (*ReTime) BindLocalStream

func (i *ReTime) BindLocalStream(info *StreamInfo, writer RTPWriter) RTPWriter

BindLocalStream modifies any outgoing RTP packets.

func (*ReTime) GetTimestamp

func (i *ReTime) GetTimestamp() uint32

func (*ReTime) SetTimestamp

func (i *ReTime) SetTimestamp(ts uint32)

Jump to

Keyboard shortcuts

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