Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterTest ¶
type FragmentTest ¶
type FragmentTest struct { Cluster ClusterTest Tags TagsTest }
type KinesisVideoServer ¶
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
func WithPutMediaHook(h func(uint64, *FragmentTest, http.ResponseWriter) bool) KinesisVideoServerOption
Click to show internal directories.
Click to hide internal directories.