zlmediakit

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIBase         = "/index/api"
	APIGetSnapRoute = APIBase + "/getSnap"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (Client) GetSnap

func (zc Client) GetSnap(streamURI string) ([]byte, error)

type MediaServerClientInterface

type MediaServerClientInterface interface {
	GetSnap(streamURI string) ([]byte, error)
}

func NewClient

func NewClient(baseURL string, secret string, lc logger.Logger) (MediaServerClientInterface, error)

NewClient creates an instance of zlmdiakit client

Jump to

Keyboard shortcuts

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