kvsmockserver

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterTest

type ClusterTest struct {
	Timecode    uint64
	Position    uint64 `ebml:",omitempty"`
	SimpleBlock []ebml.Block
}

type FragmentTest

type FragmentTest struct {
	Cluster ClusterTest
	Tags    TagsTest
}

type KinesisVideoServer

type KinesisVideoServer struct {
	*httptest.Server
	// contains filtered or unexported fields
}

func NewKinesisVideoServer

func NewKinesisVideoServer(opts ...KinesisVideoServerOption) *KinesisVideoServer

func (*KinesisVideoServer) GetFragment

func (s *KinesisVideoServer) GetFragment(timecode uint64) (FragmentTest, bool)

func (*KinesisVideoServer) RegisterFragment

func (s *KinesisVideoServer) RegisterFragment(fragment FragmentTest)

type KinesisVideoServerOption

type KinesisVideoServerOption func(*KinesisVideoServer)

func WithBlockTime

func WithBlockTime(blockTime time.Duration) KinesisVideoServerOption

func WithPutMediaHook added in v0.5.0

type TagsTest

type TagsTest struct {
	Tag []kvm.Tag
}

Jump to

Keyboard shortcuts

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