mediamtx

package module
v0.0.0-...-f83147a Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2025 License: MIT Imports: 15 Imported by: 0

README

MediaMTX Go SDK

A comprehensive Go client library for the MediaMTX streaming server API, generated from the official OpenAPI specification.

Features

  • Complete MediaMTX API v3 coverage
  • Type-safe Go client with full context support
  • Monitor streams, sessions, and recordings
  • Manage configurations and paths
  • Built with ogen for optimal Go integration

How to use

go get github.com/zbiljic/mediamtx-sdk-go
package main

import (
    "context"
    "fmt"
    "log"

    "github.com/zbiljic/mediamtx-sdk-go"
)

func main() {
    client, err := mediamtx.NewClient("http://localhost:9997")
    if err != nil {
        log.Fatal(err)
    }

    // Get server configuration
    config, err := client.ConfigGlobalGet(context.Background())
    if err != nil {
        log.Fatal(err)
    }

    switch config := config.(type) {
    case *mediamtx.GlobalConf:
        fmt.Printf("MediaMTX API enabled: %t\n", config.API.Value)
    }
}

See example/main.go to get started. Documentation is available at pkg.go.dev.

API Coverage

The SDK provides complete access to MediaMTX API v3:

  • Configuration: Global settings and path-specific configuration
  • Monitoring: Active paths, sessions (RTSP, RTMP, WebRTC, SRT, HLS)
  • Recordings: List, inspect, and manage recorded content
  • Authentication: JWT JWKS refresh and session management

Building and Development

# Clone the repository
git clone https://github.com/zbiljic/mediamtx-sdk-go.git
cd mediamtx-sdk-go

# Generate code
make generate

# Run linter
make lint

Requirements

  • Go 1.24 or later
  • MediaMTX server with API enabled

Contributing

Contributions are welcome! If you find a bug, have a feature request, or want to improve the codebase, please feel free to open an issue or submit a pull request.

Development

The project uses mise to manage development tools. To install them, run:

make bootstrap

Common development tasks are available in the Makefile:

  • make tidy: Tidy Go modules.
  • make gofmt: Format Go code with gofumpt.
  • make lint: Lint the source code.
  • make pre-commit: Run formatters and linters.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

Types

type AuthInternalUser

type AuthInternalUser struct {
	User        OptString                    `json:"user"`
	Pass        OptString                    `json:"pass"`
	Ips         []string                     `json:"ips"`
	Permissions []AuthInternalUserPermission `json:"permissions"`
}

Ref: #/components/schemas/AuthInternalUser

func (*AuthInternalUser) Decode

func (s *AuthInternalUser) Decode(d *jx.Decoder) error

Decode decodes AuthInternalUser from json.

func (*AuthInternalUser) Encode

func (s *AuthInternalUser) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AuthInternalUser) GetIps

func (s *AuthInternalUser) GetIps() []string

GetIps returns the value of Ips.

func (*AuthInternalUser) GetPass

func (s *AuthInternalUser) GetPass() OptString

GetPass returns the value of Pass.

func (*AuthInternalUser) GetPermissions

func (s *AuthInternalUser) GetPermissions() []AuthInternalUserPermission

GetPermissions returns the value of Permissions.

func (*AuthInternalUser) GetUser

func (s *AuthInternalUser) GetUser() OptString

GetUser returns the value of User.

func (*AuthInternalUser) MarshalJSON

func (s *AuthInternalUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AuthInternalUser) SetIps

func (s *AuthInternalUser) SetIps(val []string)

SetIps sets the value of Ips.

func (*AuthInternalUser) SetPass

func (s *AuthInternalUser) SetPass(val OptString)

SetPass sets the value of Pass.

func (*AuthInternalUser) SetPermissions

func (s *AuthInternalUser) SetPermissions(val []AuthInternalUserPermission)

SetPermissions sets the value of Permissions.

func (*AuthInternalUser) SetUser

func (s *AuthInternalUser) SetUser(val OptString)

SetUser sets the value of User.

func (*AuthInternalUser) UnmarshalJSON

func (s *AuthInternalUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AuthInternalUserPermission

type AuthInternalUserPermission struct {
	Action OptString `json:"action"`
	Path   OptString `json:"path"`
}

Ref: #/components/schemas/AuthInternalUserPermission

func (*AuthInternalUserPermission) Decode

Decode decodes AuthInternalUserPermission from json.

func (*AuthInternalUserPermission) Encode

func (s *AuthInternalUserPermission) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AuthInternalUserPermission) GetAction

func (s *AuthInternalUserPermission) GetAction() OptString

GetAction returns the value of Action.

func (*AuthInternalUserPermission) GetPath

GetPath returns the value of Path.

func (*AuthInternalUserPermission) MarshalJSON

func (s *AuthInternalUserPermission) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AuthInternalUserPermission) SetAction

func (s *AuthInternalUserPermission) SetAction(val OptString)

SetAction sets the value of Action.

func (*AuthInternalUserPermission) SetPath

func (s *AuthInternalUserPermission) SetPath(val OptString)

SetPath sets the value of Path.

func (*AuthInternalUserPermission) UnmarshalJSON

func (s *AuthInternalUserPermission) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AuthJwksRefreshOK

type AuthJwksRefreshOK struct{}

AuthJwksRefreshOK is response for AuthJwksRefresh operation.

type AuthJwksRefreshRes

type AuthJwksRefreshRes interface {
	// contains filtered or unexported methods
}

type Client

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

Client implements OAS client.

func NewClient

func NewClient(serverURL string, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) AuthJwksRefresh

func (c *Client) AuthJwksRefresh(ctx context.Context) (AuthJwksRefreshRes, error)

AuthJwksRefresh invokes authJwksRefresh operation.

Manually refreshes the JWT JWKS.

POST /v3/auth/jwks/refresh

func (*Client) ConfigGlobalGet

func (c *Client) ConfigGlobalGet(ctx context.Context) (ConfigGlobalGetRes, error)

ConfigGlobalGet invokes configGlobalGet operation.

Returns the global configuration.

GET /v3/config/global/get

func (*Client) ConfigGlobalSet

func (c *Client) ConfigGlobalSet(ctx context.Context, request *GlobalConf) (ConfigGlobalSetRes, error)

ConfigGlobalSet invokes configGlobalSet operation.

All fields are optional.

PATCH /v3/config/global/patch

func (*Client) ConfigPathDefaultsGet

func (c *Client) ConfigPathDefaultsGet(ctx context.Context) (ConfigPathDefaultsGetRes, error)

ConfigPathDefaultsGet invokes configPathDefaultsGet operation.

Returns the default path configuration.

GET /v3/config/pathdefaults/get

func (*Client) ConfigPathDefaultsPatch

func (c *Client) ConfigPathDefaultsPatch(ctx context.Context, request *PathConf) (ConfigPathDefaultsPatchRes, error)

ConfigPathDefaultsPatch invokes configPathDefaultsPatch operation.

All fields are optional.

PATCH /v3/config/pathdefaults/patch

func (*Client) ConfigPathsAdd

func (c *Client) ConfigPathsAdd(ctx context.Context, request *PathConf, params ConfigPathsAddParams) (ConfigPathsAddRes, error)

ConfigPathsAdd invokes configPathsAdd operation.

All fields are optional.

POST /v3/config/paths/add/{name}

func (*Client) ConfigPathsDelete

func (c *Client) ConfigPathsDelete(ctx context.Context, params ConfigPathsDeleteParams) (ConfigPathsDeleteRes, error)

ConfigPathsDelete invokes configPathsDelete operation.

Removes a path configuration.

DELETE /v3/config/paths/delete/{name}

func (*Client) ConfigPathsGet

func (c *Client) ConfigPathsGet(ctx context.Context, params ConfigPathsGetParams) (ConfigPathsGetRes, error)

ConfigPathsGet invokes configPathsGet operation.

Returns a path configuration.

GET /v3/config/paths/get/{name}

func (*Client) ConfigPathsList

func (c *Client) ConfigPathsList(ctx context.Context, params ConfigPathsListParams) (ConfigPathsListRes, error)

ConfigPathsList invokes configPathsList operation.

Returns all path configurations.

GET /v3/config/paths/list

func (*Client) ConfigPathsPatch

func (c *Client) ConfigPathsPatch(ctx context.Context, request *PathConf, params ConfigPathsPatchParams) (ConfigPathsPatchRes, error)

ConfigPathsPatch invokes configPathsPatch operation.

All fields are optional.

PATCH /v3/config/paths/patch/{name}

func (*Client) ConfigPathsReplace

func (c *Client) ConfigPathsReplace(ctx context.Context, request *PathConf, params ConfigPathsReplaceParams) (ConfigPathsReplaceRes, error)

ConfigPathsReplace invokes configPathsReplace operation.

All fields are optional.

POST /v3/config/paths/replace/{name}

func (*Client) HlsMuxersGet

func (c *Client) HlsMuxersGet(ctx context.Context, params HlsMuxersGetParams) (HlsMuxersGetRes, error)

HlsMuxersGet invokes hlsMuxersGet operation.

Returns a HLS muxer.

GET /v3/hlsmuxers/get/{name}

func (*Client) HlsMuxersList

func (c *Client) HlsMuxersList(ctx context.Context, params HlsMuxersListParams) (HlsMuxersListRes, error)

HlsMuxersList invokes hlsMuxersList operation.

Returns all HLS muxers.

GET /v3/hlsmuxers/list

func (*Client) PathsGet

func (c *Client) PathsGet(ctx context.Context, params PathsGetParams) (PathsGetRes, error)

PathsGet invokes pathsGet operation.

Returns a path.

GET /v3/paths/get/{name}

func (*Client) PathsList

func (c *Client) PathsList(ctx context.Context, params PathsListParams) (PathsListRes, error)

PathsList invokes pathsList operation.

Returns all paths.

GET /v3/paths/list

func (*Client) RecordingsDeleteSegment

func (c *Client) RecordingsDeleteSegment(ctx context.Context, params RecordingsDeleteSegmentParams) (RecordingsDeleteSegmentRes, error)

RecordingsDeleteSegment invokes recordingsDeleteSegment operation.

Deletes a recording segment.

DELETE /v3/recordings/deletesegment

func (*Client) RecordingsGet

func (c *Client) RecordingsGet(ctx context.Context, params RecordingsGetParams) (RecordingsGetRes, error)

RecordingsGet invokes recordingsGet operation.

Returns recordings for a path.

GET /v3/recordings/get/{name}

func (*Client) RecordingsList

func (c *Client) RecordingsList(ctx context.Context, params RecordingsListParams) (RecordingsListRes, error)

RecordingsList invokes recordingsList operation.

Returns all recordings.

GET /v3/recordings/list

func (*Client) RtmpConnectionsGet

func (c *Client) RtmpConnectionsGet(ctx context.Context, params RtmpConnectionsGetParams) (RtmpConnectionsGetRes, error)

RtmpConnectionsGet invokes rtmpConnectionsGet operation.

Returns a RTMP connection.

GET /v3/rtmpconns/get/{id}

func (*Client) RtmpConnsKick

func (c *Client) RtmpConnsKick(ctx context.Context, params RtmpConnsKickParams) (RtmpConnsKickRes, error)

RtmpConnsKick invokes rtmpConnsKick operation.

Kicks out a RTMP connection from the server.

POST /v3/rtmpconns/kick/{id}

func (*Client) RtmpConnsList

func (c *Client) RtmpConnsList(ctx context.Context, params RtmpConnsListParams) (RtmpConnsListRes, error)

RtmpConnsList invokes rtmpConnsList operation.

Returns all RTMP connections.

GET /v3/rtmpconns/list

func (*Client) RtmpsConnectionsGet

func (c *Client) RtmpsConnectionsGet(ctx context.Context, params RtmpsConnectionsGetParams) (RtmpsConnectionsGetRes, error)

RtmpsConnectionsGet invokes rtmpsConnectionsGet operation.

Returns a RTMPS connection.

GET /v3/rtmpsconns/get/{id}

func (*Client) RtmpsConnsKick

func (c *Client) RtmpsConnsKick(ctx context.Context, params RtmpsConnsKickParams) (RtmpsConnsKickRes, error)

RtmpsConnsKick invokes rtmpsConnsKick operation.

Kicks out a RTMPS connection from the server.

POST /v3/rtmpsconns/kick/{id}

func (*Client) RtmpsConnsList

func (c *Client) RtmpsConnsList(ctx context.Context, params RtmpsConnsListParams) (RtmpsConnsListRes, error)

RtmpsConnsList invokes rtmpsConnsList operation.

Returns all RTMPS connections.

GET /v3/rtmpsconns/list

func (*Client) RtspConnsGet

func (c *Client) RtspConnsGet(ctx context.Context, params RtspConnsGetParams) (RtspConnsGetRes, error)

RtspConnsGet invokes rtspConnsGet operation.

Returns a RTSP connection.

GET /v3/rtspconns/get/{id}

func (*Client) RtspConnsList

func (c *Client) RtspConnsList(ctx context.Context, params RtspConnsListParams) (RtspConnsListRes, error)

RtspConnsList invokes rtspConnsList operation.

Returns all RTSP connections.

GET /v3/rtspconns/list

func (*Client) RtspSessionsGet

func (c *Client) RtspSessionsGet(ctx context.Context, params RtspSessionsGetParams) (RtspSessionsGetRes, error)

RtspSessionsGet invokes rtspSessionsGet operation.

Returns a RTSP session.

GET /v3/rtspsessions/get/{id}

func (*Client) RtspSessionsKick

func (c *Client) RtspSessionsKick(ctx context.Context, params RtspSessionsKickParams) (RtspSessionsKickRes, error)

RtspSessionsKick invokes rtspSessionsKick operation.

Kicks out a RTSP session from the server.

POST /v3/rtspsessions/kick/{id}

func (*Client) RtspSessionsList

func (c *Client) RtspSessionsList(ctx context.Context, params RtspSessionsListParams) (RtspSessionsListRes, error)

RtspSessionsList invokes rtspSessionsList operation.

Returns all RTSP sessions.

GET /v3/rtspsessions/list

func (*Client) RtspsConnsGet

func (c *Client) RtspsConnsGet(ctx context.Context, params RtspsConnsGetParams) (RtspsConnsGetRes, error)

RtspsConnsGet invokes rtspsConnsGet operation.

Returns a RTSPS connection.

GET /v3/rtspsconns/get/{id}

func (*Client) RtspsConnsList

func (c *Client) RtspsConnsList(ctx context.Context, params RtspsConnsListParams) (RtspsConnsListRes, error)

RtspsConnsList invokes rtspsConnsList operation.

Returns all RTSPS connections.

GET /v3/rtspsconns/list

func (*Client) RtspsSessionsGet

func (c *Client) RtspsSessionsGet(ctx context.Context, params RtspsSessionsGetParams) (RtspsSessionsGetRes, error)

RtspsSessionsGet invokes rtspsSessionsGet operation.

Returns a RTSPS session.

GET /v3/rtspssessions/get/{id}

func (*Client) RtspsSessionsKick

func (c *Client) RtspsSessionsKick(ctx context.Context, params RtspsSessionsKickParams) (RtspsSessionsKickRes, error)

RtspsSessionsKick invokes rtspsSessionsKick operation.

Kicks out a RTSPS session from the server.

POST /v3/rtspssessions/kick/{id}

func (*Client) RtspsSessionsList

func (c *Client) RtspsSessionsList(ctx context.Context, params RtspsSessionsListParams) (RtspsSessionsListRes, error)

RtspsSessionsList invokes rtspsSessionsList operation.

Returns all RTSPS sessions.

GET /v3/rtspssessions/list

func (*Client) SrtConnsGet

func (c *Client) SrtConnsGet(ctx context.Context, params SrtConnsGetParams) (SrtConnsGetRes, error)

SrtConnsGet invokes srtConnsGet operation.

Returns a SRT connection.

GET /v3/srtconns/get/{id}

func (*Client) SrtConnsKick

func (c *Client) SrtConnsKick(ctx context.Context, params SrtConnsKickParams) (SrtConnsKickRes, error)

SrtConnsKick invokes srtConnsKick operation.

Kicks out a SRT connection from the server.

POST /v3/srtconns/kick/{id}

func (*Client) SrtConnsList

func (c *Client) SrtConnsList(ctx context.Context, params SrtConnsListParams) (SrtConnsListRes, error)

SrtConnsList invokes srtConnsList operation.

Returns all SRT connections.

GET /v3/srtconns/list

func (*Client) WebrtcSessionsGet

func (c *Client) WebrtcSessionsGet(ctx context.Context, params WebrtcSessionsGetParams) (WebrtcSessionsGetRes, error)

WebrtcSessionsGet invokes webrtcSessionsGet operation.

Returns a WebRTC session.

GET /v3/webrtcsessions/get/{id}

func (*Client) WebrtcSessionsKick

func (c *Client) WebrtcSessionsKick(ctx context.Context, params WebrtcSessionsKickParams) (WebrtcSessionsKickRes, error)

WebrtcSessionsKick invokes webrtcSessionsKick operation.

Kicks out a WebRTC session from the server.

POST /v3/webrtcsessions/kick/{id}

func (*Client) WebrtcSessionsList

func (c *Client) WebrtcSessionsList(ctx context.Context, params WebrtcSessionsListParams) (WebrtcSessionsListRes, error)

WebrtcSessionsList invokes webrtcSessionsList operation.

Returns all WebRTC sessions.

GET /v3/webrtcsessions/list

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type ConfigGlobalGetBadRequest

type ConfigGlobalGetBadRequest Error

func (*ConfigGlobalGetBadRequest) Decode

func (s *ConfigGlobalGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes ConfigGlobalGetBadRequest from json.

func (*ConfigGlobalGetBadRequest) Encode

func (s *ConfigGlobalGetBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigGlobalGetBadRequest as json.

func (*ConfigGlobalGetBadRequest) MarshalJSON

func (s *ConfigGlobalGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigGlobalGetBadRequest) UnmarshalJSON

func (s *ConfigGlobalGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigGlobalGetInternalServerError

type ConfigGlobalGetInternalServerError Error

func (*ConfigGlobalGetInternalServerError) Decode

Decode decodes ConfigGlobalGetInternalServerError from json.

func (*ConfigGlobalGetInternalServerError) Encode

Encode encodes ConfigGlobalGetInternalServerError as json.

func (*ConfigGlobalGetInternalServerError) MarshalJSON

func (s *ConfigGlobalGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigGlobalGetInternalServerError) UnmarshalJSON

func (s *ConfigGlobalGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigGlobalGetRes

type ConfigGlobalGetRes interface {
	// contains filtered or unexported methods
}

type ConfigGlobalSetBadRequest

type ConfigGlobalSetBadRequest Error

func (*ConfigGlobalSetBadRequest) Decode

func (s *ConfigGlobalSetBadRequest) Decode(d *jx.Decoder) error

Decode decodes ConfigGlobalSetBadRequest from json.

func (*ConfigGlobalSetBadRequest) Encode

func (s *ConfigGlobalSetBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigGlobalSetBadRequest as json.

func (*ConfigGlobalSetBadRequest) MarshalJSON

func (s *ConfigGlobalSetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigGlobalSetBadRequest) UnmarshalJSON

func (s *ConfigGlobalSetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigGlobalSetInternalServerError

type ConfigGlobalSetInternalServerError Error

func (*ConfigGlobalSetInternalServerError) Decode

Decode decodes ConfigGlobalSetInternalServerError from json.

func (*ConfigGlobalSetInternalServerError) Encode

Encode encodes ConfigGlobalSetInternalServerError as json.

func (*ConfigGlobalSetInternalServerError) MarshalJSON

func (s *ConfigGlobalSetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigGlobalSetInternalServerError) UnmarshalJSON

func (s *ConfigGlobalSetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigGlobalSetOK

type ConfigGlobalSetOK struct{}

ConfigGlobalSetOK is response for ConfigGlobalSet operation.

type ConfigGlobalSetRes

type ConfigGlobalSetRes interface {
	// contains filtered or unexported methods
}

type ConfigPathDefaultsGetBadRequest

type ConfigPathDefaultsGetBadRequest Error

func (*ConfigPathDefaultsGetBadRequest) Decode

Decode decodes ConfigPathDefaultsGetBadRequest from json.

func (*ConfigPathDefaultsGetBadRequest) Encode

Encode encodes ConfigPathDefaultsGetBadRequest as json.

func (*ConfigPathDefaultsGetBadRequest) MarshalJSON

func (s *ConfigPathDefaultsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathDefaultsGetBadRequest) UnmarshalJSON

func (s *ConfigPathDefaultsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathDefaultsGetInternalServerError

type ConfigPathDefaultsGetInternalServerError Error

func (*ConfigPathDefaultsGetInternalServerError) Decode

Decode decodes ConfigPathDefaultsGetInternalServerError from json.

func (*ConfigPathDefaultsGetInternalServerError) Encode

Encode encodes ConfigPathDefaultsGetInternalServerError as json.

func (*ConfigPathDefaultsGetInternalServerError) MarshalJSON

func (s *ConfigPathDefaultsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathDefaultsGetInternalServerError) UnmarshalJSON

func (s *ConfigPathDefaultsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathDefaultsGetRes

type ConfigPathDefaultsGetRes interface {
	// contains filtered or unexported methods
}

type ConfigPathDefaultsPatchBadRequest

type ConfigPathDefaultsPatchBadRequest Error

func (*ConfigPathDefaultsPatchBadRequest) Decode

Decode decodes ConfigPathDefaultsPatchBadRequest from json.

func (*ConfigPathDefaultsPatchBadRequest) Encode

Encode encodes ConfigPathDefaultsPatchBadRequest as json.

func (*ConfigPathDefaultsPatchBadRequest) MarshalJSON

func (s *ConfigPathDefaultsPatchBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathDefaultsPatchBadRequest) UnmarshalJSON

func (s *ConfigPathDefaultsPatchBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathDefaultsPatchInternalServerError

type ConfigPathDefaultsPatchInternalServerError Error

func (*ConfigPathDefaultsPatchInternalServerError) Decode

Decode decodes ConfigPathDefaultsPatchInternalServerError from json.

func (*ConfigPathDefaultsPatchInternalServerError) Encode

Encode encodes ConfigPathDefaultsPatchInternalServerError as json.

func (*ConfigPathDefaultsPatchInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathDefaultsPatchInternalServerError) UnmarshalJSON

func (s *ConfigPathDefaultsPatchInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathDefaultsPatchOK

type ConfigPathDefaultsPatchOK struct{}

ConfigPathDefaultsPatchOK is response for ConfigPathDefaultsPatch operation.

type ConfigPathDefaultsPatchRes

type ConfigPathDefaultsPatchRes interface {
	// contains filtered or unexported methods
}

type ConfigPathsAddBadRequest

type ConfigPathsAddBadRequest Error

func (*ConfigPathsAddBadRequest) Decode

func (s *ConfigPathsAddBadRequest) Decode(d *jx.Decoder) error

Decode decodes ConfigPathsAddBadRequest from json.

func (*ConfigPathsAddBadRequest) Encode

func (s *ConfigPathsAddBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigPathsAddBadRequest as json.

func (*ConfigPathsAddBadRequest) MarshalJSON

func (s *ConfigPathsAddBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsAddBadRequest) UnmarshalJSON

func (s *ConfigPathsAddBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsAddInternalServerError

type ConfigPathsAddInternalServerError Error

func (*ConfigPathsAddInternalServerError) Decode

Decode decodes ConfigPathsAddInternalServerError from json.

func (*ConfigPathsAddInternalServerError) Encode

Encode encodes ConfigPathsAddInternalServerError as json.

func (*ConfigPathsAddInternalServerError) MarshalJSON

func (s *ConfigPathsAddInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsAddInternalServerError) UnmarshalJSON

func (s *ConfigPathsAddInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsAddOK

type ConfigPathsAddOK struct{}

ConfigPathsAddOK is response for ConfigPathsAdd operation.

type ConfigPathsAddParams

type ConfigPathsAddParams struct {
	// The name of the path.
	Name string
}

ConfigPathsAddParams is parameters of configPathsAdd operation.

type ConfigPathsAddRes

type ConfigPathsAddRes interface {
	// contains filtered or unexported methods
}

type ConfigPathsDeleteBadRequest

type ConfigPathsDeleteBadRequest Error

func (*ConfigPathsDeleteBadRequest) Decode

Decode decodes ConfigPathsDeleteBadRequest from json.

func (*ConfigPathsDeleteBadRequest) Encode

func (s *ConfigPathsDeleteBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigPathsDeleteBadRequest as json.

func (*ConfigPathsDeleteBadRequest) MarshalJSON

func (s *ConfigPathsDeleteBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsDeleteBadRequest) UnmarshalJSON

func (s *ConfigPathsDeleteBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsDeleteInternalServerError

type ConfigPathsDeleteInternalServerError Error

func (*ConfigPathsDeleteInternalServerError) Decode

Decode decodes ConfigPathsDeleteInternalServerError from json.

func (*ConfigPathsDeleteInternalServerError) Encode

Encode encodes ConfigPathsDeleteInternalServerError as json.

func (*ConfigPathsDeleteInternalServerError) MarshalJSON

func (s *ConfigPathsDeleteInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsDeleteInternalServerError) UnmarshalJSON

func (s *ConfigPathsDeleteInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsDeleteNotFound

type ConfigPathsDeleteNotFound Error

func (*ConfigPathsDeleteNotFound) Decode

func (s *ConfigPathsDeleteNotFound) Decode(d *jx.Decoder) error

Decode decodes ConfigPathsDeleteNotFound from json.

func (*ConfigPathsDeleteNotFound) Encode

func (s *ConfigPathsDeleteNotFound) Encode(e *jx.Encoder)

Encode encodes ConfigPathsDeleteNotFound as json.

func (*ConfigPathsDeleteNotFound) MarshalJSON

func (s *ConfigPathsDeleteNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsDeleteNotFound) UnmarshalJSON

func (s *ConfigPathsDeleteNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsDeleteOK

type ConfigPathsDeleteOK struct{}

ConfigPathsDeleteOK is response for ConfigPathsDelete operation.

type ConfigPathsDeleteParams

type ConfigPathsDeleteParams struct {
	// The name of the path.
	Name string
}

ConfigPathsDeleteParams is parameters of configPathsDelete operation.

type ConfigPathsDeleteRes

type ConfigPathsDeleteRes interface {
	// contains filtered or unexported methods
}

type ConfigPathsGetBadRequest

type ConfigPathsGetBadRequest Error

func (*ConfigPathsGetBadRequest) Decode

func (s *ConfigPathsGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes ConfigPathsGetBadRequest from json.

func (*ConfigPathsGetBadRequest) Encode

func (s *ConfigPathsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigPathsGetBadRequest as json.

func (*ConfigPathsGetBadRequest) MarshalJSON

func (s *ConfigPathsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsGetBadRequest) UnmarshalJSON

func (s *ConfigPathsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsGetInternalServerError

type ConfigPathsGetInternalServerError Error

func (*ConfigPathsGetInternalServerError) Decode

Decode decodes ConfigPathsGetInternalServerError from json.

func (*ConfigPathsGetInternalServerError) Encode

Encode encodes ConfigPathsGetInternalServerError as json.

func (*ConfigPathsGetInternalServerError) MarshalJSON

func (s *ConfigPathsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsGetInternalServerError) UnmarshalJSON

func (s *ConfigPathsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsGetNotFound

type ConfigPathsGetNotFound Error

func (*ConfigPathsGetNotFound) Decode

func (s *ConfigPathsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes ConfigPathsGetNotFound from json.

func (*ConfigPathsGetNotFound) Encode

func (s *ConfigPathsGetNotFound) Encode(e *jx.Encoder)

Encode encodes ConfigPathsGetNotFound as json.

func (*ConfigPathsGetNotFound) MarshalJSON

func (s *ConfigPathsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsGetNotFound) UnmarshalJSON

func (s *ConfigPathsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsGetParams

type ConfigPathsGetParams struct {
	// The name of the path.
	Name string
}

ConfigPathsGetParams is parameters of configPathsGet operation.

type ConfigPathsGetRes

type ConfigPathsGetRes interface {
	// contains filtered or unexported methods
}

type ConfigPathsListBadRequest

type ConfigPathsListBadRequest Error

func (*ConfigPathsListBadRequest) Decode

func (s *ConfigPathsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes ConfigPathsListBadRequest from json.

func (*ConfigPathsListBadRequest) Encode

func (s *ConfigPathsListBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigPathsListBadRequest as json.

func (*ConfigPathsListBadRequest) MarshalJSON

func (s *ConfigPathsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsListBadRequest) UnmarshalJSON

func (s *ConfigPathsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsListInternalServerError

type ConfigPathsListInternalServerError Error

func (*ConfigPathsListInternalServerError) Decode

Decode decodes ConfigPathsListInternalServerError from json.

func (*ConfigPathsListInternalServerError) Encode

Encode encodes ConfigPathsListInternalServerError as json.

func (*ConfigPathsListInternalServerError) MarshalJSON

func (s *ConfigPathsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsListInternalServerError) UnmarshalJSON

func (s *ConfigPathsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsListParams

type ConfigPathsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

ConfigPathsListParams is parameters of configPathsList operation.

type ConfigPathsListRes

type ConfigPathsListRes interface {
	// contains filtered or unexported methods
}

type ConfigPathsPatchBadRequest

type ConfigPathsPatchBadRequest Error

func (*ConfigPathsPatchBadRequest) Decode

Decode decodes ConfigPathsPatchBadRequest from json.

func (*ConfigPathsPatchBadRequest) Encode

func (s *ConfigPathsPatchBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigPathsPatchBadRequest as json.

func (*ConfigPathsPatchBadRequest) MarshalJSON

func (s *ConfigPathsPatchBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsPatchBadRequest) UnmarshalJSON

func (s *ConfigPathsPatchBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsPatchInternalServerError

type ConfigPathsPatchInternalServerError Error

func (*ConfigPathsPatchInternalServerError) Decode

Decode decodes ConfigPathsPatchInternalServerError from json.

func (*ConfigPathsPatchInternalServerError) Encode

Encode encodes ConfigPathsPatchInternalServerError as json.

func (*ConfigPathsPatchInternalServerError) MarshalJSON

func (s *ConfigPathsPatchInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsPatchInternalServerError) UnmarshalJSON

func (s *ConfigPathsPatchInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsPatchNotFound

type ConfigPathsPatchNotFound Error

func (*ConfigPathsPatchNotFound) Decode

func (s *ConfigPathsPatchNotFound) Decode(d *jx.Decoder) error

Decode decodes ConfigPathsPatchNotFound from json.

func (*ConfigPathsPatchNotFound) Encode

func (s *ConfigPathsPatchNotFound) Encode(e *jx.Encoder)

Encode encodes ConfigPathsPatchNotFound as json.

func (*ConfigPathsPatchNotFound) MarshalJSON

func (s *ConfigPathsPatchNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsPatchNotFound) UnmarshalJSON

func (s *ConfigPathsPatchNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsPatchOK

type ConfigPathsPatchOK struct{}

ConfigPathsPatchOK is response for ConfigPathsPatch operation.

type ConfigPathsPatchParams

type ConfigPathsPatchParams struct {
	// The name of the path.
	Name string
}

ConfigPathsPatchParams is parameters of configPathsPatch operation.

type ConfigPathsPatchRes

type ConfigPathsPatchRes interface {
	// contains filtered or unexported methods
}

type ConfigPathsReplaceBadRequest

type ConfigPathsReplaceBadRequest Error

func (*ConfigPathsReplaceBadRequest) Decode

Decode decodes ConfigPathsReplaceBadRequest from json.

func (*ConfigPathsReplaceBadRequest) Encode

func (s *ConfigPathsReplaceBadRequest) Encode(e *jx.Encoder)

Encode encodes ConfigPathsReplaceBadRequest as json.

func (*ConfigPathsReplaceBadRequest) MarshalJSON

func (s *ConfigPathsReplaceBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsReplaceBadRequest) UnmarshalJSON

func (s *ConfigPathsReplaceBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsReplaceInternalServerError

type ConfigPathsReplaceInternalServerError Error

func (*ConfigPathsReplaceInternalServerError) Decode

Decode decodes ConfigPathsReplaceInternalServerError from json.

func (*ConfigPathsReplaceInternalServerError) Encode

Encode encodes ConfigPathsReplaceInternalServerError as json.

func (*ConfigPathsReplaceInternalServerError) MarshalJSON

func (s *ConfigPathsReplaceInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsReplaceInternalServerError) UnmarshalJSON

func (s *ConfigPathsReplaceInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsReplaceNotFound

type ConfigPathsReplaceNotFound Error

func (*ConfigPathsReplaceNotFound) Decode

Decode decodes ConfigPathsReplaceNotFound from json.

func (*ConfigPathsReplaceNotFound) Encode

func (s *ConfigPathsReplaceNotFound) Encode(e *jx.Encoder)

Encode encodes ConfigPathsReplaceNotFound as json.

func (*ConfigPathsReplaceNotFound) MarshalJSON

func (s *ConfigPathsReplaceNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigPathsReplaceNotFound) UnmarshalJSON

func (s *ConfigPathsReplaceNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigPathsReplaceOK

type ConfigPathsReplaceOK struct{}

ConfigPathsReplaceOK is response for ConfigPathsReplace operation.

type ConfigPathsReplaceParams

type ConfigPathsReplaceParams struct {
	// The name of the path.
	Name string
}

ConfigPathsReplaceParams is parameters of configPathsReplace operation.

type ConfigPathsReplaceRes

type ConfigPathsReplaceRes interface {
	// contains filtered or unexported methods
}

type Error

type Error struct {
	Error OptString `json:"error"`
}

Ref: #/components/schemas/Error

func (*Error) Decode

func (s *Error) Decode(d *jx.Decoder) error

Decode decodes Error from json.

func (*Error) Encode

func (s *Error) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Error) GetError

func (s *Error) GetError() OptString

GetError returns the value of Error.

func (*Error) MarshalJSON

func (s *Error) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Error) SetError

func (s *Error) SetError(val OptString)

SetError sets the value of Error.

func (*Error) UnmarshalJSON

func (s *Error) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GlobalConf

type GlobalConf struct {
	LogLevel                    OptString                         `json:"logLevel"`
	LogDestinations             []string                          `json:"logDestinations"`
	LogFile                     OptString                         `json:"logFile"`
	SysLogPrefix                OptString                         `json:"sysLogPrefix"`
	ReadTimeout                 OptString                         `json:"readTimeout"`
	WriteTimeout                OptString                         `json:"writeTimeout"`
	WriteQueueSize              OptInt                            `json:"writeQueueSize"`
	UdpMaxPayloadSize           OptInt                            `json:"udpMaxPayloadSize"`
	RunOnConnect                OptString                         `json:"runOnConnect"`
	RunOnConnectRestart         OptBool                           `json:"runOnConnectRestart"`
	RunOnDisconnect             OptString                         `json:"runOnDisconnect"`
	AuthMethod                  OptString                         `json:"authMethod"`
	AuthInternalUsers           []AuthInternalUser                `json:"authInternalUsers"`
	AuthHTTPAddress             OptString                         `json:"authHTTPAddress"`
	AuthHTTPExclude             []AuthInternalUserPermission      `json:"authHTTPExclude"`
	AuthJWTJWKS                 OptString                         `json:"authJWTJWKS"`
	AuthJWTJWKSFingerprint      OptString                         `json:"authJWTJWKSFingerprint"`
	AuthJWTClaimKey             OptString                         `json:"authJWTClaimKey"`
	AuthJWTExclude              []AuthInternalUserPermission      `json:"authJWTExclude"`
	AuthJWTInHTTPQuery          OptBool                           `json:"authJWTInHTTPQuery"`
	API                         OptBool                           `json:"api"`
	ApiAddress                  OptString                         `json:"apiAddress"`
	ApiEncryption               OptBool                           `json:"apiEncryption"`
	ApiServerKey                OptString                         `json:"apiServerKey"`
	ApiServerCert               OptString                         `json:"apiServerCert"`
	ApiAllowOrigin              OptString                         `json:"apiAllowOrigin"`
	ApiTrustedProxies           []string                          `json:"apiTrustedProxies"`
	Metrics                     OptBool                           `json:"metrics"`
	MetricsAddress              OptString                         `json:"metricsAddress"`
	MetricsEncryption           OptBool                           `json:"metricsEncryption"`
	MetricsServerKey            OptString                         `json:"metricsServerKey"`
	MetricsServerCert           OptString                         `json:"metricsServerCert"`
	MetricsAllowOrigin          OptString                         `json:"metricsAllowOrigin"`
	MetricsTrustedProxies       []string                          `json:"metricsTrustedProxies"`
	Pprof                       OptBool                           `json:"pprof"`
	PprofAddress                OptString                         `json:"pprofAddress"`
	PprofEncryption             OptBool                           `json:"pprofEncryption"`
	PprofServerKey              OptString                         `json:"pprofServerKey"`
	PprofServerCert             OptString                         `json:"pprofServerCert"`
	PprofAllowOrigin            OptString                         `json:"pprofAllowOrigin"`
	PprofTrustedProxies         []string                          `json:"pprofTrustedProxies"`
	Playback                    OptBool                           `json:"playback"`
	PlaybackAddress             OptString                         `json:"playbackAddress"`
	PlaybackEncryption          OptBool                           `json:"playbackEncryption"`
	PlaybackServerKey           OptString                         `json:"playbackServerKey"`
	PlaybackServerCert          OptString                         `json:"playbackServerCert"`
	PlaybackAllowOrigin         OptString                         `json:"playbackAllowOrigin"`
	PlaybackTrustedProxies      []string                          `json:"playbackTrustedProxies"`
	Rtsp                        OptBool                           `json:"rtsp"`
	RtspTransports              []string                          `json:"rtspTransports"`
	RtspEncryption              OptString                         `json:"rtspEncryption"`
	RtspAddress                 OptString                         `json:"rtspAddress"`
	RtspsAddress                OptString                         `json:"rtspsAddress"`
	RtpAddress                  OptString                         `json:"rtpAddress"`
	RtcpAddress                 OptString                         `json:"rtcpAddress"`
	MulticastIPRange            OptString                         `json:"multicastIPRange"`
	MulticastRTPPort            OptInt                            `json:"multicastRTPPort"`
	MulticastRTCPPort           OptInt                            `json:"multicastRTCPPort"`
	SrtpAddress                 OptString                         `json:"srtpAddress"`
	SrtcpAddress                OptString                         `json:"srtcpAddress"`
	MulticastSRTPPort           OptInt                            `json:"multicastSRTPPort"`
	MulticastSRTCPPort          OptInt                            `json:"multicastSRTCPPort"`
	RtspServerKey               OptString                         `json:"rtspServerKey"`
	RtspServerCert              OptString                         `json:"rtspServerCert"`
	RtspAuthMethods             []string                          `json:"rtspAuthMethods"`
	Rtmp                        OptBool                           `json:"rtmp"`
	RtmpAddress                 OptString                         `json:"rtmpAddress"`
	RtmpEncryption              OptString                         `json:"rtmpEncryption"`
	RtmpsAddress                OptString                         `json:"rtmpsAddress"`
	RtmpServerKey               OptString                         `json:"rtmpServerKey"`
	RtmpServerCert              OptString                         `json:"rtmpServerCert"`
	Hls                         OptBool                           `json:"hls"`
	HlsAddress                  OptString                         `json:"hlsAddress"`
	HlsEncryption               OptBool                           `json:"hlsEncryption"`
	HlsServerKey                OptString                         `json:"hlsServerKey"`
	HlsServerCert               OptString                         `json:"hlsServerCert"`
	HlsAllowOrigin              OptString                         `json:"hlsAllowOrigin"`
	HlsTrustedProxies           []string                          `json:"hlsTrustedProxies"`
	HlsAlwaysRemux              OptBool                           `json:"hlsAlwaysRemux"`
	HlsVariant                  OptString                         `json:"hlsVariant"`
	HlsSegmentCount             OptInt                            `json:"hlsSegmentCount"`
	HlsSegmentDuration          OptString                         `json:"hlsSegmentDuration"`
	HlsPartDuration             OptString                         `json:"hlsPartDuration"`
	HlsSegmentMaxSize           OptString                         `json:"hlsSegmentMaxSize"`
	HlsDirectory                OptString                         `json:"hlsDirectory"`
	HlsMuxerCloseAfter          OptString                         `json:"hlsMuxerCloseAfter"`
	Webrtc                      OptBool                           `json:"webrtc"`
	WebrtcAddress               OptString                         `json:"webrtcAddress"`
	WebrtcEncryption            OptBool                           `json:"webrtcEncryption"`
	WebrtcServerKey             OptString                         `json:"webrtcServerKey"`
	WebrtcServerCert            OptString                         `json:"webrtcServerCert"`
	WebrtcAllowOrigin           OptString                         `json:"webrtcAllowOrigin"`
	WebrtcTrustedProxies        []string                          `json:"webrtcTrustedProxies"`
	WebrtcLocalUDPAddress       OptString                         `json:"webrtcLocalUDPAddress"`
	WebrtcLocalTCPAddress       OptString                         `json:"webrtcLocalTCPAddress"`
	WebrtcIPsFromInterfaces     OptBool                           `json:"webrtcIPsFromInterfaces"`
	WebrtcIPsFromInterfacesList []string                          `json:"webrtcIPsFromInterfacesList"`
	WebrtcAdditionalHosts       []string                          `json:"webrtcAdditionalHosts"`
	WebrtcICEServers2           []GlobalConfWebrtcICEServers2Item `json:"webrtcICEServers2"`
	WebrtcHandshakeTimeout      OptString                         `json:"webrtcHandshakeTimeout"`
	WebrtcTrackGatherTimeout    OptString                         `json:"webrtcTrackGatherTimeout"`
	WebrtcSTUNGatherTimeout     OptString                         `json:"webrtcSTUNGatherTimeout"`
	Srt                         OptBool                           `json:"srt"`
	SrtAddress                  OptString                         `json:"srtAddress"`
}

Ref: #/components/schemas/GlobalConf

func (*GlobalConf) Decode

func (s *GlobalConf) Decode(d *jx.Decoder) error

Decode decodes GlobalConf from json.

func (*GlobalConf) Encode

func (s *GlobalConf) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalConf) GetAPI

func (s *GlobalConf) GetAPI() OptBool

GetAPI returns the value of API.

func (*GlobalConf) GetApiAddress

func (s *GlobalConf) GetApiAddress() OptString

GetApiAddress returns the value of ApiAddress.

func (*GlobalConf) GetApiAllowOrigin

func (s *GlobalConf) GetApiAllowOrigin() OptString

GetApiAllowOrigin returns the value of ApiAllowOrigin.

func (*GlobalConf) GetApiEncryption

func (s *GlobalConf) GetApiEncryption() OptBool

GetApiEncryption returns the value of ApiEncryption.

func (*GlobalConf) GetApiServerCert

func (s *GlobalConf) GetApiServerCert() OptString

GetApiServerCert returns the value of ApiServerCert.

func (*GlobalConf) GetApiServerKey

func (s *GlobalConf) GetApiServerKey() OptString

GetApiServerKey returns the value of ApiServerKey.

func (*GlobalConf) GetApiTrustedProxies

func (s *GlobalConf) GetApiTrustedProxies() []string

GetApiTrustedProxies returns the value of ApiTrustedProxies.

func (*GlobalConf) GetAuthHTTPAddress

func (s *GlobalConf) GetAuthHTTPAddress() OptString

GetAuthHTTPAddress returns the value of AuthHTTPAddress.

func (*GlobalConf) GetAuthHTTPExclude

func (s *GlobalConf) GetAuthHTTPExclude() []AuthInternalUserPermission

GetAuthHTTPExclude returns the value of AuthHTTPExclude.

func (*GlobalConf) GetAuthInternalUsers

func (s *GlobalConf) GetAuthInternalUsers() []AuthInternalUser

GetAuthInternalUsers returns the value of AuthInternalUsers.

func (*GlobalConf) GetAuthJWTClaimKey

func (s *GlobalConf) GetAuthJWTClaimKey() OptString

GetAuthJWTClaimKey returns the value of AuthJWTClaimKey.

func (*GlobalConf) GetAuthJWTExclude

func (s *GlobalConf) GetAuthJWTExclude() []AuthInternalUserPermission

GetAuthJWTExclude returns the value of AuthJWTExclude.

func (*GlobalConf) GetAuthJWTInHTTPQuery

func (s *GlobalConf) GetAuthJWTInHTTPQuery() OptBool

GetAuthJWTInHTTPQuery returns the value of AuthJWTInHTTPQuery.

func (*GlobalConf) GetAuthJWTJWKS

func (s *GlobalConf) GetAuthJWTJWKS() OptString

GetAuthJWTJWKS returns the value of AuthJWTJWKS.

func (*GlobalConf) GetAuthJWTJWKSFingerprint

func (s *GlobalConf) GetAuthJWTJWKSFingerprint() OptString

GetAuthJWTJWKSFingerprint returns the value of AuthJWTJWKSFingerprint.

func (*GlobalConf) GetAuthMethod

func (s *GlobalConf) GetAuthMethod() OptString

GetAuthMethod returns the value of AuthMethod.

func (*GlobalConf) GetHls

func (s *GlobalConf) GetHls() OptBool

GetHls returns the value of Hls.

func (*GlobalConf) GetHlsAddress

func (s *GlobalConf) GetHlsAddress() OptString

GetHlsAddress returns the value of HlsAddress.

func (*GlobalConf) GetHlsAllowOrigin

func (s *GlobalConf) GetHlsAllowOrigin() OptString

GetHlsAllowOrigin returns the value of HlsAllowOrigin.

func (*GlobalConf) GetHlsAlwaysRemux

func (s *GlobalConf) GetHlsAlwaysRemux() OptBool

GetHlsAlwaysRemux returns the value of HlsAlwaysRemux.

func (*GlobalConf) GetHlsDirectory

func (s *GlobalConf) GetHlsDirectory() OptString

GetHlsDirectory returns the value of HlsDirectory.

func (*GlobalConf) GetHlsEncryption

func (s *GlobalConf) GetHlsEncryption() OptBool

GetHlsEncryption returns the value of HlsEncryption.

func (*GlobalConf) GetHlsMuxerCloseAfter

func (s *GlobalConf) GetHlsMuxerCloseAfter() OptString

GetHlsMuxerCloseAfter returns the value of HlsMuxerCloseAfter.

func (*GlobalConf) GetHlsPartDuration

func (s *GlobalConf) GetHlsPartDuration() OptString

GetHlsPartDuration returns the value of HlsPartDuration.

func (*GlobalConf) GetHlsSegmentCount

func (s *GlobalConf) GetHlsSegmentCount() OptInt

GetHlsSegmentCount returns the value of HlsSegmentCount.

func (*GlobalConf) GetHlsSegmentDuration

func (s *GlobalConf) GetHlsSegmentDuration() OptString

GetHlsSegmentDuration returns the value of HlsSegmentDuration.

func (*GlobalConf) GetHlsSegmentMaxSize

func (s *GlobalConf) GetHlsSegmentMaxSize() OptString

GetHlsSegmentMaxSize returns the value of HlsSegmentMaxSize.

func (*GlobalConf) GetHlsServerCert

func (s *GlobalConf) GetHlsServerCert() OptString

GetHlsServerCert returns the value of HlsServerCert.

func (*GlobalConf) GetHlsServerKey

func (s *GlobalConf) GetHlsServerKey() OptString

GetHlsServerKey returns the value of HlsServerKey.

func (*GlobalConf) GetHlsTrustedProxies

func (s *GlobalConf) GetHlsTrustedProxies() []string

GetHlsTrustedProxies returns the value of HlsTrustedProxies.

func (*GlobalConf) GetHlsVariant

func (s *GlobalConf) GetHlsVariant() OptString

GetHlsVariant returns the value of HlsVariant.

func (*GlobalConf) GetLogDestinations

func (s *GlobalConf) GetLogDestinations() []string

GetLogDestinations returns the value of LogDestinations.

func (*GlobalConf) GetLogFile

func (s *GlobalConf) GetLogFile() OptString

GetLogFile returns the value of LogFile.

func (*GlobalConf) GetLogLevel

func (s *GlobalConf) GetLogLevel() OptString

GetLogLevel returns the value of LogLevel.

func (*GlobalConf) GetMetrics

func (s *GlobalConf) GetMetrics() OptBool

GetMetrics returns the value of Metrics.

func (*GlobalConf) GetMetricsAddress

func (s *GlobalConf) GetMetricsAddress() OptString

GetMetricsAddress returns the value of MetricsAddress.

func (*GlobalConf) GetMetricsAllowOrigin

func (s *GlobalConf) GetMetricsAllowOrigin() OptString

GetMetricsAllowOrigin returns the value of MetricsAllowOrigin.

func (*GlobalConf) GetMetricsEncryption

func (s *GlobalConf) GetMetricsEncryption() OptBool

GetMetricsEncryption returns the value of MetricsEncryption.

func (*GlobalConf) GetMetricsServerCert

func (s *GlobalConf) GetMetricsServerCert() OptString

GetMetricsServerCert returns the value of MetricsServerCert.

func (*GlobalConf) GetMetricsServerKey

func (s *GlobalConf) GetMetricsServerKey() OptString

GetMetricsServerKey returns the value of MetricsServerKey.

func (*GlobalConf) GetMetricsTrustedProxies

func (s *GlobalConf) GetMetricsTrustedProxies() []string

GetMetricsTrustedProxies returns the value of MetricsTrustedProxies.

func (*GlobalConf) GetMulticastIPRange

func (s *GlobalConf) GetMulticastIPRange() OptString

GetMulticastIPRange returns the value of MulticastIPRange.

func (*GlobalConf) GetMulticastRTCPPort

func (s *GlobalConf) GetMulticastRTCPPort() OptInt

GetMulticastRTCPPort returns the value of MulticastRTCPPort.

func (*GlobalConf) GetMulticastRTPPort

func (s *GlobalConf) GetMulticastRTPPort() OptInt

GetMulticastRTPPort returns the value of MulticastRTPPort.

func (*GlobalConf) GetMulticastSRTCPPort

func (s *GlobalConf) GetMulticastSRTCPPort() OptInt

GetMulticastSRTCPPort returns the value of MulticastSRTCPPort.

func (*GlobalConf) GetMulticastSRTPPort

func (s *GlobalConf) GetMulticastSRTPPort() OptInt

GetMulticastSRTPPort returns the value of MulticastSRTPPort.

func (*GlobalConf) GetPlayback

func (s *GlobalConf) GetPlayback() OptBool

GetPlayback returns the value of Playback.

func (*GlobalConf) GetPlaybackAddress

func (s *GlobalConf) GetPlaybackAddress() OptString

GetPlaybackAddress returns the value of PlaybackAddress.

func (*GlobalConf) GetPlaybackAllowOrigin

func (s *GlobalConf) GetPlaybackAllowOrigin() OptString

GetPlaybackAllowOrigin returns the value of PlaybackAllowOrigin.

func (*GlobalConf) GetPlaybackEncryption

func (s *GlobalConf) GetPlaybackEncryption() OptBool

GetPlaybackEncryption returns the value of PlaybackEncryption.

func (*GlobalConf) GetPlaybackServerCert

func (s *GlobalConf) GetPlaybackServerCert() OptString

GetPlaybackServerCert returns the value of PlaybackServerCert.

func (*GlobalConf) GetPlaybackServerKey

func (s *GlobalConf) GetPlaybackServerKey() OptString

GetPlaybackServerKey returns the value of PlaybackServerKey.

func (*GlobalConf) GetPlaybackTrustedProxies

func (s *GlobalConf) GetPlaybackTrustedProxies() []string

GetPlaybackTrustedProxies returns the value of PlaybackTrustedProxies.

func (*GlobalConf) GetPprof

func (s *GlobalConf) GetPprof() OptBool

GetPprof returns the value of Pprof.

func (*GlobalConf) GetPprofAddress

func (s *GlobalConf) GetPprofAddress() OptString

GetPprofAddress returns the value of PprofAddress.

func (*GlobalConf) GetPprofAllowOrigin

func (s *GlobalConf) GetPprofAllowOrigin() OptString

GetPprofAllowOrigin returns the value of PprofAllowOrigin.

func (*GlobalConf) GetPprofEncryption

func (s *GlobalConf) GetPprofEncryption() OptBool

GetPprofEncryption returns the value of PprofEncryption.

func (*GlobalConf) GetPprofServerCert

func (s *GlobalConf) GetPprofServerCert() OptString

GetPprofServerCert returns the value of PprofServerCert.

func (*GlobalConf) GetPprofServerKey

func (s *GlobalConf) GetPprofServerKey() OptString

GetPprofServerKey returns the value of PprofServerKey.

func (*GlobalConf) GetPprofTrustedProxies

func (s *GlobalConf) GetPprofTrustedProxies() []string

GetPprofTrustedProxies returns the value of PprofTrustedProxies.

func (*GlobalConf) GetReadTimeout

func (s *GlobalConf) GetReadTimeout() OptString

GetReadTimeout returns the value of ReadTimeout.

func (*GlobalConf) GetRtcpAddress

func (s *GlobalConf) GetRtcpAddress() OptString

GetRtcpAddress returns the value of RtcpAddress.

func (*GlobalConf) GetRtmp

func (s *GlobalConf) GetRtmp() OptBool

GetRtmp returns the value of Rtmp.

func (*GlobalConf) GetRtmpAddress

func (s *GlobalConf) GetRtmpAddress() OptString

GetRtmpAddress returns the value of RtmpAddress.

func (*GlobalConf) GetRtmpEncryption

func (s *GlobalConf) GetRtmpEncryption() OptString

GetRtmpEncryption returns the value of RtmpEncryption.

func (*GlobalConf) GetRtmpServerCert

func (s *GlobalConf) GetRtmpServerCert() OptString

GetRtmpServerCert returns the value of RtmpServerCert.

func (*GlobalConf) GetRtmpServerKey

func (s *GlobalConf) GetRtmpServerKey() OptString

GetRtmpServerKey returns the value of RtmpServerKey.

func (*GlobalConf) GetRtmpsAddress

func (s *GlobalConf) GetRtmpsAddress() OptString

GetRtmpsAddress returns the value of RtmpsAddress.

func (*GlobalConf) GetRtpAddress

func (s *GlobalConf) GetRtpAddress() OptString

GetRtpAddress returns the value of RtpAddress.

func (*GlobalConf) GetRtsp

func (s *GlobalConf) GetRtsp() OptBool

GetRtsp returns the value of Rtsp.

func (*GlobalConf) GetRtspAddress

func (s *GlobalConf) GetRtspAddress() OptString

GetRtspAddress returns the value of RtspAddress.

func (*GlobalConf) GetRtspAuthMethods

func (s *GlobalConf) GetRtspAuthMethods() []string

GetRtspAuthMethods returns the value of RtspAuthMethods.

func (*GlobalConf) GetRtspEncryption

func (s *GlobalConf) GetRtspEncryption() OptString

GetRtspEncryption returns the value of RtspEncryption.

func (*GlobalConf) GetRtspServerCert

func (s *GlobalConf) GetRtspServerCert() OptString

GetRtspServerCert returns the value of RtspServerCert.

func (*GlobalConf) GetRtspServerKey

func (s *GlobalConf) GetRtspServerKey() OptString

GetRtspServerKey returns the value of RtspServerKey.

func (*GlobalConf) GetRtspTransports

func (s *GlobalConf) GetRtspTransports() []string

GetRtspTransports returns the value of RtspTransports.

func (*GlobalConf) GetRtspsAddress

func (s *GlobalConf) GetRtspsAddress() OptString

GetRtspsAddress returns the value of RtspsAddress.

func (*GlobalConf) GetRunOnConnect

func (s *GlobalConf) GetRunOnConnect() OptString

GetRunOnConnect returns the value of RunOnConnect.

func (*GlobalConf) GetRunOnConnectRestart

func (s *GlobalConf) GetRunOnConnectRestart() OptBool

GetRunOnConnectRestart returns the value of RunOnConnectRestart.

func (*GlobalConf) GetRunOnDisconnect

func (s *GlobalConf) GetRunOnDisconnect() OptString

GetRunOnDisconnect returns the value of RunOnDisconnect.

func (*GlobalConf) GetSrt

func (s *GlobalConf) GetSrt() OptBool

GetSrt returns the value of Srt.

func (*GlobalConf) GetSrtAddress

func (s *GlobalConf) GetSrtAddress() OptString

GetSrtAddress returns the value of SrtAddress.

func (*GlobalConf) GetSrtcpAddress

func (s *GlobalConf) GetSrtcpAddress() OptString

GetSrtcpAddress returns the value of SrtcpAddress.

func (*GlobalConf) GetSrtpAddress

func (s *GlobalConf) GetSrtpAddress() OptString

GetSrtpAddress returns the value of SrtpAddress.

func (*GlobalConf) GetSysLogPrefix

func (s *GlobalConf) GetSysLogPrefix() OptString

GetSysLogPrefix returns the value of SysLogPrefix.

func (*GlobalConf) GetUdpMaxPayloadSize

func (s *GlobalConf) GetUdpMaxPayloadSize() OptInt

GetUdpMaxPayloadSize returns the value of UdpMaxPayloadSize.

func (*GlobalConf) GetWebrtc

func (s *GlobalConf) GetWebrtc() OptBool

GetWebrtc returns the value of Webrtc.

func (*GlobalConf) GetWebrtcAdditionalHosts

func (s *GlobalConf) GetWebrtcAdditionalHosts() []string

GetWebrtcAdditionalHosts returns the value of WebrtcAdditionalHosts.

func (*GlobalConf) GetWebrtcAddress

func (s *GlobalConf) GetWebrtcAddress() OptString

GetWebrtcAddress returns the value of WebrtcAddress.

func (*GlobalConf) GetWebrtcAllowOrigin

func (s *GlobalConf) GetWebrtcAllowOrigin() OptString

GetWebrtcAllowOrigin returns the value of WebrtcAllowOrigin.

func (*GlobalConf) GetWebrtcEncryption

func (s *GlobalConf) GetWebrtcEncryption() OptBool

GetWebrtcEncryption returns the value of WebrtcEncryption.

func (*GlobalConf) GetWebrtcHandshakeTimeout

func (s *GlobalConf) GetWebrtcHandshakeTimeout() OptString

GetWebrtcHandshakeTimeout returns the value of WebrtcHandshakeTimeout.

func (*GlobalConf) GetWebrtcICEServers2

func (s *GlobalConf) GetWebrtcICEServers2() []GlobalConfWebrtcICEServers2Item

GetWebrtcICEServers2 returns the value of WebrtcICEServers2.

func (*GlobalConf) GetWebrtcIPsFromInterfaces

func (s *GlobalConf) GetWebrtcIPsFromInterfaces() OptBool

GetWebrtcIPsFromInterfaces returns the value of WebrtcIPsFromInterfaces.

func (*GlobalConf) GetWebrtcIPsFromInterfacesList

func (s *GlobalConf) GetWebrtcIPsFromInterfacesList() []string

GetWebrtcIPsFromInterfacesList returns the value of WebrtcIPsFromInterfacesList.

func (*GlobalConf) GetWebrtcLocalTCPAddress

func (s *GlobalConf) GetWebrtcLocalTCPAddress() OptString

GetWebrtcLocalTCPAddress returns the value of WebrtcLocalTCPAddress.

func (*GlobalConf) GetWebrtcLocalUDPAddress

func (s *GlobalConf) GetWebrtcLocalUDPAddress() OptString

GetWebrtcLocalUDPAddress returns the value of WebrtcLocalUDPAddress.

func (*GlobalConf) GetWebrtcSTUNGatherTimeout

func (s *GlobalConf) GetWebrtcSTUNGatherTimeout() OptString

GetWebrtcSTUNGatherTimeout returns the value of WebrtcSTUNGatherTimeout.

func (*GlobalConf) GetWebrtcServerCert

func (s *GlobalConf) GetWebrtcServerCert() OptString

GetWebrtcServerCert returns the value of WebrtcServerCert.

func (*GlobalConf) GetWebrtcServerKey

func (s *GlobalConf) GetWebrtcServerKey() OptString

GetWebrtcServerKey returns the value of WebrtcServerKey.

func (*GlobalConf) GetWebrtcTrackGatherTimeout

func (s *GlobalConf) GetWebrtcTrackGatherTimeout() OptString

GetWebrtcTrackGatherTimeout returns the value of WebrtcTrackGatherTimeout.

func (*GlobalConf) GetWebrtcTrustedProxies

func (s *GlobalConf) GetWebrtcTrustedProxies() []string

GetWebrtcTrustedProxies returns the value of WebrtcTrustedProxies.

func (*GlobalConf) GetWriteQueueSize

func (s *GlobalConf) GetWriteQueueSize() OptInt

GetWriteQueueSize returns the value of WriteQueueSize.

func (*GlobalConf) GetWriteTimeout

func (s *GlobalConf) GetWriteTimeout() OptString

GetWriteTimeout returns the value of WriteTimeout.

func (*GlobalConf) MarshalJSON

func (s *GlobalConf) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalConf) SetAPI

func (s *GlobalConf) SetAPI(val OptBool)

SetAPI sets the value of API.

func (*GlobalConf) SetApiAddress

func (s *GlobalConf) SetApiAddress(val OptString)

SetApiAddress sets the value of ApiAddress.

func (*GlobalConf) SetApiAllowOrigin

func (s *GlobalConf) SetApiAllowOrigin(val OptString)

SetApiAllowOrigin sets the value of ApiAllowOrigin.

func (*GlobalConf) SetApiEncryption

func (s *GlobalConf) SetApiEncryption(val OptBool)

SetApiEncryption sets the value of ApiEncryption.

func (*GlobalConf) SetApiServerCert

func (s *GlobalConf) SetApiServerCert(val OptString)

SetApiServerCert sets the value of ApiServerCert.

func (*GlobalConf) SetApiServerKey

func (s *GlobalConf) SetApiServerKey(val OptString)

SetApiServerKey sets the value of ApiServerKey.

func (*GlobalConf) SetApiTrustedProxies

func (s *GlobalConf) SetApiTrustedProxies(val []string)

SetApiTrustedProxies sets the value of ApiTrustedProxies.

func (*GlobalConf) SetAuthHTTPAddress

func (s *GlobalConf) SetAuthHTTPAddress(val OptString)

SetAuthHTTPAddress sets the value of AuthHTTPAddress.

func (*GlobalConf) SetAuthHTTPExclude

func (s *GlobalConf) SetAuthHTTPExclude(val []AuthInternalUserPermission)

SetAuthHTTPExclude sets the value of AuthHTTPExclude.

func (*GlobalConf) SetAuthInternalUsers

func (s *GlobalConf) SetAuthInternalUsers(val []AuthInternalUser)

SetAuthInternalUsers sets the value of AuthInternalUsers.

func (*GlobalConf) SetAuthJWTClaimKey

func (s *GlobalConf) SetAuthJWTClaimKey(val OptString)

SetAuthJWTClaimKey sets the value of AuthJWTClaimKey.

func (*GlobalConf) SetAuthJWTExclude

func (s *GlobalConf) SetAuthJWTExclude(val []AuthInternalUserPermission)

SetAuthJWTExclude sets the value of AuthJWTExclude.

func (*GlobalConf) SetAuthJWTInHTTPQuery

func (s *GlobalConf) SetAuthJWTInHTTPQuery(val OptBool)

SetAuthJWTInHTTPQuery sets the value of AuthJWTInHTTPQuery.

func (*GlobalConf) SetAuthJWTJWKS

func (s *GlobalConf) SetAuthJWTJWKS(val OptString)

SetAuthJWTJWKS sets the value of AuthJWTJWKS.

func (*GlobalConf) SetAuthJWTJWKSFingerprint

func (s *GlobalConf) SetAuthJWTJWKSFingerprint(val OptString)

SetAuthJWTJWKSFingerprint sets the value of AuthJWTJWKSFingerprint.

func (*GlobalConf) SetAuthMethod

func (s *GlobalConf) SetAuthMethod(val OptString)

SetAuthMethod sets the value of AuthMethod.

func (*GlobalConf) SetHls

func (s *GlobalConf) SetHls(val OptBool)

SetHls sets the value of Hls.

func (*GlobalConf) SetHlsAddress

func (s *GlobalConf) SetHlsAddress(val OptString)

SetHlsAddress sets the value of HlsAddress.

func (*GlobalConf) SetHlsAllowOrigin

func (s *GlobalConf) SetHlsAllowOrigin(val OptString)

SetHlsAllowOrigin sets the value of HlsAllowOrigin.

func (*GlobalConf) SetHlsAlwaysRemux

func (s *GlobalConf) SetHlsAlwaysRemux(val OptBool)

SetHlsAlwaysRemux sets the value of HlsAlwaysRemux.

func (*GlobalConf) SetHlsDirectory

func (s *GlobalConf) SetHlsDirectory(val OptString)

SetHlsDirectory sets the value of HlsDirectory.

func (*GlobalConf) SetHlsEncryption

func (s *GlobalConf) SetHlsEncryption(val OptBool)

SetHlsEncryption sets the value of HlsEncryption.

func (*GlobalConf) SetHlsMuxerCloseAfter

func (s *GlobalConf) SetHlsMuxerCloseAfter(val OptString)

SetHlsMuxerCloseAfter sets the value of HlsMuxerCloseAfter.

func (*GlobalConf) SetHlsPartDuration

func (s *GlobalConf) SetHlsPartDuration(val OptString)

SetHlsPartDuration sets the value of HlsPartDuration.

func (*GlobalConf) SetHlsSegmentCount

func (s *GlobalConf) SetHlsSegmentCount(val OptInt)

SetHlsSegmentCount sets the value of HlsSegmentCount.

func (*GlobalConf) SetHlsSegmentDuration

func (s *GlobalConf) SetHlsSegmentDuration(val OptString)

SetHlsSegmentDuration sets the value of HlsSegmentDuration.

func (*GlobalConf) SetHlsSegmentMaxSize

func (s *GlobalConf) SetHlsSegmentMaxSize(val OptString)

SetHlsSegmentMaxSize sets the value of HlsSegmentMaxSize.

func (*GlobalConf) SetHlsServerCert

func (s *GlobalConf) SetHlsServerCert(val OptString)

SetHlsServerCert sets the value of HlsServerCert.

func (*GlobalConf) SetHlsServerKey

func (s *GlobalConf) SetHlsServerKey(val OptString)

SetHlsServerKey sets the value of HlsServerKey.

func (*GlobalConf) SetHlsTrustedProxies

func (s *GlobalConf) SetHlsTrustedProxies(val []string)

SetHlsTrustedProxies sets the value of HlsTrustedProxies.

func (*GlobalConf) SetHlsVariant

func (s *GlobalConf) SetHlsVariant(val OptString)

SetHlsVariant sets the value of HlsVariant.

func (*GlobalConf) SetLogDestinations

func (s *GlobalConf) SetLogDestinations(val []string)

SetLogDestinations sets the value of LogDestinations.

func (*GlobalConf) SetLogFile

func (s *GlobalConf) SetLogFile(val OptString)

SetLogFile sets the value of LogFile.

func (*GlobalConf) SetLogLevel

func (s *GlobalConf) SetLogLevel(val OptString)

SetLogLevel sets the value of LogLevel.

func (*GlobalConf) SetMetrics

func (s *GlobalConf) SetMetrics(val OptBool)

SetMetrics sets the value of Metrics.

func (*GlobalConf) SetMetricsAddress

func (s *GlobalConf) SetMetricsAddress(val OptString)

SetMetricsAddress sets the value of MetricsAddress.

func (*GlobalConf) SetMetricsAllowOrigin

func (s *GlobalConf) SetMetricsAllowOrigin(val OptString)

SetMetricsAllowOrigin sets the value of MetricsAllowOrigin.

func (*GlobalConf) SetMetricsEncryption

func (s *GlobalConf) SetMetricsEncryption(val OptBool)

SetMetricsEncryption sets the value of MetricsEncryption.

func (*GlobalConf) SetMetricsServerCert

func (s *GlobalConf) SetMetricsServerCert(val OptString)

SetMetricsServerCert sets the value of MetricsServerCert.

func (*GlobalConf) SetMetricsServerKey

func (s *GlobalConf) SetMetricsServerKey(val OptString)

SetMetricsServerKey sets the value of MetricsServerKey.

func (*GlobalConf) SetMetricsTrustedProxies

func (s *GlobalConf) SetMetricsTrustedProxies(val []string)

SetMetricsTrustedProxies sets the value of MetricsTrustedProxies.

func (*GlobalConf) SetMulticastIPRange

func (s *GlobalConf) SetMulticastIPRange(val OptString)

SetMulticastIPRange sets the value of MulticastIPRange.

func (*GlobalConf) SetMulticastRTCPPort

func (s *GlobalConf) SetMulticastRTCPPort(val OptInt)

SetMulticastRTCPPort sets the value of MulticastRTCPPort.

func (*GlobalConf) SetMulticastRTPPort

func (s *GlobalConf) SetMulticastRTPPort(val OptInt)

SetMulticastRTPPort sets the value of MulticastRTPPort.

func (*GlobalConf) SetMulticastSRTCPPort

func (s *GlobalConf) SetMulticastSRTCPPort(val OptInt)

SetMulticastSRTCPPort sets the value of MulticastSRTCPPort.

func (*GlobalConf) SetMulticastSRTPPort

func (s *GlobalConf) SetMulticastSRTPPort(val OptInt)

SetMulticastSRTPPort sets the value of MulticastSRTPPort.

func (*GlobalConf) SetPlayback

func (s *GlobalConf) SetPlayback(val OptBool)

SetPlayback sets the value of Playback.

func (*GlobalConf) SetPlaybackAddress

func (s *GlobalConf) SetPlaybackAddress(val OptString)

SetPlaybackAddress sets the value of PlaybackAddress.

func (*GlobalConf) SetPlaybackAllowOrigin

func (s *GlobalConf) SetPlaybackAllowOrigin(val OptString)

SetPlaybackAllowOrigin sets the value of PlaybackAllowOrigin.

func (*GlobalConf) SetPlaybackEncryption

func (s *GlobalConf) SetPlaybackEncryption(val OptBool)

SetPlaybackEncryption sets the value of PlaybackEncryption.

func (*GlobalConf) SetPlaybackServerCert

func (s *GlobalConf) SetPlaybackServerCert(val OptString)

SetPlaybackServerCert sets the value of PlaybackServerCert.

func (*GlobalConf) SetPlaybackServerKey

func (s *GlobalConf) SetPlaybackServerKey(val OptString)

SetPlaybackServerKey sets the value of PlaybackServerKey.

func (*GlobalConf) SetPlaybackTrustedProxies

func (s *GlobalConf) SetPlaybackTrustedProxies(val []string)

SetPlaybackTrustedProxies sets the value of PlaybackTrustedProxies.

func (*GlobalConf) SetPprof

func (s *GlobalConf) SetPprof(val OptBool)

SetPprof sets the value of Pprof.

func (*GlobalConf) SetPprofAddress

func (s *GlobalConf) SetPprofAddress(val OptString)

SetPprofAddress sets the value of PprofAddress.

func (*GlobalConf) SetPprofAllowOrigin

func (s *GlobalConf) SetPprofAllowOrigin(val OptString)

SetPprofAllowOrigin sets the value of PprofAllowOrigin.

func (*GlobalConf) SetPprofEncryption

func (s *GlobalConf) SetPprofEncryption(val OptBool)

SetPprofEncryption sets the value of PprofEncryption.

func (*GlobalConf) SetPprofServerCert

func (s *GlobalConf) SetPprofServerCert(val OptString)

SetPprofServerCert sets the value of PprofServerCert.

func (*GlobalConf) SetPprofServerKey

func (s *GlobalConf) SetPprofServerKey(val OptString)

SetPprofServerKey sets the value of PprofServerKey.

func (*GlobalConf) SetPprofTrustedProxies

func (s *GlobalConf) SetPprofTrustedProxies(val []string)

SetPprofTrustedProxies sets the value of PprofTrustedProxies.

func (*GlobalConf) SetReadTimeout

func (s *GlobalConf) SetReadTimeout(val OptString)

SetReadTimeout sets the value of ReadTimeout.

func (*GlobalConf) SetRtcpAddress

func (s *GlobalConf) SetRtcpAddress(val OptString)

SetRtcpAddress sets the value of RtcpAddress.

func (*GlobalConf) SetRtmp

func (s *GlobalConf) SetRtmp(val OptBool)

SetRtmp sets the value of Rtmp.

func (*GlobalConf) SetRtmpAddress

func (s *GlobalConf) SetRtmpAddress(val OptString)

SetRtmpAddress sets the value of RtmpAddress.

func (*GlobalConf) SetRtmpEncryption

func (s *GlobalConf) SetRtmpEncryption(val OptString)

SetRtmpEncryption sets the value of RtmpEncryption.

func (*GlobalConf) SetRtmpServerCert

func (s *GlobalConf) SetRtmpServerCert(val OptString)

SetRtmpServerCert sets the value of RtmpServerCert.

func (*GlobalConf) SetRtmpServerKey

func (s *GlobalConf) SetRtmpServerKey(val OptString)

SetRtmpServerKey sets the value of RtmpServerKey.

func (*GlobalConf) SetRtmpsAddress

func (s *GlobalConf) SetRtmpsAddress(val OptString)

SetRtmpsAddress sets the value of RtmpsAddress.

func (*GlobalConf) SetRtpAddress

func (s *GlobalConf) SetRtpAddress(val OptString)

SetRtpAddress sets the value of RtpAddress.

func (*GlobalConf) SetRtsp

func (s *GlobalConf) SetRtsp(val OptBool)

SetRtsp sets the value of Rtsp.

func (*GlobalConf) SetRtspAddress

func (s *GlobalConf) SetRtspAddress(val OptString)

SetRtspAddress sets the value of RtspAddress.

func (*GlobalConf) SetRtspAuthMethods

func (s *GlobalConf) SetRtspAuthMethods(val []string)

SetRtspAuthMethods sets the value of RtspAuthMethods.

func (*GlobalConf) SetRtspEncryption

func (s *GlobalConf) SetRtspEncryption(val OptString)

SetRtspEncryption sets the value of RtspEncryption.

func (*GlobalConf) SetRtspServerCert

func (s *GlobalConf) SetRtspServerCert(val OptString)

SetRtspServerCert sets the value of RtspServerCert.

func (*GlobalConf) SetRtspServerKey

func (s *GlobalConf) SetRtspServerKey(val OptString)

SetRtspServerKey sets the value of RtspServerKey.

func (*GlobalConf) SetRtspTransports

func (s *GlobalConf) SetRtspTransports(val []string)

SetRtspTransports sets the value of RtspTransports.

func (*GlobalConf) SetRtspsAddress

func (s *GlobalConf) SetRtspsAddress(val OptString)

SetRtspsAddress sets the value of RtspsAddress.

func (*GlobalConf) SetRunOnConnect

func (s *GlobalConf) SetRunOnConnect(val OptString)

SetRunOnConnect sets the value of RunOnConnect.

func (*GlobalConf) SetRunOnConnectRestart

func (s *GlobalConf) SetRunOnConnectRestart(val OptBool)

SetRunOnConnectRestart sets the value of RunOnConnectRestart.

func (*GlobalConf) SetRunOnDisconnect

func (s *GlobalConf) SetRunOnDisconnect(val OptString)

SetRunOnDisconnect sets the value of RunOnDisconnect.

func (*GlobalConf) SetSrt

func (s *GlobalConf) SetSrt(val OptBool)

SetSrt sets the value of Srt.

func (*GlobalConf) SetSrtAddress

func (s *GlobalConf) SetSrtAddress(val OptString)

SetSrtAddress sets the value of SrtAddress.

func (*GlobalConf) SetSrtcpAddress

func (s *GlobalConf) SetSrtcpAddress(val OptString)

SetSrtcpAddress sets the value of SrtcpAddress.

func (*GlobalConf) SetSrtpAddress

func (s *GlobalConf) SetSrtpAddress(val OptString)

SetSrtpAddress sets the value of SrtpAddress.

func (*GlobalConf) SetSysLogPrefix

func (s *GlobalConf) SetSysLogPrefix(val OptString)

SetSysLogPrefix sets the value of SysLogPrefix.

func (*GlobalConf) SetUdpMaxPayloadSize

func (s *GlobalConf) SetUdpMaxPayloadSize(val OptInt)

SetUdpMaxPayloadSize sets the value of UdpMaxPayloadSize.

func (*GlobalConf) SetWebrtc

func (s *GlobalConf) SetWebrtc(val OptBool)

SetWebrtc sets the value of Webrtc.

func (*GlobalConf) SetWebrtcAdditionalHosts

func (s *GlobalConf) SetWebrtcAdditionalHosts(val []string)

SetWebrtcAdditionalHosts sets the value of WebrtcAdditionalHosts.

func (*GlobalConf) SetWebrtcAddress

func (s *GlobalConf) SetWebrtcAddress(val OptString)

SetWebrtcAddress sets the value of WebrtcAddress.

func (*GlobalConf) SetWebrtcAllowOrigin

func (s *GlobalConf) SetWebrtcAllowOrigin(val OptString)

SetWebrtcAllowOrigin sets the value of WebrtcAllowOrigin.

func (*GlobalConf) SetWebrtcEncryption

func (s *GlobalConf) SetWebrtcEncryption(val OptBool)

SetWebrtcEncryption sets the value of WebrtcEncryption.

func (*GlobalConf) SetWebrtcHandshakeTimeout

func (s *GlobalConf) SetWebrtcHandshakeTimeout(val OptString)

SetWebrtcHandshakeTimeout sets the value of WebrtcHandshakeTimeout.

func (*GlobalConf) SetWebrtcICEServers2

func (s *GlobalConf) SetWebrtcICEServers2(val []GlobalConfWebrtcICEServers2Item)

SetWebrtcICEServers2 sets the value of WebrtcICEServers2.

func (*GlobalConf) SetWebrtcIPsFromInterfaces

func (s *GlobalConf) SetWebrtcIPsFromInterfaces(val OptBool)

SetWebrtcIPsFromInterfaces sets the value of WebrtcIPsFromInterfaces.

func (*GlobalConf) SetWebrtcIPsFromInterfacesList

func (s *GlobalConf) SetWebrtcIPsFromInterfacesList(val []string)

SetWebrtcIPsFromInterfacesList sets the value of WebrtcIPsFromInterfacesList.

func (*GlobalConf) SetWebrtcLocalTCPAddress

func (s *GlobalConf) SetWebrtcLocalTCPAddress(val OptString)

SetWebrtcLocalTCPAddress sets the value of WebrtcLocalTCPAddress.

func (*GlobalConf) SetWebrtcLocalUDPAddress

func (s *GlobalConf) SetWebrtcLocalUDPAddress(val OptString)

SetWebrtcLocalUDPAddress sets the value of WebrtcLocalUDPAddress.

func (*GlobalConf) SetWebrtcSTUNGatherTimeout

func (s *GlobalConf) SetWebrtcSTUNGatherTimeout(val OptString)

SetWebrtcSTUNGatherTimeout sets the value of WebrtcSTUNGatherTimeout.

func (*GlobalConf) SetWebrtcServerCert

func (s *GlobalConf) SetWebrtcServerCert(val OptString)

SetWebrtcServerCert sets the value of WebrtcServerCert.

func (*GlobalConf) SetWebrtcServerKey

func (s *GlobalConf) SetWebrtcServerKey(val OptString)

SetWebrtcServerKey sets the value of WebrtcServerKey.

func (*GlobalConf) SetWebrtcTrackGatherTimeout

func (s *GlobalConf) SetWebrtcTrackGatherTimeout(val OptString)

SetWebrtcTrackGatherTimeout sets the value of WebrtcTrackGatherTimeout.

func (*GlobalConf) SetWebrtcTrustedProxies

func (s *GlobalConf) SetWebrtcTrustedProxies(val []string)

SetWebrtcTrustedProxies sets the value of WebrtcTrustedProxies.

func (*GlobalConf) SetWriteQueueSize

func (s *GlobalConf) SetWriteQueueSize(val OptInt)

SetWriteQueueSize sets the value of WriteQueueSize.

func (*GlobalConf) SetWriteTimeout

func (s *GlobalConf) SetWriteTimeout(val OptString)

SetWriteTimeout sets the value of WriteTimeout.

func (*GlobalConf) UnmarshalJSON

func (s *GlobalConf) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GlobalConfWebrtcICEServers2Item

type GlobalConfWebrtcICEServers2Item struct {
	URL        OptString `json:"url"`
	Username   OptString `json:"username"`
	Password   OptString `json:"password"`
	ClientOnly OptBool   `json:"clientOnly"`
}

func (*GlobalConfWebrtcICEServers2Item) Decode

Decode decodes GlobalConfWebrtcICEServers2Item from json.

func (*GlobalConfWebrtcICEServers2Item) Encode

Encode implements json.Marshaler.

func (*GlobalConfWebrtcICEServers2Item) GetClientOnly

func (s *GlobalConfWebrtcICEServers2Item) GetClientOnly() OptBool

GetClientOnly returns the value of ClientOnly.

func (*GlobalConfWebrtcICEServers2Item) GetPassword

func (s *GlobalConfWebrtcICEServers2Item) GetPassword() OptString

GetPassword returns the value of Password.

func (*GlobalConfWebrtcICEServers2Item) GetURL

GetURL returns the value of URL.

func (*GlobalConfWebrtcICEServers2Item) GetUsername

func (s *GlobalConfWebrtcICEServers2Item) GetUsername() OptString

GetUsername returns the value of Username.

func (*GlobalConfWebrtcICEServers2Item) MarshalJSON

func (s *GlobalConfWebrtcICEServers2Item) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalConfWebrtcICEServers2Item) SetClientOnly

func (s *GlobalConfWebrtcICEServers2Item) SetClientOnly(val OptBool)

SetClientOnly sets the value of ClientOnly.

func (*GlobalConfWebrtcICEServers2Item) SetPassword

func (s *GlobalConfWebrtcICEServers2Item) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*GlobalConfWebrtcICEServers2Item) SetURL

SetURL sets the value of URL.

func (*GlobalConfWebrtcICEServers2Item) SetUsername

func (s *GlobalConfWebrtcICEServers2Item) SetUsername(val OptString)

SetUsername sets the value of Username.

func (*GlobalConfWebrtcICEServers2Item) UnmarshalJSON

func (s *GlobalConfWebrtcICEServers2Item) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HLSMuxer

type HLSMuxer struct {
	Path        OptString `json:"path"`
	Created     OptString `json:"created"`
	LastRequest OptString `json:"lastRequest"`
	BytesSent   OptInt64  `json:"bytesSent"`
}

Ref: #/components/schemas/HLSMuxer

func (*HLSMuxer) Decode

func (s *HLSMuxer) Decode(d *jx.Decoder) error

Decode decodes HLSMuxer from json.

func (*HLSMuxer) Encode

func (s *HLSMuxer) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*HLSMuxer) GetBytesSent

func (s *HLSMuxer) GetBytesSent() OptInt64

GetBytesSent returns the value of BytesSent.

func (*HLSMuxer) GetCreated

func (s *HLSMuxer) GetCreated() OptString

GetCreated returns the value of Created.

func (*HLSMuxer) GetLastRequest

func (s *HLSMuxer) GetLastRequest() OptString

GetLastRequest returns the value of LastRequest.

func (*HLSMuxer) GetPath

func (s *HLSMuxer) GetPath() OptString

GetPath returns the value of Path.

func (*HLSMuxer) MarshalJSON

func (s *HLSMuxer) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HLSMuxer) SetBytesSent

func (s *HLSMuxer) SetBytesSent(val OptInt64)

SetBytesSent sets the value of BytesSent.

func (*HLSMuxer) SetCreated

func (s *HLSMuxer) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*HLSMuxer) SetLastRequest

func (s *HLSMuxer) SetLastRequest(val OptString)

SetLastRequest sets the value of LastRequest.

func (*HLSMuxer) SetPath

func (s *HLSMuxer) SetPath(val OptString)

SetPath sets the value of Path.

func (*HLSMuxer) UnmarshalJSON

func (s *HLSMuxer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HLSMuxerList

type HLSMuxerList struct {
	PageCount OptInt     `json:"pageCount"`
	ItemCount OptInt     `json:"itemCount"`
	Items     []HLSMuxer `json:"items"`
}

Ref: #/components/schemas/HLSMuxerList

func (*HLSMuxerList) Decode

func (s *HLSMuxerList) Decode(d *jx.Decoder) error

Decode decodes HLSMuxerList from json.

func (*HLSMuxerList) Encode

func (s *HLSMuxerList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*HLSMuxerList) GetItemCount

func (s *HLSMuxerList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*HLSMuxerList) GetItems

func (s *HLSMuxerList) GetItems() []HLSMuxer

GetItems returns the value of Items.

func (*HLSMuxerList) GetPageCount

func (s *HLSMuxerList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*HLSMuxerList) MarshalJSON

func (s *HLSMuxerList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HLSMuxerList) SetItemCount

func (s *HLSMuxerList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*HLSMuxerList) SetItems

func (s *HLSMuxerList) SetItems(val []HLSMuxer)

SetItems sets the value of Items.

func (*HLSMuxerList) SetPageCount

func (s *HLSMuxerList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*HLSMuxerList) UnmarshalJSON

func (s *HLSMuxerList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HlsMuxersGetBadRequest

type HlsMuxersGetBadRequest Error

func (*HlsMuxersGetBadRequest) Decode

func (s *HlsMuxersGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes HlsMuxersGetBadRequest from json.

func (*HlsMuxersGetBadRequest) Encode

func (s *HlsMuxersGetBadRequest) Encode(e *jx.Encoder)

Encode encodes HlsMuxersGetBadRequest as json.

func (*HlsMuxersGetBadRequest) MarshalJSON

func (s *HlsMuxersGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HlsMuxersGetBadRequest) UnmarshalJSON

func (s *HlsMuxersGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HlsMuxersGetInternalServerError

type HlsMuxersGetInternalServerError Error

func (*HlsMuxersGetInternalServerError) Decode

Decode decodes HlsMuxersGetInternalServerError from json.

func (*HlsMuxersGetInternalServerError) Encode

Encode encodes HlsMuxersGetInternalServerError as json.

func (*HlsMuxersGetInternalServerError) MarshalJSON

func (s *HlsMuxersGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HlsMuxersGetInternalServerError) UnmarshalJSON

func (s *HlsMuxersGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HlsMuxersGetNotFound

type HlsMuxersGetNotFound Error

func (*HlsMuxersGetNotFound) Decode

func (s *HlsMuxersGetNotFound) Decode(d *jx.Decoder) error

Decode decodes HlsMuxersGetNotFound from json.

func (*HlsMuxersGetNotFound) Encode

func (s *HlsMuxersGetNotFound) Encode(e *jx.Encoder)

Encode encodes HlsMuxersGetNotFound as json.

func (*HlsMuxersGetNotFound) MarshalJSON

func (s *HlsMuxersGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HlsMuxersGetNotFound) UnmarshalJSON

func (s *HlsMuxersGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HlsMuxersGetParams

type HlsMuxersGetParams struct {
	// Name of the muxer.
	Name string
}

HlsMuxersGetParams is parameters of hlsMuxersGet operation.

type HlsMuxersGetRes

type HlsMuxersGetRes interface {
	// contains filtered or unexported methods
}

type HlsMuxersListBadRequest

type HlsMuxersListBadRequest Error

func (*HlsMuxersListBadRequest) Decode

func (s *HlsMuxersListBadRequest) Decode(d *jx.Decoder) error

Decode decodes HlsMuxersListBadRequest from json.

func (*HlsMuxersListBadRequest) Encode

func (s *HlsMuxersListBadRequest) Encode(e *jx.Encoder)

Encode encodes HlsMuxersListBadRequest as json.

func (*HlsMuxersListBadRequest) MarshalJSON

func (s *HlsMuxersListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HlsMuxersListBadRequest) UnmarshalJSON

func (s *HlsMuxersListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HlsMuxersListInternalServerError

type HlsMuxersListInternalServerError Error

func (*HlsMuxersListInternalServerError) Decode

Decode decodes HlsMuxersListInternalServerError from json.

func (*HlsMuxersListInternalServerError) Encode

Encode encodes HlsMuxersListInternalServerError as json.

func (*HlsMuxersListInternalServerError) MarshalJSON

func (s *HlsMuxersListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HlsMuxersListInternalServerError) UnmarshalJSON

func (s *HlsMuxersListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type HlsMuxersListParams

type HlsMuxersListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

HlsMuxersListParams is parameters of hlsMuxersList operation.

type HlsMuxersListRes

type HlsMuxersListRes interface {
	// contains filtered or unexported methods
}

type Invoker

type Invoker interface {
	// AuthJwksRefresh invokes authJwksRefresh operation.
	//
	// Manually refreshes the JWT JWKS.
	//
	// POST /v3/auth/jwks/refresh
	AuthJwksRefresh(ctx context.Context) (AuthJwksRefreshRes, error)
	// ConfigGlobalGet invokes configGlobalGet operation.
	//
	// Returns the global configuration.
	//
	// GET /v3/config/global/get
	ConfigGlobalGet(ctx context.Context) (ConfigGlobalGetRes, error)
	// ConfigGlobalSet invokes configGlobalSet operation.
	//
	// All fields are optional.
	//
	// PATCH /v3/config/global/patch
	ConfigGlobalSet(ctx context.Context, request *GlobalConf) (ConfigGlobalSetRes, error)
	// ConfigPathDefaultsGet invokes configPathDefaultsGet operation.
	//
	// Returns the default path configuration.
	//
	// GET /v3/config/pathdefaults/get
	ConfigPathDefaultsGet(ctx context.Context) (ConfigPathDefaultsGetRes, error)
	// ConfigPathDefaultsPatch invokes configPathDefaultsPatch operation.
	//
	// All fields are optional.
	//
	// PATCH /v3/config/pathdefaults/patch
	ConfigPathDefaultsPatch(ctx context.Context, request *PathConf) (ConfigPathDefaultsPatchRes, error)
	// ConfigPathsAdd invokes configPathsAdd operation.
	//
	// All fields are optional.
	//
	// POST /v3/config/paths/add/{name}
	ConfigPathsAdd(ctx context.Context, request *PathConf, params ConfigPathsAddParams) (ConfigPathsAddRes, error)
	// ConfigPathsDelete invokes configPathsDelete operation.
	//
	// Removes a path configuration.
	//
	// DELETE /v3/config/paths/delete/{name}
	ConfigPathsDelete(ctx context.Context, params ConfigPathsDeleteParams) (ConfigPathsDeleteRes, error)
	// ConfigPathsGet invokes configPathsGet operation.
	//
	// Returns a path configuration.
	//
	// GET /v3/config/paths/get/{name}
	ConfigPathsGet(ctx context.Context, params ConfigPathsGetParams) (ConfigPathsGetRes, error)
	// ConfigPathsList invokes configPathsList operation.
	//
	// Returns all path configurations.
	//
	// GET /v3/config/paths/list
	ConfigPathsList(ctx context.Context, params ConfigPathsListParams) (ConfigPathsListRes, error)
	// ConfigPathsPatch invokes configPathsPatch operation.
	//
	// All fields are optional.
	//
	// PATCH /v3/config/paths/patch/{name}
	ConfigPathsPatch(ctx context.Context, request *PathConf, params ConfigPathsPatchParams) (ConfigPathsPatchRes, error)
	// ConfigPathsReplace invokes configPathsReplace operation.
	//
	// All fields are optional.
	//
	// POST /v3/config/paths/replace/{name}
	ConfigPathsReplace(ctx context.Context, request *PathConf, params ConfigPathsReplaceParams) (ConfigPathsReplaceRes, error)
	// HlsMuxersGet invokes hlsMuxersGet operation.
	//
	// Returns a HLS muxer.
	//
	// GET /v3/hlsmuxers/get/{name}
	HlsMuxersGet(ctx context.Context, params HlsMuxersGetParams) (HlsMuxersGetRes, error)
	// HlsMuxersList invokes hlsMuxersList operation.
	//
	// Returns all HLS muxers.
	//
	// GET /v3/hlsmuxers/list
	HlsMuxersList(ctx context.Context, params HlsMuxersListParams) (HlsMuxersListRes, error)
	// PathsGet invokes pathsGet operation.
	//
	// Returns a path.
	//
	// GET /v3/paths/get/{name}
	PathsGet(ctx context.Context, params PathsGetParams) (PathsGetRes, error)
	// PathsList invokes pathsList operation.
	//
	// Returns all paths.
	//
	// GET /v3/paths/list
	PathsList(ctx context.Context, params PathsListParams) (PathsListRes, error)
	// RecordingsDeleteSegment invokes recordingsDeleteSegment operation.
	//
	// Deletes a recording segment.
	//
	// DELETE /v3/recordings/deletesegment
	RecordingsDeleteSegment(ctx context.Context, params RecordingsDeleteSegmentParams) (RecordingsDeleteSegmentRes, error)
	// RecordingsGet invokes recordingsGet operation.
	//
	// Returns recordings for a path.
	//
	// GET /v3/recordings/get/{name}
	RecordingsGet(ctx context.Context, params RecordingsGetParams) (RecordingsGetRes, error)
	// RecordingsList invokes recordingsList operation.
	//
	// Returns all recordings.
	//
	// GET /v3/recordings/list
	RecordingsList(ctx context.Context, params RecordingsListParams) (RecordingsListRes, error)
	// RtmpConnectionsGet invokes rtmpConnectionsGet operation.
	//
	// Returns a RTMP connection.
	//
	// GET /v3/rtmpconns/get/{id}
	RtmpConnectionsGet(ctx context.Context, params RtmpConnectionsGetParams) (RtmpConnectionsGetRes, error)
	// RtmpConnsKick invokes rtmpConnsKick operation.
	//
	// Kicks out a RTMP connection from the server.
	//
	// POST /v3/rtmpconns/kick/{id}
	RtmpConnsKick(ctx context.Context, params RtmpConnsKickParams) (RtmpConnsKickRes, error)
	// RtmpConnsList invokes rtmpConnsList operation.
	//
	// Returns all RTMP connections.
	//
	// GET /v3/rtmpconns/list
	RtmpConnsList(ctx context.Context, params RtmpConnsListParams) (RtmpConnsListRes, error)
	// RtmpsConnectionsGet invokes rtmpsConnectionsGet operation.
	//
	// Returns a RTMPS connection.
	//
	// GET /v3/rtmpsconns/get/{id}
	RtmpsConnectionsGet(ctx context.Context, params RtmpsConnectionsGetParams) (RtmpsConnectionsGetRes, error)
	// RtmpsConnsKick invokes rtmpsConnsKick operation.
	//
	// Kicks out a RTMPS connection from the server.
	//
	// POST /v3/rtmpsconns/kick/{id}
	RtmpsConnsKick(ctx context.Context, params RtmpsConnsKickParams) (RtmpsConnsKickRes, error)
	// RtmpsConnsList invokes rtmpsConnsList operation.
	//
	// Returns all RTMPS connections.
	//
	// GET /v3/rtmpsconns/list
	RtmpsConnsList(ctx context.Context, params RtmpsConnsListParams) (RtmpsConnsListRes, error)
	// RtspConnsGet invokes rtspConnsGet operation.
	//
	// Returns a RTSP connection.
	//
	// GET /v3/rtspconns/get/{id}
	RtspConnsGet(ctx context.Context, params RtspConnsGetParams) (RtspConnsGetRes, error)
	// RtspConnsList invokes rtspConnsList operation.
	//
	// Returns all RTSP connections.
	//
	// GET /v3/rtspconns/list
	RtspConnsList(ctx context.Context, params RtspConnsListParams) (RtspConnsListRes, error)
	// RtspSessionsGet invokes rtspSessionsGet operation.
	//
	// Returns a RTSP session.
	//
	// GET /v3/rtspsessions/get/{id}
	RtspSessionsGet(ctx context.Context, params RtspSessionsGetParams) (RtspSessionsGetRes, error)
	// RtspSessionsKick invokes rtspSessionsKick operation.
	//
	// Kicks out a RTSP session from the server.
	//
	// POST /v3/rtspsessions/kick/{id}
	RtspSessionsKick(ctx context.Context, params RtspSessionsKickParams) (RtspSessionsKickRes, error)
	// RtspSessionsList invokes rtspSessionsList operation.
	//
	// Returns all RTSP sessions.
	//
	// GET /v3/rtspsessions/list
	RtspSessionsList(ctx context.Context, params RtspSessionsListParams) (RtspSessionsListRes, error)
	// RtspsConnsGet invokes rtspsConnsGet operation.
	//
	// Returns a RTSPS connection.
	//
	// GET /v3/rtspsconns/get/{id}
	RtspsConnsGet(ctx context.Context, params RtspsConnsGetParams) (RtspsConnsGetRes, error)
	// RtspsConnsList invokes rtspsConnsList operation.
	//
	// Returns all RTSPS connections.
	//
	// GET /v3/rtspsconns/list
	RtspsConnsList(ctx context.Context, params RtspsConnsListParams) (RtspsConnsListRes, error)
	// RtspsSessionsGet invokes rtspsSessionsGet operation.
	//
	// Returns a RTSPS session.
	//
	// GET /v3/rtspssessions/get/{id}
	RtspsSessionsGet(ctx context.Context, params RtspsSessionsGetParams) (RtspsSessionsGetRes, error)
	// RtspsSessionsKick invokes rtspsSessionsKick operation.
	//
	// Kicks out a RTSPS session from the server.
	//
	// POST /v3/rtspssessions/kick/{id}
	RtspsSessionsKick(ctx context.Context, params RtspsSessionsKickParams) (RtspsSessionsKickRes, error)
	// RtspsSessionsList invokes rtspsSessionsList operation.
	//
	// Returns all RTSPS sessions.
	//
	// GET /v3/rtspssessions/list
	RtspsSessionsList(ctx context.Context, params RtspsSessionsListParams) (RtspsSessionsListRes, error)
	// SrtConnsGet invokes srtConnsGet operation.
	//
	// Returns a SRT connection.
	//
	// GET /v3/srtconns/get/{id}
	SrtConnsGet(ctx context.Context, params SrtConnsGetParams) (SrtConnsGetRes, error)
	// SrtConnsKick invokes srtConnsKick operation.
	//
	// Kicks out a SRT connection from the server.
	//
	// POST /v3/srtconns/kick/{id}
	SrtConnsKick(ctx context.Context, params SrtConnsKickParams) (SrtConnsKickRes, error)
	// SrtConnsList invokes srtConnsList operation.
	//
	// Returns all SRT connections.
	//
	// GET /v3/srtconns/list
	SrtConnsList(ctx context.Context, params SrtConnsListParams) (SrtConnsListRes, error)
	// WebrtcSessionsGet invokes webrtcSessionsGet operation.
	//
	// Returns a WebRTC session.
	//
	// GET /v3/webrtcsessions/get/{id}
	WebrtcSessionsGet(ctx context.Context, params WebrtcSessionsGetParams) (WebrtcSessionsGetRes, error)
	// WebrtcSessionsKick invokes webrtcSessionsKick operation.
	//
	// Kicks out a WebRTC session from the server.
	//
	// POST /v3/webrtcsessions/kick/{id}
	WebrtcSessionsKick(ctx context.Context, params WebrtcSessionsKickParams) (WebrtcSessionsKickRes, error)
	// WebrtcSessionsList invokes webrtcSessionsList operation.
	//
	// Returns all WebRTC sessions.
	//
	// GET /v3/webrtcsessions/list
	WebrtcSessionsList(ctx context.Context, params WebrtcSessionsListParams) (WebrtcSessionsListRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	AuthJwksRefreshOperation         OperationName = "AuthJwksRefresh"
	ConfigGlobalGetOperation         OperationName = "ConfigGlobalGet"
	ConfigGlobalSetOperation         OperationName = "ConfigGlobalSet"
	ConfigPathDefaultsGetOperation   OperationName = "ConfigPathDefaultsGet"
	ConfigPathDefaultsPatchOperation OperationName = "ConfigPathDefaultsPatch"
	ConfigPathsAddOperation          OperationName = "ConfigPathsAdd"
	ConfigPathsDeleteOperation       OperationName = "ConfigPathsDelete"
	ConfigPathsGetOperation          OperationName = "ConfigPathsGet"
	ConfigPathsListOperation         OperationName = "ConfigPathsList"
	ConfigPathsPatchOperation        OperationName = "ConfigPathsPatch"
	ConfigPathsReplaceOperation      OperationName = "ConfigPathsReplace"
	HlsMuxersGetOperation            OperationName = "HlsMuxersGet"
	HlsMuxersListOperation           OperationName = "HlsMuxersList"
	PathsGetOperation                OperationName = "PathsGet"
	PathsListOperation               OperationName = "PathsList"
	RecordingsDeleteSegmentOperation OperationName = "RecordingsDeleteSegment"
	RecordingsGetOperation           OperationName = "RecordingsGet"
	RecordingsListOperation          OperationName = "RecordingsList"
	RtmpConnectionsGetOperation      OperationName = "RtmpConnectionsGet"
	RtmpConnsKickOperation           OperationName = "RtmpConnsKick"
	RtmpConnsListOperation           OperationName = "RtmpConnsList"
	RtmpsConnectionsGetOperation     OperationName = "RtmpsConnectionsGet"
	RtmpsConnsKickOperation          OperationName = "RtmpsConnsKick"
	RtmpsConnsListOperation          OperationName = "RtmpsConnsList"
	RtspConnsGetOperation            OperationName = "RtspConnsGet"
	RtspConnsListOperation           OperationName = "RtspConnsList"
	RtspSessionsGetOperation         OperationName = "RtspSessionsGet"
	RtspSessionsKickOperation        OperationName = "RtspSessionsKick"
	RtspSessionsListOperation        OperationName = "RtspSessionsList"
	RtspsConnsGetOperation           OperationName = "RtspsConnsGet"
	RtspsConnsListOperation          OperationName = "RtspsConnsList"
	RtspsSessionsGetOperation        OperationName = "RtspsSessionsGet"
	RtspsSessionsKickOperation       OperationName = "RtspsSessionsKick"
	RtspsSessionsListOperation       OperationName = "RtspsSessionsList"
	SrtConnsGetOperation             OperationName = "SrtConnsGet"
	SrtConnsKickOperation            OperationName = "SrtConnsKick"
	SrtConnsListOperation            OperationName = "SrtConnsList"
	WebrtcSessionsGetOperation       OperationName = "WebrtcSessionsGet"
	WebrtcSessionsKickOperation      OperationName = "WebrtcSessionsKick"
	WebrtcSessionsListOperation      OperationName = "WebrtcSessionsList"
)

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt64

type OptInt64 struct {
	Value int64
	Set   bool
}

OptInt64 is optional int64.

func NewOptInt64

func NewOptInt64(v int64) OptInt64

NewOptInt64 returns new OptInt64 with value set to v.

func (*OptInt64) Decode

func (o *OptInt64) Decode(d *jx.Decoder) error

Decode decodes int64 from json.

func (OptInt64) Encode

func (o OptInt64) Encode(e *jx.Encoder)

Encode encodes int64 as json.

func (OptInt64) Get

func (o OptInt64) Get() (v int64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt64) IsSet

func (o OptInt64) IsSet() bool

IsSet returns true if OptInt64 was set.

func (OptInt64) MarshalJSON

func (s OptInt64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt64) Or

func (o OptInt64) Or(d int64) int64

Or returns value if set, or given parameter if does not.

func (*OptInt64) Reset

func (o *OptInt64) Reset()

Reset unsets value.

func (*OptInt64) SetTo

func (o *OptInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptInt64) UnmarshalJSON

func (s *OptInt64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilString

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilString

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func (*OptNilString) Decode

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull

func (o OptNilString) IsNull() bool

IsNull returns true if value is Null.

func (OptNilString) IsSet

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetToNull sets value to null.

func (*OptNilString) UnmarshalJSON

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPathReaderType

type OptPathReaderType struct {
	Value PathReaderType
	Set   bool
}

OptPathReaderType is optional PathReaderType.

func NewOptPathReaderType

func NewOptPathReaderType(v PathReaderType) OptPathReaderType

NewOptPathReaderType returns new OptPathReaderType with value set to v.

func (*OptPathReaderType) Decode

func (o *OptPathReaderType) Decode(d *jx.Decoder) error

Decode decodes PathReaderType from json.

func (OptPathReaderType) Encode

func (o OptPathReaderType) Encode(e *jx.Encoder)

Encode encodes PathReaderType as json.

func (OptPathReaderType) Get

func (o OptPathReaderType) Get() (v PathReaderType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPathReaderType) IsSet

func (o OptPathReaderType) IsSet() bool

IsSet returns true if OptPathReaderType was set.

func (OptPathReaderType) MarshalJSON

func (s OptPathReaderType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPathReaderType) Or

Or returns value if set, or given parameter if does not.

func (*OptPathReaderType) Reset

func (o *OptPathReaderType) Reset()

Reset unsets value.

func (*OptPathReaderType) SetTo

func (o *OptPathReaderType) SetTo(v PathReaderType)

SetTo sets value to v.

func (*OptPathReaderType) UnmarshalJSON

func (s *OptPathReaderType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPathSource

type OptPathSource struct {
	Value PathSource
	Set   bool
}

OptPathSource is optional PathSource.

func NewOptPathSource

func NewOptPathSource(v PathSource) OptPathSource

NewOptPathSource returns new OptPathSource with value set to v.

func (*OptPathSource) Decode

func (o *OptPathSource) Decode(d *jx.Decoder) error

Decode decodes PathSource from json.

func (OptPathSource) Encode

func (o OptPathSource) Encode(e *jx.Encoder)

Encode encodes PathSource as json.

func (OptPathSource) Get

func (o OptPathSource) Get() (v PathSource, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPathSource) IsSet

func (o OptPathSource) IsSet() bool

IsSet returns true if OptPathSource was set.

func (OptPathSource) MarshalJSON

func (s OptPathSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPathSource) Or

Or returns value if set, or given parameter if does not.

func (*OptPathSource) Reset

func (o *OptPathSource) Reset()

Reset unsets value.

func (*OptPathSource) SetTo

func (o *OptPathSource) SetTo(v PathSource)

SetTo sets value to v.

func (*OptPathSource) UnmarshalJSON

func (s *OptPathSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPathSourceType

type OptPathSourceType struct {
	Value PathSourceType
	Set   bool
}

OptPathSourceType is optional PathSourceType.

func NewOptPathSourceType

func NewOptPathSourceType(v PathSourceType) OptPathSourceType

NewOptPathSourceType returns new OptPathSourceType with value set to v.

func (*OptPathSourceType) Decode

func (o *OptPathSourceType) Decode(d *jx.Decoder) error

Decode decodes PathSourceType from json.

func (OptPathSourceType) Encode

func (o OptPathSourceType) Encode(e *jx.Encoder)

Encode encodes PathSourceType as json.

func (OptPathSourceType) Get

func (o OptPathSourceType) Get() (v PathSourceType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPathSourceType) IsSet

func (o OptPathSourceType) IsSet() bool

IsSet returns true if OptPathSourceType was set.

func (OptPathSourceType) MarshalJSON

func (s OptPathSourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPathSourceType) Or

Or returns value if set, or given parameter if does not.

func (*OptPathSourceType) Reset

func (o *OptPathSourceType) Reset()

Reset unsets value.

func (*OptPathSourceType) SetTo

func (o *OptPathSourceType) SetTo(v PathSourceType)

SetTo sets value to v.

func (*OptPathSourceType) UnmarshalJSON

func (s *OptPathSourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRTMPConnState

type OptRTMPConnState struct {
	Value RTMPConnState
	Set   bool
}

OptRTMPConnState is optional RTMPConnState.

func NewOptRTMPConnState

func NewOptRTMPConnState(v RTMPConnState) OptRTMPConnState

NewOptRTMPConnState returns new OptRTMPConnState with value set to v.

func (*OptRTMPConnState) Decode

func (o *OptRTMPConnState) Decode(d *jx.Decoder) error

Decode decodes RTMPConnState from json.

func (OptRTMPConnState) Encode

func (o OptRTMPConnState) Encode(e *jx.Encoder)

Encode encodes RTMPConnState as json.

func (OptRTMPConnState) Get

func (o OptRTMPConnState) Get() (v RTMPConnState, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRTMPConnState) IsSet

func (o OptRTMPConnState) IsSet() bool

IsSet returns true if OptRTMPConnState was set.

func (OptRTMPConnState) MarshalJSON

func (s OptRTMPConnState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRTMPConnState) Or

Or returns value if set, or given parameter if does not.

func (*OptRTMPConnState) Reset

func (o *OptRTMPConnState) Reset()

Reset unsets value.

func (*OptRTMPConnState) SetTo

func (o *OptRTMPConnState) SetTo(v RTMPConnState)

SetTo sets value to v.

func (*OptRTMPConnState) UnmarshalJSON

func (s *OptRTMPConnState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRTSPSessionState

type OptRTSPSessionState struct {
	Value RTSPSessionState
	Set   bool
}

OptRTSPSessionState is optional RTSPSessionState.

func NewOptRTSPSessionState

func NewOptRTSPSessionState(v RTSPSessionState) OptRTSPSessionState

NewOptRTSPSessionState returns new OptRTSPSessionState with value set to v.

func (*OptRTSPSessionState) Decode

func (o *OptRTSPSessionState) Decode(d *jx.Decoder) error

Decode decodes RTSPSessionState from json.

func (OptRTSPSessionState) Encode

func (o OptRTSPSessionState) Encode(e *jx.Encoder)

Encode encodes RTSPSessionState as json.

func (OptRTSPSessionState) Get

func (o OptRTSPSessionState) Get() (v RTSPSessionState, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRTSPSessionState) IsSet

func (o OptRTSPSessionState) IsSet() bool

IsSet returns true if OptRTSPSessionState was set.

func (OptRTSPSessionState) MarshalJSON

func (s OptRTSPSessionState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRTSPSessionState) Or

Or returns value if set, or given parameter if does not.

func (*OptRTSPSessionState) Reset

func (o *OptRTSPSessionState) Reset()

Reset unsets value.

func (*OptRTSPSessionState) SetTo

SetTo sets value to v.

func (*OptRTSPSessionState) UnmarshalJSON

func (s *OptRTSPSessionState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSRTConnState

type OptSRTConnState struct {
	Value SRTConnState
	Set   bool
}

OptSRTConnState is optional SRTConnState.

func NewOptSRTConnState

func NewOptSRTConnState(v SRTConnState) OptSRTConnState

NewOptSRTConnState returns new OptSRTConnState with value set to v.

func (*OptSRTConnState) Decode

func (o *OptSRTConnState) Decode(d *jx.Decoder) error

Decode decodes SRTConnState from json.

func (OptSRTConnState) Encode

func (o OptSRTConnState) Encode(e *jx.Encoder)

Encode encodes SRTConnState as json.

func (OptSRTConnState) Get

func (o OptSRTConnState) Get() (v SRTConnState, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSRTConnState) IsSet

func (o OptSRTConnState) IsSet() bool

IsSet returns true if OptSRTConnState was set.

func (OptSRTConnState) MarshalJSON

func (s OptSRTConnState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSRTConnState) Or

Or returns value if set, or given parameter if does not.

func (*OptSRTConnState) Reset

func (o *OptSRTConnState) Reset()

Reset unsets value.

func (*OptSRTConnState) SetTo

func (o *OptSRTConnState) SetTo(v SRTConnState)

SetTo sets value to v.

func (*OptSRTConnState) UnmarshalJSON

func (s *OptSRTConnState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWebRTCSessionState

type OptWebRTCSessionState struct {
	Value WebRTCSessionState
	Set   bool
}

OptWebRTCSessionState is optional WebRTCSessionState.

func NewOptWebRTCSessionState

func NewOptWebRTCSessionState(v WebRTCSessionState) OptWebRTCSessionState

NewOptWebRTCSessionState returns new OptWebRTCSessionState with value set to v.

func (*OptWebRTCSessionState) Decode

func (o *OptWebRTCSessionState) Decode(d *jx.Decoder) error

Decode decodes WebRTCSessionState from json.

func (OptWebRTCSessionState) Encode

func (o OptWebRTCSessionState) Encode(e *jx.Encoder)

Encode encodes WebRTCSessionState as json.

func (OptWebRTCSessionState) Get

Get returns value and boolean that denotes whether value was set.

func (OptWebRTCSessionState) IsSet

func (o OptWebRTCSessionState) IsSet() bool

IsSet returns true if OptWebRTCSessionState was set.

func (OptWebRTCSessionState) MarshalJSON

func (s OptWebRTCSessionState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWebRTCSessionState) Or

Or returns value if set, or given parameter if does not.

func (*OptWebRTCSessionState) Reset

func (o *OptWebRTCSessionState) Reset()

Reset unsets value.

func (*OptWebRTCSessionState) SetTo

SetTo sets value to v.

func (*OptWebRTCSessionState) UnmarshalJSON

func (s *OptWebRTCSessionState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ClientOption
}

Option is config option.

type Path

type Path struct {
	Name          OptString     `json:"name"`
	ConfName      OptString     `json:"confName"`
	Source        OptPathSource `json:"source"`
	Ready         OptBool       `json:"ready"`
	ReadyTime     OptNilString  `json:"readyTime"`
	Tracks        []string      `json:"tracks"`
	BytesReceived OptInt64      `json:"bytesReceived"`
	BytesSent     OptInt64      `json:"bytesSent"`
	Readers       []PathReader  `json:"readers"`
}

Ref: #/components/schemas/Path

func (*Path) Decode

func (s *Path) Decode(d *jx.Decoder) error

Decode decodes Path from json.

func (*Path) Encode

func (s *Path) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Path) GetBytesReceived

func (s *Path) GetBytesReceived() OptInt64

GetBytesReceived returns the value of BytesReceived.

func (*Path) GetBytesSent

func (s *Path) GetBytesSent() OptInt64

GetBytesSent returns the value of BytesSent.

func (*Path) GetConfName

func (s *Path) GetConfName() OptString

GetConfName returns the value of ConfName.

func (*Path) GetName

func (s *Path) GetName() OptString

GetName returns the value of Name.

func (*Path) GetReaders

func (s *Path) GetReaders() []PathReader

GetReaders returns the value of Readers.

func (*Path) GetReady

func (s *Path) GetReady() OptBool

GetReady returns the value of Ready.

func (*Path) GetReadyTime

func (s *Path) GetReadyTime() OptNilString

GetReadyTime returns the value of ReadyTime.

func (*Path) GetSource

func (s *Path) GetSource() OptPathSource

GetSource returns the value of Source.

func (*Path) GetTracks

func (s *Path) GetTracks() []string

GetTracks returns the value of Tracks.

func (*Path) MarshalJSON

func (s *Path) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Path) SetBytesReceived

func (s *Path) SetBytesReceived(val OptInt64)

SetBytesReceived sets the value of BytesReceived.

func (*Path) SetBytesSent

func (s *Path) SetBytesSent(val OptInt64)

SetBytesSent sets the value of BytesSent.

func (*Path) SetConfName

func (s *Path) SetConfName(val OptString)

SetConfName sets the value of ConfName.

func (*Path) SetName

func (s *Path) SetName(val OptString)

SetName sets the value of Name.

func (*Path) SetReaders

func (s *Path) SetReaders(val []PathReader)

SetReaders sets the value of Readers.

func (*Path) SetReady

func (s *Path) SetReady(val OptBool)

SetReady sets the value of Ready.

func (*Path) SetReadyTime

func (s *Path) SetReadyTime(val OptNilString)

SetReadyTime sets the value of ReadyTime.

func (*Path) SetSource

func (s *Path) SetSource(val OptPathSource)

SetSource sets the value of Source.

func (*Path) SetTracks

func (s *Path) SetTracks(val []string)

SetTracks sets the value of Tracks.

func (*Path) UnmarshalJSON

func (s *Path) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Path) Validate

func (s *Path) Validate() error

type PathConf

type PathConf struct {
	Name                       OptString  `json:"name"`
	Source                     OptString  `json:"source"`
	SourceFingerprint          OptString  `json:"sourceFingerprint"`
	SourceOnDemand             OptBool    `json:"sourceOnDemand"`
	SourceOnDemandStartTimeout OptString  `json:"sourceOnDemandStartTimeout"`
	SourceOnDemandCloseAfter   OptString  `json:"sourceOnDemandCloseAfter"`
	MaxReaders                 OptInt     `json:"maxReaders"`
	SrtReadPassphrase          OptString  `json:"srtReadPassphrase"`
	Fallback                   OptString  `json:"fallback"`
	UseAbsoluteTimestamp       OptBool    `json:"useAbsoluteTimestamp"`
	Record                     OptBool    `json:"record"`
	RecordPath                 OptString  `json:"recordPath"`
	RecordFormat               OptString  `json:"recordFormat"`
	RecordPartDuration         OptString  `json:"recordPartDuration"`
	RecordSegmentDuration      OptString  `json:"recordSegmentDuration"`
	RecordDeleteAfter          OptString  `json:"recordDeleteAfter"`
	OverridePublisher          OptBool    `json:"overridePublisher"`
	SrtPublishPassphrase       OptString  `json:"srtPublishPassphrase"`
	RtspTransport              OptString  `json:"rtspTransport"`
	RtspAnyPort                OptBool    `json:"rtspAnyPort"`
	RtspRangeType              OptString  `json:"rtspRangeType"`
	RtspRangeStart             OptString  `json:"rtspRangeStart"`
	SourceRedirect             OptString  `json:"sourceRedirect"`
	RpiCameraCamID             OptInt     `json:"rpiCameraCamID"`
	RpiCameraSecondary         OptBool    `json:"rpiCameraSecondary"`
	RpiCameraWidth             OptInt     `json:"rpiCameraWidth"`
	RpiCameraHeight            OptInt     `json:"rpiCameraHeight"`
	RpiCameraHFlip             OptBool    `json:"rpiCameraHFlip"`
	RpiCameraVFlip             OptBool    `json:"rpiCameraVFlip"`
	RpiCameraBrightness        OptFloat64 `json:"rpiCameraBrightness"`
	RpiCameraContrast          OptFloat64 `json:"rpiCameraContrast"`
	RpiCameraSaturation        OptFloat64 `json:"rpiCameraSaturation"`
	RpiCameraSharpness         OptFloat64 `json:"rpiCameraSharpness"`
	RpiCameraExposure          OptString  `json:"rpiCameraExposure"`
	RpiCameraAWB               OptString  `json:"rpiCameraAWB"`
	RpiCameraAWBGains          []float64  `json:"rpiCameraAWBGains"`
	RpiCameraDenoise           OptString  `json:"rpiCameraDenoise"`
	RpiCameraShutter           OptInt     `json:"rpiCameraShutter"`
	RpiCameraMetering          OptString  `json:"rpiCameraMetering"`
	RpiCameraGain              OptFloat64 `json:"rpiCameraGain"`
	RpiCameraEV                OptFloat64 `json:"rpiCameraEV"`
	RpiCameraROI               OptString  `json:"rpiCameraROI"`
	RpiCameraHDR               OptBool    `json:"rpiCameraHDR"`
	RpiCameraTuningFile        OptString  `json:"rpiCameraTuningFile"`
	RpiCameraMode              OptString  `json:"rpiCameraMode"`
	RpiCameraFPS               OptFloat64 `json:"rpiCameraFPS"`
	RpiCameraAfMode            OptString  `json:"rpiCameraAfMode"`
	RpiCameraAfRange           OptString  `json:"rpiCameraAfRange"`
	RpiCameraAfSpeed           OptString  `json:"rpiCameraAfSpeed"`
	RpiCameraLensPosition      OptFloat64 `json:"rpiCameraLensPosition"`
	RpiCameraAfWindow          OptString  `json:"rpiCameraAfWindow"`
	RpiCameraFlickerPeriod     OptInt     `json:"rpiCameraFlickerPeriod"`
	RpiCameraTextOverlayEnable OptBool    `json:"rpiCameraTextOverlayEnable"`
	RpiCameraTextOverlay       OptString  `json:"rpiCameraTextOverlay"`
	RpiCameraCodec             OptString  `json:"rpiCameraCodec"`
	RpiCameraIDRPeriod         OptInt     `json:"rpiCameraIDRPeriod"`
	RpiCameraBitrate           OptInt     `json:"rpiCameraBitrate"`
	RpiCameraProfile           OptString  `json:"rpiCameraProfile"`
	RpiCameraLevel             OptString  `json:"rpiCameraLevel"`
	RpiCameraJPEGQuality       OptInt     `json:"rpiCameraJPEGQuality"`
	RunOnInit                  OptString  `json:"runOnInit"`
	RunOnInitRestart           OptBool    `json:"runOnInitRestart"`
	RunOnDemand                OptString  `json:"runOnDemand"`
	RunOnDemandRestart         OptBool    `json:"runOnDemandRestart"`
	RunOnDemandStartTimeout    OptString  `json:"runOnDemandStartTimeout"`
	RunOnDemandCloseAfter      OptString  `json:"runOnDemandCloseAfter"`
	RunOnUnDemand              OptString  `json:"runOnUnDemand"`
	RunOnReady                 OptString  `json:"runOnReady"`
	RunOnReadyRestart          OptBool    `json:"runOnReadyRestart"`
	RunOnNotReady              OptString  `json:"runOnNotReady"`
	RunOnRead                  OptString  `json:"runOnRead"`
	RunOnReadRestart           OptBool    `json:"runOnReadRestart"`
	RunOnUnread                OptString  `json:"runOnUnread"`
	RunOnRecordSegmentCreate   OptString  `json:"runOnRecordSegmentCreate"`
	RunOnRecordSegmentComplete OptString  `json:"runOnRecordSegmentComplete"`
}

Ref: #/components/schemas/PathConf

func (*PathConf) Decode

func (s *PathConf) Decode(d *jx.Decoder) error

Decode decodes PathConf from json.

func (*PathConf) Encode

func (s *PathConf) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PathConf) GetFallback

func (s *PathConf) GetFallback() OptString

GetFallback returns the value of Fallback.

func (*PathConf) GetMaxReaders

func (s *PathConf) GetMaxReaders() OptInt

GetMaxReaders returns the value of MaxReaders.

func (*PathConf) GetName

func (s *PathConf) GetName() OptString

GetName returns the value of Name.

func (*PathConf) GetOverridePublisher

func (s *PathConf) GetOverridePublisher() OptBool

GetOverridePublisher returns the value of OverridePublisher.

func (*PathConf) GetRecord

func (s *PathConf) GetRecord() OptBool

GetRecord returns the value of Record.

func (*PathConf) GetRecordDeleteAfter

func (s *PathConf) GetRecordDeleteAfter() OptString

GetRecordDeleteAfter returns the value of RecordDeleteAfter.

func (*PathConf) GetRecordFormat

func (s *PathConf) GetRecordFormat() OptString

GetRecordFormat returns the value of RecordFormat.

func (*PathConf) GetRecordPartDuration

func (s *PathConf) GetRecordPartDuration() OptString

GetRecordPartDuration returns the value of RecordPartDuration.

func (*PathConf) GetRecordPath

func (s *PathConf) GetRecordPath() OptString

GetRecordPath returns the value of RecordPath.

func (*PathConf) GetRecordSegmentDuration

func (s *PathConf) GetRecordSegmentDuration() OptString

GetRecordSegmentDuration returns the value of RecordSegmentDuration.

func (*PathConf) GetRpiCameraAWB

func (s *PathConf) GetRpiCameraAWB() OptString

GetRpiCameraAWB returns the value of RpiCameraAWB.

func (*PathConf) GetRpiCameraAWBGains

func (s *PathConf) GetRpiCameraAWBGains() []float64

GetRpiCameraAWBGains returns the value of RpiCameraAWBGains.

func (*PathConf) GetRpiCameraAfMode

func (s *PathConf) GetRpiCameraAfMode() OptString

GetRpiCameraAfMode returns the value of RpiCameraAfMode.

func (*PathConf) GetRpiCameraAfRange

func (s *PathConf) GetRpiCameraAfRange() OptString

GetRpiCameraAfRange returns the value of RpiCameraAfRange.

func (*PathConf) GetRpiCameraAfSpeed

func (s *PathConf) GetRpiCameraAfSpeed() OptString

GetRpiCameraAfSpeed returns the value of RpiCameraAfSpeed.

func (*PathConf) GetRpiCameraAfWindow

func (s *PathConf) GetRpiCameraAfWindow() OptString

GetRpiCameraAfWindow returns the value of RpiCameraAfWindow.

func (*PathConf) GetRpiCameraBitrate

func (s *PathConf) GetRpiCameraBitrate() OptInt

GetRpiCameraBitrate returns the value of RpiCameraBitrate.

func (*PathConf) GetRpiCameraBrightness

func (s *PathConf) GetRpiCameraBrightness() OptFloat64

GetRpiCameraBrightness returns the value of RpiCameraBrightness.

func (*PathConf) GetRpiCameraCamID

func (s *PathConf) GetRpiCameraCamID() OptInt

GetRpiCameraCamID returns the value of RpiCameraCamID.

func (*PathConf) GetRpiCameraCodec

func (s *PathConf) GetRpiCameraCodec() OptString

GetRpiCameraCodec returns the value of RpiCameraCodec.

func (*PathConf) GetRpiCameraContrast

func (s *PathConf) GetRpiCameraContrast() OptFloat64

GetRpiCameraContrast returns the value of RpiCameraContrast.

func (*PathConf) GetRpiCameraDenoise

func (s *PathConf) GetRpiCameraDenoise() OptString

GetRpiCameraDenoise returns the value of RpiCameraDenoise.

func (*PathConf) GetRpiCameraEV

func (s *PathConf) GetRpiCameraEV() OptFloat64

GetRpiCameraEV returns the value of RpiCameraEV.

func (*PathConf) GetRpiCameraExposure

func (s *PathConf) GetRpiCameraExposure() OptString

GetRpiCameraExposure returns the value of RpiCameraExposure.

func (*PathConf) GetRpiCameraFPS

func (s *PathConf) GetRpiCameraFPS() OptFloat64

GetRpiCameraFPS returns the value of RpiCameraFPS.

func (*PathConf) GetRpiCameraFlickerPeriod

func (s *PathConf) GetRpiCameraFlickerPeriod() OptInt

GetRpiCameraFlickerPeriod returns the value of RpiCameraFlickerPeriod.

func (*PathConf) GetRpiCameraGain

func (s *PathConf) GetRpiCameraGain() OptFloat64

GetRpiCameraGain returns the value of RpiCameraGain.

func (*PathConf) GetRpiCameraHDR

func (s *PathConf) GetRpiCameraHDR() OptBool

GetRpiCameraHDR returns the value of RpiCameraHDR.

func (*PathConf) GetRpiCameraHFlip

func (s *PathConf) GetRpiCameraHFlip() OptBool

GetRpiCameraHFlip returns the value of RpiCameraHFlip.

func (*PathConf) GetRpiCameraHeight

func (s *PathConf) GetRpiCameraHeight() OptInt

GetRpiCameraHeight returns the value of RpiCameraHeight.

func (*PathConf) GetRpiCameraIDRPeriod

func (s *PathConf) GetRpiCameraIDRPeriod() OptInt

GetRpiCameraIDRPeriod returns the value of RpiCameraIDRPeriod.

func (*PathConf) GetRpiCameraJPEGQuality

func (s *PathConf) GetRpiCameraJPEGQuality() OptInt

GetRpiCameraJPEGQuality returns the value of RpiCameraJPEGQuality.

func (*PathConf) GetRpiCameraLensPosition

func (s *PathConf) GetRpiCameraLensPosition() OptFloat64

GetRpiCameraLensPosition returns the value of RpiCameraLensPosition.

func (*PathConf) GetRpiCameraLevel

func (s *PathConf) GetRpiCameraLevel() OptString

GetRpiCameraLevel returns the value of RpiCameraLevel.

func (*PathConf) GetRpiCameraMetering

func (s *PathConf) GetRpiCameraMetering() OptString

GetRpiCameraMetering returns the value of RpiCameraMetering.

func (*PathConf) GetRpiCameraMode

func (s *PathConf) GetRpiCameraMode() OptString

GetRpiCameraMode returns the value of RpiCameraMode.

func (*PathConf) GetRpiCameraProfile

func (s *PathConf) GetRpiCameraProfile() OptString

GetRpiCameraProfile returns the value of RpiCameraProfile.

func (*PathConf) GetRpiCameraROI

func (s *PathConf) GetRpiCameraROI() OptString

GetRpiCameraROI returns the value of RpiCameraROI.

func (*PathConf) GetRpiCameraSaturation

func (s *PathConf) GetRpiCameraSaturation() OptFloat64

GetRpiCameraSaturation returns the value of RpiCameraSaturation.

func (*PathConf) GetRpiCameraSecondary

func (s *PathConf) GetRpiCameraSecondary() OptBool

GetRpiCameraSecondary returns the value of RpiCameraSecondary.

func (*PathConf) GetRpiCameraSharpness

func (s *PathConf) GetRpiCameraSharpness() OptFloat64

GetRpiCameraSharpness returns the value of RpiCameraSharpness.

func (*PathConf) GetRpiCameraShutter

func (s *PathConf) GetRpiCameraShutter() OptInt

GetRpiCameraShutter returns the value of RpiCameraShutter.

func (*PathConf) GetRpiCameraTextOverlay

func (s *PathConf) GetRpiCameraTextOverlay() OptString

GetRpiCameraTextOverlay returns the value of RpiCameraTextOverlay.

func (*PathConf) GetRpiCameraTextOverlayEnable

func (s *PathConf) GetRpiCameraTextOverlayEnable() OptBool

GetRpiCameraTextOverlayEnable returns the value of RpiCameraTextOverlayEnable.

func (*PathConf) GetRpiCameraTuningFile

func (s *PathConf) GetRpiCameraTuningFile() OptString

GetRpiCameraTuningFile returns the value of RpiCameraTuningFile.

func (*PathConf) GetRpiCameraVFlip

func (s *PathConf) GetRpiCameraVFlip() OptBool

GetRpiCameraVFlip returns the value of RpiCameraVFlip.

func (*PathConf) GetRpiCameraWidth

func (s *PathConf) GetRpiCameraWidth() OptInt

GetRpiCameraWidth returns the value of RpiCameraWidth.

func (*PathConf) GetRtspAnyPort

func (s *PathConf) GetRtspAnyPort() OptBool

GetRtspAnyPort returns the value of RtspAnyPort.

func (*PathConf) GetRtspRangeStart

func (s *PathConf) GetRtspRangeStart() OptString

GetRtspRangeStart returns the value of RtspRangeStart.

func (*PathConf) GetRtspRangeType

func (s *PathConf) GetRtspRangeType() OptString

GetRtspRangeType returns the value of RtspRangeType.

func (*PathConf) GetRtspTransport

func (s *PathConf) GetRtspTransport() OptString

GetRtspTransport returns the value of RtspTransport.

func (*PathConf) GetRunOnDemand

func (s *PathConf) GetRunOnDemand() OptString

GetRunOnDemand returns the value of RunOnDemand.

func (*PathConf) GetRunOnDemandCloseAfter

func (s *PathConf) GetRunOnDemandCloseAfter() OptString

GetRunOnDemandCloseAfter returns the value of RunOnDemandCloseAfter.

func (*PathConf) GetRunOnDemandRestart

func (s *PathConf) GetRunOnDemandRestart() OptBool

GetRunOnDemandRestart returns the value of RunOnDemandRestart.

func (*PathConf) GetRunOnDemandStartTimeout

func (s *PathConf) GetRunOnDemandStartTimeout() OptString

GetRunOnDemandStartTimeout returns the value of RunOnDemandStartTimeout.

func (*PathConf) GetRunOnInit

func (s *PathConf) GetRunOnInit() OptString

GetRunOnInit returns the value of RunOnInit.

func (*PathConf) GetRunOnInitRestart

func (s *PathConf) GetRunOnInitRestart() OptBool

GetRunOnInitRestart returns the value of RunOnInitRestart.

func (*PathConf) GetRunOnNotReady

func (s *PathConf) GetRunOnNotReady() OptString

GetRunOnNotReady returns the value of RunOnNotReady.

func (*PathConf) GetRunOnRead

func (s *PathConf) GetRunOnRead() OptString

GetRunOnRead returns the value of RunOnRead.

func (*PathConf) GetRunOnReadRestart

func (s *PathConf) GetRunOnReadRestart() OptBool

GetRunOnReadRestart returns the value of RunOnReadRestart.

func (*PathConf) GetRunOnReady

func (s *PathConf) GetRunOnReady() OptString

GetRunOnReady returns the value of RunOnReady.

func (*PathConf) GetRunOnReadyRestart

func (s *PathConf) GetRunOnReadyRestart() OptBool

GetRunOnReadyRestart returns the value of RunOnReadyRestart.

func (*PathConf) GetRunOnRecordSegmentComplete

func (s *PathConf) GetRunOnRecordSegmentComplete() OptString

GetRunOnRecordSegmentComplete returns the value of RunOnRecordSegmentComplete.

func (*PathConf) GetRunOnRecordSegmentCreate

func (s *PathConf) GetRunOnRecordSegmentCreate() OptString

GetRunOnRecordSegmentCreate returns the value of RunOnRecordSegmentCreate.

func (*PathConf) GetRunOnUnDemand

func (s *PathConf) GetRunOnUnDemand() OptString

GetRunOnUnDemand returns the value of RunOnUnDemand.

func (*PathConf) GetRunOnUnread

func (s *PathConf) GetRunOnUnread() OptString

GetRunOnUnread returns the value of RunOnUnread.

func (*PathConf) GetSource

func (s *PathConf) GetSource() OptString

GetSource returns the value of Source.

func (*PathConf) GetSourceFingerprint

func (s *PathConf) GetSourceFingerprint() OptString

GetSourceFingerprint returns the value of SourceFingerprint.

func (*PathConf) GetSourceOnDemand

func (s *PathConf) GetSourceOnDemand() OptBool

GetSourceOnDemand returns the value of SourceOnDemand.

func (*PathConf) GetSourceOnDemandCloseAfter

func (s *PathConf) GetSourceOnDemandCloseAfter() OptString

GetSourceOnDemandCloseAfter returns the value of SourceOnDemandCloseAfter.

func (*PathConf) GetSourceOnDemandStartTimeout

func (s *PathConf) GetSourceOnDemandStartTimeout() OptString

GetSourceOnDemandStartTimeout returns the value of SourceOnDemandStartTimeout.

func (*PathConf) GetSourceRedirect

func (s *PathConf) GetSourceRedirect() OptString

GetSourceRedirect returns the value of SourceRedirect.

func (*PathConf) GetSrtPublishPassphrase

func (s *PathConf) GetSrtPublishPassphrase() OptString

GetSrtPublishPassphrase returns the value of SrtPublishPassphrase.

func (*PathConf) GetSrtReadPassphrase

func (s *PathConf) GetSrtReadPassphrase() OptString

GetSrtReadPassphrase returns the value of SrtReadPassphrase.

func (*PathConf) GetUseAbsoluteTimestamp

func (s *PathConf) GetUseAbsoluteTimestamp() OptBool

GetUseAbsoluteTimestamp returns the value of UseAbsoluteTimestamp.

func (*PathConf) MarshalJSON

func (s *PathConf) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathConf) SetFallback

func (s *PathConf) SetFallback(val OptString)

SetFallback sets the value of Fallback.

func (*PathConf) SetMaxReaders

func (s *PathConf) SetMaxReaders(val OptInt)

SetMaxReaders sets the value of MaxReaders.

func (*PathConf) SetName

func (s *PathConf) SetName(val OptString)

SetName sets the value of Name.

func (*PathConf) SetOverridePublisher

func (s *PathConf) SetOverridePublisher(val OptBool)

SetOverridePublisher sets the value of OverridePublisher.

func (*PathConf) SetRecord

func (s *PathConf) SetRecord(val OptBool)

SetRecord sets the value of Record.

func (*PathConf) SetRecordDeleteAfter

func (s *PathConf) SetRecordDeleteAfter(val OptString)

SetRecordDeleteAfter sets the value of RecordDeleteAfter.

func (*PathConf) SetRecordFormat

func (s *PathConf) SetRecordFormat(val OptString)

SetRecordFormat sets the value of RecordFormat.

func (*PathConf) SetRecordPartDuration

func (s *PathConf) SetRecordPartDuration(val OptString)

SetRecordPartDuration sets the value of RecordPartDuration.

func (*PathConf) SetRecordPath

func (s *PathConf) SetRecordPath(val OptString)

SetRecordPath sets the value of RecordPath.

func (*PathConf) SetRecordSegmentDuration

func (s *PathConf) SetRecordSegmentDuration(val OptString)

SetRecordSegmentDuration sets the value of RecordSegmentDuration.

func (*PathConf) SetRpiCameraAWB

func (s *PathConf) SetRpiCameraAWB(val OptString)

SetRpiCameraAWB sets the value of RpiCameraAWB.

func (*PathConf) SetRpiCameraAWBGains

func (s *PathConf) SetRpiCameraAWBGains(val []float64)

SetRpiCameraAWBGains sets the value of RpiCameraAWBGains.

func (*PathConf) SetRpiCameraAfMode

func (s *PathConf) SetRpiCameraAfMode(val OptString)

SetRpiCameraAfMode sets the value of RpiCameraAfMode.

func (*PathConf) SetRpiCameraAfRange

func (s *PathConf) SetRpiCameraAfRange(val OptString)

SetRpiCameraAfRange sets the value of RpiCameraAfRange.

func (*PathConf) SetRpiCameraAfSpeed

func (s *PathConf) SetRpiCameraAfSpeed(val OptString)

SetRpiCameraAfSpeed sets the value of RpiCameraAfSpeed.

func (*PathConf) SetRpiCameraAfWindow

func (s *PathConf) SetRpiCameraAfWindow(val OptString)

SetRpiCameraAfWindow sets the value of RpiCameraAfWindow.

func (*PathConf) SetRpiCameraBitrate

func (s *PathConf) SetRpiCameraBitrate(val OptInt)

SetRpiCameraBitrate sets the value of RpiCameraBitrate.

func (*PathConf) SetRpiCameraBrightness

func (s *PathConf) SetRpiCameraBrightness(val OptFloat64)

SetRpiCameraBrightness sets the value of RpiCameraBrightness.

func (*PathConf) SetRpiCameraCamID

func (s *PathConf) SetRpiCameraCamID(val OptInt)

SetRpiCameraCamID sets the value of RpiCameraCamID.

func (*PathConf) SetRpiCameraCodec

func (s *PathConf) SetRpiCameraCodec(val OptString)

SetRpiCameraCodec sets the value of RpiCameraCodec.

func (*PathConf) SetRpiCameraContrast

func (s *PathConf) SetRpiCameraContrast(val OptFloat64)

SetRpiCameraContrast sets the value of RpiCameraContrast.

func (*PathConf) SetRpiCameraDenoise

func (s *PathConf) SetRpiCameraDenoise(val OptString)

SetRpiCameraDenoise sets the value of RpiCameraDenoise.

func (*PathConf) SetRpiCameraEV

func (s *PathConf) SetRpiCameraEV(val OptFloat64)

SetRpiCameraEV sets the value of RpiCameraEV.

func (*PathConf) SetRpiCameraExposure

func (s *PathConf) SetRpiCameraExposure(val OptString)

SetRpiCameraExposure sets the value of RpiCameraExposure.

func (*PathConf) SetRpiCameraFPS

func (s *PathConf) SetRpiCameraFPS(val OptFloat64)

SetRpiCameraFPS sets the value of RpiCameraFPS.

func (*PathConf) SetRpiCameraFlickerPeriod

func (s *PathConf) SetRpiCameraFlickerPeriod(val OptInt)

SetRpiCameraFlickerPeriod sets the value of RpiCameraFlickerPeriod.

func (*PathConf) SetRpiCameraGain

func (s *PathConf) SetRpiCameraGain(val OptFloat64)

SetRpiCameraGain sets the value of RpiCameraGain.

func (*PathConf) SetRpiCameraHDR

func (s *PathConf) SetRpiCameraHDR(val OptBool)

SetRpiCameraHDR sets the value of RpiCameraHDR.

func (*PathConf) SetRpiCameraHFlip

func (s *PathConf) SetRpiCameraHFlip(val OptBool)

SetRpiCameraHFlip sets the value of RpiCameraHFlip.

func (*PathConf) SetRpiCameraHeight

func (s *PathConf) SetRpiCameraHeight(val OptInt)

SetRpiCameraHeight sets the value of RpiCameraHeight.

func (*PathConf) SetRpiCameraIDRPeriod

func (s *PathConf) SetRpiCameraIDRPeriod(val OptInt)

SetRpiCameraIDRPeriod sets the value of RpiCameraIDRPeriod.

func (*PathConf) SetRpiCameraJPEGQuality

func (s *PathConf) SetRpiCameraJPEGQuality(val OptInt)

SetRpiCameraJPEGQuality sets the value of RpiCameraJPEGQuality.

func (*PathConf) SetRpiCameraLensPosition

func (s *PathConf) SetRpiCameraLensPosition(val OptFloat64)

SetRpiCameraLensPosition sets the value of RpiCameraLensPosition.

func (*PathConf) SetRpiCameraLevel

func (s *PathConf) SetRpiCameraLevel(val OptString)

SetRpiCameraLevel sets the value of RpiCameraLevel.

func (*PathConf) SetRpiCameraMetering

func (s *PathConf) SetRpiCameraMetering(val OptString)

SetRpiCameraMetering sets the value of RpiCameraMetering.

func (*PathConf) SetRpiCameraMode

func (s *PathConf) SetRpiCameraMode(val OptString)

SetRpiCameraMode sets the value of RpiCameraMode.

func (*PathConf) SetRpiCameraProfile

func (s *PathConf) SetRpiCameraProfile(val OptString)

SetRpiCameraProfile sets the value of RpiCameraProfile.

func (*PathConf) SetRpiCameraROI

func (s *PathConf) SetRpiCameraROI(val OptString)

SetRpiCameraROI sets the value of RpiCameraROI.

func (*PathConf) SetRpiCameraSaturation

func (s *PathConf) SetRpiCameraSaturation(val OptFloat64)

SetRpiCameraSaturation sets the value of RpiCameraSaturation.

func (*PathConf) SetRpiCameraSecondary

func (s *PathConf) SetRpiCameraSecondary(val OptBool)

SetRpiCameraSecondary sets the value of RpiCameraSecondary.

func (*PathConf) SetRpiCameraSharpness

func (s *PathConf) SetRpiCameraSharpness(val OptFloat64)

SetRpiCameraSharpness sets the value of RpiCameraSharpness.

func (*PathConf) SetRpiCameraShutter

func (s *PathConf) SetRpiCameraShutter(val OptInt)

SetRpiCameraShutter sets the value of RpiCameraShutter.

func (*PathConf) SetRpiCameraTextOverlay

func (s *PathConf) SetRpiCameraTextOverlay(val OptString)

SetRpiCameraTextOverlay sets the value of RpiCameraTextOverlay.

func (*PathConf) SetRpiCameraTextOverlayEnable

func (s *PathConf) SetRpiCameraTextOverlayEnable(val OptBool)

SetRpiCameraTextOverlayEnable sets the value of RpiCameraTextOverlayEnable.

func (*PathConf) SetRpiCameraTuningFile

func (s *PathConf) SetRpiCameraTuningFile(val OptString)

SetRpiCameraTuningFile sets the value of RpiCameraTuningFile.

func (*PathConf) SetRpiCameraVFlip

func (s *PathConf) SetRpiCameraVFlip(val OptBool)

SetRpiCameraVFlip sets the value of RpiCameraVFlip.

func (*PathConf) SetRpiCameraWidth

func (s *PathConf) SetRpiCameraWidth(val OptInt)

SetRpiCameraWidth sets the value of RpiCameraWidth.

func (*PathConf) SetRtspAnyPort

func (s *PathConf) SetRtspAnyPort(val OptBool)

SetRtspAnyPort sets the value of RtspAnyPort.

func (*PathConf) SetRtspRangeStart

func (s *PathConf) SetRtspRangeStart(val OptString)

SetRtspRangeStart sets the value of RtspRangeStart.

func (*PathConf) SetRtspRangeType

func (s *PathConf) SetRtspRangeType(val OptString)

SetRtspRangeType sets the value of RtspRangeType.

func (*PathConf) SetRtspTransport

func (s *PathConf) SetRtspTransport(val OptString)

SetRtspTransport sets the value of RtspTransport.

func (*PathConf) SetRunOnDemand

func (s *PathConf) SetRunOnDemand(val OptString)

SetRunOnDemand sets the value of RunOnDemand.

func (*PathConf) SetRunOnDemandCloseAfter

func (s *PathConf) SetRunOnDemandCloseAfter(val OptString)

SetRunOnDemandCloseAfter sets the value of RunOnDemandCloseAfter.

func (*PathConf) SetRunOnDemandRestart

func (s *PathConf) SetRunOnDemandRestart(val OptBool)

SetRunOnDemandRestart sets the value of RunOnDemandRestart.

func (*PathConf) SetRunOnDemandStartTimeout

func (s *PathConf) SetRunOnDemandStartTimeout(val OptString)

SetRunOnDemandStartTimeout sets the value of RunOnDemandStartTimeout.

func (*PathConf) SetRunOnInit

func (s *PathConf) SetRunOnInit(val OptString)

SetRunOnInit sets the value of RunOnInit.

func (*PathConf) SetRunOnInitRestart

func (s *PathConf) SetRunOnInitRestart(val OptBool)

SetRunOnInitRestart sets the value of RunOnInitRestart.

func (*PathConf) SetRunOnNotReady

func (s *PathConf) SetRunOnNotReady(val OptString)

SetRunOnNotReady sets the value of RunOnNotReady.

func (*PathConf) SetRunOnRead

func (s *PathConf) SetRunOnRead(val OptString)

SetRunOnRead sets the value of RunOnRead.

func (*PathConf) SetRunOnReadRestart

func (s *PathConf) SetRunOnReadRestart(val OptBool)

SetRunOnReadRestart sets the value of RunOnReadRestart.

func (*PathConf) SetRunOnReady

func (s *PathConf) SetRunOnReady(val OptString)

SetRunOnReady sets the value of RunOnReady.

func (*PathConf) SetRunOnReadyRestart

func (s *PathConf) SetRunOnReadyRestart(val OptBool)

SetRunOnReadyRestart sets the value of RunOnReadyRestart.

func (*PathConf) SetRunOnRecordSegmentComplete

func (s *PathConf) SetRunOnRecordSegmentComplete(val OptString)

SetRunOnRecordSegmentComplete sets the value of RunOnRecordSegmentComplete.

func (*PathConf) SetRunOnRecordSegmentCreate

func (s *PathConf) SetRunOnRecordSegmentCreate(val OptString)

SetRunOnRecordSegmentCreate sets the value of RunOnRecordSegmentCreate.

func (*PathConf) SetRunOnUnDemand

func (s *PathConf) SetRunOnUnDemand(val OptString)

SetRunOnUnDemand sets the value of RunOnUnDemand.

func (*PathConf) SetRunOnUnread

func (s *PathConf) SetRunOnUnread(val OptString)

SetRunOnUnread sets the value of RunOnUnread.

func (*PathConf) SetSource

func (s *PathConf) SetSource(val OptString)

SetSource sets the value of Source.

func (*PathConf) SetSourceFingerprint

func (s *PathConf) SetSourceFingerprint(val OptString)

SetSourceFingerprint sets the value of SourceFingerprint.

func (*PathConf) SetSourceOnDemand

func (s *PathConf) SetSourceOnDemand(val OptBool)

SetSourceOnDemand sets the value of SourceOnDemand.

func (*PathConf) SetSourceOnDemandCloseAfter

func (s *PathConf) SetSourceOnDemandCloseAfter(val OptString)

SetSourceOnDemandCloseAfter sets the value of SourceOnDemandCloseAfter.

func (*PathConf) SetSourceOnDemandStartTimeout

func (s *PathConf) SetSourceOnDemandStartTimeout(val OptString)

SetSourceOnDemandStartTimeout sets the value of SourceOnDemandStartTimeout.

func (*PathConf) SetSourceRedirect

func (s *PathConf) SetSourceRedirect(val OptString)

SetSourceRedirect sets the value of SourceRedirect.

func (*PathConf) SetSrtPublishPassphrase

func (s *PathConf) SetSrtPublishPassphrase(val OptString)

SetSrtPublishPassphrase sets the value of SrtPublishPassphrase.

func (*PathConf) SetSrtReadPassphrase

func (s *PathConf) SetSrtReadPassphrase(val OptString)

SetSrtReadPassphrase sets the value of SrtReadPassphrase.

func (*PathConf) SetUseAbsoluteTimestamp

func (s *PathConf) SetUseAbsoluteTimestamp(val OptBool)

SetUseAbsoluteTimestamp sets the value of UseAbsoluteTimestamp.

func (*PathConf) UnmarshalJSON

func (s *PathConf) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathConf) Validate

func (s *PathConf) Validate() error

type PathConfList

type PathConfList struct {
	PageCount OptInt     `json:"pageCount"`
	ItemCount OptInt     `json:"itemCount"`
	Items     []PathConf `json:"items"`
}

Ref: #/components/schemas/PathConfList

func (*PathConfList) Decode

func (s *PathConfList) Decode(d *jx.Decoder) error

Decode decodes PathConfList from json.

func (*PathConfList) Encode

func (s *PathConfList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PathConfList) GetItemCount

func (s *PathConfList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*PathConfList) GetItems

func (s *PathConfList) GetItems() []PathConf

GetItems returns the value of Items.

func (*PathConfList) GetPageCount

func (s *PathConfList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*PathConfList) MarshalJSON

func (s *PathConfList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathConfList) SetItemCount

func (s *PathConfList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*PathConfList) SetItems

func (s *PathConfList) SetItems(val []PathConf)

SetItems sets the value of Items.

func (*PathConfList) SetPageCount

func (s *PathConfList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*PathConfList) UnmarshalJSON

func (s *PathConfList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathConfList) Validate

func (s *PathConfList) Validate() error

type PathList

type PathList struct {
	PageCount OptInt `json:"pageCount"`
	ItemCount OptInt `json:"itemCount"`
	Items     []Path `json:"items"`
}

Ref: #/components/schemas/PathList

func (*PathList) Decode

func (s *PathList) Decode(d *jx.Decoder) error

Decode decodes PathList from json.

func (*PathList) Encode

func (s *PathList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PathList) GetItemCount

func (s *PathList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*PathList) GetItems

func (s *PathList) GetItems() []Path

GetItems returns the value of Items.

func (*PathList) GetPageCount

func (s *PathList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*PathList) MarshalJSON

func (s *PathList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathList) SetItemCount

func (s *PathList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*PathList) SetItems

func (s *PathList) SetItems(val []Path)

SetItems sets the value of Items.

func (*PathList) SetPageCount

func (s *PathList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*PathList) UnmarshalJSON

func (s *PathList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathList) Validate

func (s *PathList) Validate() error

type PathReader

type PathReader struct {
	Type OptPathReaderType `json:"type"`
	ID   OptString         `json:"id"`
}

Ref: #/components/schemas/PathReader

func (*PathReader) Decode

func (s *PathReader) Decode(d *jx.Decoder) error

Decode decodes PathReader from json.

func (*PathReader) Encode

func (s *PathReader) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PathReader) GetID

func (s *PathReader) GetID() OptString

GetID returns the value of ID.

func (*PathReader) GetType

func (s *PathReader) GetType() OptPathReaderType

GetType returns the value of Type.

func (*PathReader) MarshalJSON

func (s *PathReader) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathReader) SetID

func (s *PathReader) SetID(val OptString)

SetID sets the value of ID.

func (*PathReader) SetType

func (s *PathReader) SetType(val OptPathReaderType)

SetType sets the value of Type.

func (*PathReader) UnmarshalJSON

func (s *PathReader) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathReader) Validate

func (s *PathReader) Validate() error

type PathReaderType

type PathReaderType string
const (
	PathReaderTypeHlsMuxer      PathReaderType = "hlsMuxer"
	PathReaderTypeRtmpConn      PathReaderType = "rtmpConn"
	PathReaderTypeRtspSession   PathReaderType = "rtspSession"
	PathReaderTypeRtspsSession  PathReaderType = "rtspsSession"
	PathReaderTypeSrtConn       PathReaderType = "srtConn"
	PathReaderTypeWebRTCSession PathReaderType = "webRTCSession"
)

func (PathReaderType) AllValues

func (PathReaderType) AllValues() []PathReaderType

AllValues returns all PathReaderType values.

func (*PathReaderType) Decode

func (s *PathReaderType) Decode(d *jx.Decoder) error

Decode decodes PathReaderType from json.

func (PathReaderType) Encode

func (s PathReaderType) Encode(e *jx.Encoder)

Encode encodes PathReaderType as json.

func (PathReaderType) MarshalJSON

func (s PathReaderType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PathReaderType) MarshalText

func (s PathReaderType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PathReaderType) UnmarshalJSON

func (s *PathReaderType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathReaderType) UnmarshalText

func (s *PathReaderType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PathReaderType) Validate

func (s PathReaderType) Validate() error

type PathSource

type PathSource struct {
	Type OptPathSourceType `json:"type"`
	ID   OptString         `json:"id"`
}

Ref: #/components/schemas/PathSource

func (*PathSource) Decode

func (s *PathSource) Decode(d *jx.Decoder) error

Decode decodes PathSource from json.

func (*PathSource) Encode

func (s *PathSource) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PathSource) GetID

func (s *PathSource) GetID() OptString

GetID returns the value of ID.

func (*PathSource) GetType

func (s *PathSource) GetType() OptPathSourceType

GetType returns the value of Type.

func (*PathSource) MarshalJSON

func (s *PathSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathSource) SetID

func (s *PathSource) SetID(val OptString)

SetID sets the value of ID.

func (*PathSource) SetType

func (s *PathSource) SetType(val OptPathSourceType)

SetType sets the value of Type.

func (*PathSource) UnmarshalJSON

func (s *PathSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathSource) Validate

func (s *PathSource) Validate() error

type PathSourceType

type PathSourceType string
const (
	PathSourceTypeHlsSource       PathSourceType = "hlsSource"
	PathSourceTypeRedirect        PathSourceType = "redirect"
	PathSourceTypeRpiCameraSource PathSourceType = "rpiCameraSource"
	PathSourceTypeRtmpConn        PathSourceType = "rtmpConn"
	PathSourceTypeRtmpSource      PathSourceType = "rtmpSource"
	PathSourceTypeRtspSession     PathSourceType = "rtspSession"
	PathSourceTypeRtspSource      PathSourceType = "rtspSource"
	PathSourceTypeRtspsSession    PathSourceType = "rtspsSession"
	PathSourceTypeSrtConn         PathSourceType = "srtConn"
	PathSourceTypeSrtSource       PathSourceType = "srtSource"
	PathSourceTypeUdpSource       PathSourceType = "udpSource"
	PathSourceTypeWebRTCSession   PathSourceType = "webRTCSession"
	PathSourceTypeWebRTCSource    PathSourceType = "webRTCSource"
)

func (PathSourceType) AllValues

func (PathSourceType) AllValues() []PathSourceType

AllValues returns all PathSourceType values.

func (*PathSourceType) Decode

func (s *PathSourceType) Decode(d *jx.Decoder) error

Decode decodes PathSourceType from json.

func (PathSourceType) Encode

func (s PathSourceType) Encode(e *jx.Encoder)

Encode encodes PathSourceType as json.

func (PathSourceType) MarshalJSON

func (s PathSourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PathSourceType) MarshalText

func (s PathSourceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PathSourceType) UnmarshalJSON

func (s *PathSourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathSourceType) UnmarshalText

func (s *PathSourceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PathSourceType) Validate

func (s PathSourceType) Validate() error

type PathsGetBadRequest

type PathsGetBadRequest Error

func (*PathsGetBadRequest) Decode

func (s *PathsGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes PathsGetBadRequest from json.

func (*PathsGetBadRequest) Encode

func (s *PathsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes PathsGetBadRequest as json.

func (*PathsGetBadRequest) MarshalJSON

func (s *PathsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathsGetBadRequest) UnmarshalJSON

func (s *PathsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PathsGetInternalServerError

type PathsGetInternalServerError Error

func (*PathsGetInternalServerError) Decode

Decode decodes PathsGetInternalServerError from json.

func (*PathsGetInternalServerError) Encode

func (s *PathsGetInternalServerError) Encode(e *jx.Encoder)

Encode encodes PathsGetInternalServerError as json.

func (*PathsGetInternalServerError) MarshalJSON

func (s *PathsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathsGetInternalServerError) UnmarshalJSON

func (s *PathsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PathsGetNotFound

type PathsGetNotFound Error

func (*PathsGetNotFound) Decode

func (s *PathsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes PathsGetNotFound from json.

func (*PathsGetNotFound) Encode

func (s *PathsGetNotFound) Encode(e *jx.Encoder)

Encode encodes PathsGetNotFound as json.

func (*PathsGetNotFound) MarshalJSON

func (s *PathsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathsGetNotFound) UnmarshalJSON

func (s *PathsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PathsGetParams

type PathsGetParams struct {
	// Name of the path.
	Name string
}

PathsGetParams is parameters of pathsGet operation.

type PathsGetRes

type PathsGetRes interface {
	// contains filtered or unexported methods
}

type PathsListBadRequest

type PathsListBadRequest Error

func (*PathsListBadRequest) Decode

func (s *PathsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes PathsListBadRequest from json.

func (*PathsListBadRequest) Encode

func (s *PathsListBadRequest) Encode(e *jx.Encoder)

Encode encodes PathsListBadRequest as json.

func (*PathsListBadRequest) MarshalJSON

func (s *PathsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathsListBadRequest) UnmarshalJSON

func (s *PathsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PathsListInternalServerError

type PathsListInternalServerError Error

func (*PathsListInternalServerError) Decode

Decode decodes PathsListInternalServerError from json.

func (*PathsListInternalServerError) Encode

func (s *PathsListInternalServerError) Encode(e *jx.Encoder)

Encode encodes PathsListInternalServerError as json.

func (*PathsListInternalServerError) MarshalJSON

func (s *PathsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PathsListInternalServerError) UnmarshalJSON

func (s *PathsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PathsListParams

type PathsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

PathsListParams is parameters of pathsList operation.

type PathsListRes

type PathsListRes interface {
	// contains filtered or unexported methods
}

type RTMPConn

type RTMPConn struct {
	ID            OptString        `json:"id"`
	Created       OptString        `json:"created"`
	RemoteAddr    OptString        `json:"remoteAddr"`
	State         OptRTMPConnState `json:"state"`
	Path          OptString        `json:"path"`
	Query         OptString        `json:"query"`
	BytesReceived OptInt64         `json:"bytesReceived"`
	BytesSent     OptInt64         `json:"bytesSent"`
}

Ref: #/components/schemas/RTMPConn

func (*RTMPConn) Decode

func (s *RTMPConn) Decode(d *jx.Decoder) error

Decode decodes RTMPConn from json.

func (*RTMPConn) Encode

func (s *RTMPConn) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RTMPConn) GetBytesReceived

func (s *RTMPConn) GetBytesReceived() OptInt64

GetBytesReceived returns the value of BytesReceived.

func (*RTMPConn) GetBytesSent

func (s *RTMPConn) GetBytesSent() OptInt64

GetBytesSent returns the value of BytesSent.

func (*RTMPConn) GetCreated

func (s *RTMPConn) GetCreated() OptString

GetCreated returns the value of Created.

func (*RTMPConn) GetID

func (s *RTMPConn) GetID() OptString

GetID returns the value of ID.

func (*RTMPConn) GetPath

func (s *RTMPConn) GetPath() OptString

GetPath returns the value of Path.

func (*RTMPConn) GetQuery

func (s *RTMPConn) GetQuery() OptString

GetQuery returns the value of Query.

func (*RTMPConn) GetRemoteAddr

func (s *RTMPConn) GetRemoteAddr() OptString

GetRemoteAddr returns the value of RemoteAddr.

func (*RTMPConn) GetState

func (s *RTMPConn) GetState() OptRTMPConnState

GetState returns the value of State.

func (*RTMPConn) MarshalJSON

func (s *RTMPConn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RTMPConn) SetBytesReceived

func (s *RTMPConn) SetBytesReceived(val OptInt64)

SetBytesReceived sets the value of BytesReceived.

func (*RTMPConn) SetBytesSent

func (s *RTMPConn) SetBytesSent(val OptInt64)

SetBytesSent sets the value of BytesSent.

func (*RTMPConn) SetCreated

func (s *RTMPConn) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*RTMPConn) SetID

func (s *RTMPConn) SetID(val OptString)

SetID sets the value of ID.

func (*RTMPConn) SetPath

func (s *RTMPConn) SetPath(val OptString)

SetPath sets the value of Path.

func (*RTMPConn) SetQuery

func (s *RTMPConn) SetQuery(val OptString)

SetQuery sets the value of Query.

func (*RTMPConn) SetRemoteAddr

func (s *RTMPConn) SetRemoteAddr(val OptString)

SetRemoteAddr sets the value of RemoteAddr.

func (*RTMPConn) SetState

func (s *RTMPConn) SetState(val OptRTMPConnState)

SetState sets the value of State.

func (*RTMPConn) UnmarshalJSON

func (s *RTMPConn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTMPConn) Validate

func (s *RTMPConn) Validate() error

type RTMPConnList

type RTMPConnList struct {
	PageCount OptInt     `json:"pageCount"`
	ItemCount OptInt     `json:"itemCount"`
	Items     []RTMPConn `json:"items"`
}

Ref: #/components/schemas/RTMPConnList

func (*RTMPConnList) Decode

func (s *RTMPConnList) Decode(d *jx.Decoder) error

Decode decodes RTMPConnList from json.

func (*RTMPConnList) Encode

func (s *RTMPConnList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RTMPConnList) GetItemCount

func (s *RTMPConnList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*RTMPConnList) GetItems

func (s *RTMPConnList) GetItems() []RTMPConn

GetItems returns the value of Items.

func (*RTMPConnList) GetPageCount

func (s *RTMPConnList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*RTMPConnList) MarshalJSON

func (s *RTMPConnList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RTMPConnList) SetItemCount

func (s *RTMPConnList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*RTMPConnList) SetItems

func (s *RTMPConnList) SetItems(val []RTMPConn)

SetItems sets the value of Items.

func (*RTMPConnList) SetPageCount

func (s *RTMPConnList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*RTMPConnList) UnmarshalJSON

func (s *RTMPConnList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTMPConnList) Validate

func (s *RTMPConnList) Validate() error

type RTMPConnState

type RTMPConnState string
const (
	RTMPConnStateIdle    RTMPConnState = "idle"
	RTMPConnStateRead    RTMPConnState = "read"
	RTMPConnStatePublish RTMPConnState = "publish"
)

func (RTMPConnState) AllValues

func (RTMPConnState) AllValues() []RTMPConnState

AllValues returns all RTMPConnState values.

func (*RTMPConnState) Decode

func (s *RTMPConnState) Decode(d *jx.Decoder) error

Decode decodes RTMPConnState from json.

func (RTMPConnState) Encode

func (s RTMPConnState) Encode(e *jx.Encoder)

Encode encodes RTMPConnState as json.

func (RTMPConnState) MarshalJSON

func (s RTMPConnState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RTMPConnState) MarshalText

func (s RTMPConnState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RTMPConnState) UnmarshalJSON

func (s *RTMPConnState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTMPConnState) UnmarshalText

func (s *RTMPConnState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RTMPConnState) Validate

func (s RTMPConnState) Validate() error

type RTSPConn

type RTSPConn struct {
	ID            OptString    `json:"id"`
	Created       OptString    `json:"created"`
	RemoteAddr    OptString    `json:"remoteAddr"`
	BytesReceived OptInt64     `json:"bytesReceived"`
	BytesSent     OptInt64     `json:"bytesSent"`
	Session       OptNilString `json:"session"`
}

Ref: #/components/schemas/RTSPConn

func (*RTSPConn) Decode

func (s *RTSPConn) Decode(d *jx.Decoder) error

Decode decodes RTSPConn from json.

func (*RTSPConn) Encode

func (s *RTSPConn) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RTSPConn) GetBytesReceived

func (s *RTSPConn) GetBytesReceived() OptInt64

GetBytesReceived returns the value of BytesReceived.

func (*RTSPConn) GetBytesSent

func (s *RTSPConn) GetBytesSent() OptInt64

GetBytesSent returns the value of BytesSent.

func (*RTSPConn) GetCreated

func (s *RTSPConn) GetCreated() OptString

GetCreated returns the value of Created.

func (*RTSPConn) GetID

func (s *RTSPConn) GetID() OptString

GetID returns the value of ID.

func (*RTSPConn) GetRemoteAddr

func (s *RTSPConn) GetRemoteAddr() OptString

GetRemoteAddr returns the value of RemoteAddr.

func (*RTSPConn) GetSession

func (s *RTSPConn) GetSession() OptNilString

GetSession returns the value of Session.

func (*RTSPConn) MarshalJSON

func (s *RTSPConn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RTSPConn) SetBytesReceived

func (s *RTSPConn) SetBytesReceived(val OptInt64)

SetBytesReceived sets the value of BytesReceived.

func (*RTSPConn) SetBytesSent

func (s *RTSPConn) SetBytesSent(val OptInt64)

SetBytesSent sets the value of BytesSent.

func (*RTSPConn) SetCreated

func (s *RTSPConn) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*RTSPConn) SetID

func (s *RTSPConn) SetID(val OptString)

SetID sets the value of ID.

func (*RTSPConn) SetRemoteAddr

func (s *RTSPConn) SetRemoteAddr(val OptString)

SetRemoteAddr sets the value of RemoteAddr.

func (*RTSPConn) SetSession

func (s *RTSPConn) SetSession(val OptNilString)

SetSession sets the value of Session.

func (*RTSPConn) UnmarshalJSON

func (s *RTSPConn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RTSPConnList

type RTSPConnList struct {
	PageCount OptInt     `json:"pageCount"`
	ItemCount OptInt     `json:"itemCount"`
	Items     []RTSPConn `json:"items"`
}

Ref: #/components/schemas/RTSPConnList

func (*RTSPConnList) Decode

func (s *RTSPConnList) Decode(d *jx.Decoder) error

Decode decodes RTSPConnList from json.

func (*RTSPConnList) Encode

func (s *RTSPConnList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RTSPConnList) GetItemCount

func (s *RTSPConnList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*RTSPConnList) GetItems

func (s *RTSPConnList) GetItems() []RTSPConn

GetItems returns the value of Items.

func (*RTSPConnList) GetPageCount

func (s *RTSPConnList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*RTSPConnList) MarshalJSON

func (s *RTSPConnList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RTSPConnList) SetItemCount

func (s *RTSPConnList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*RTSPConnList) SetItems

func (s *RTSPConnList) SetItems(val []RTSPConn)

SetItems sets the value of Items.

func (*RTSPConnList) SetPageCount

func (s *RTSPConnList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*RTSPConnList) UnmarshalJSON

func (s *RTSPConnList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RTSPSession

type RTSPSession struct {
	ID                  OptString           `json:"id"`
	Created             OptString           `json:"created"`
	RemoteAddr          OptString           `json:"remoteAddr"`
	State               OptRTSPSessionState `json:"state"`
	Path                OptString           `json:"path"`
	Query               OptString           `json:"query"`
	Transport           OptNilString        `json:"transport"`
	BytesReceived       OptInt64            `json:"bytesReceived"`
	BytesSent           OptInt64            `json:"bytesSent"`
	RtpPacketsReceived  OptInt64            `json:"rtpPacketsReceived"`
	RtpPacketsSent      OptInt64            `json:"rtpPacketsSent"`
	RtpPacketsLost      OptInt64            `json:"rtpPacketsLost"`
	RtpPacketsInError   OptInt64            `json:"rtpPacketsInError"`
	RtpPacketsJitter    OptFloat64          `json:"rtpPacketsJitter"`
	RtcpPacketsReceived OptInt64            `json:"rtcpPacketsReceived"`
	RtcpPacketsSent     OptInt64            `json:"rtcpPacketsSent"`
	RtcpPacketsInError  OptInt64            `json:"rtcpPacketsInError"`
}

Ref: #/components/schemas/RTSPSession

func (*RTSPSession) Decode

func (s *RTSPSession) Decode(d *jx.Decoder) error

Decode decodes RTSPSession from json.

func (*RTSPSession) Encode

func (s *RTSPSession) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RTSPSession) GetBytesReceived

func (s *RTSPSession) GetBytesReceived() OptInt64

GetBytesReceived returns the value of BytesReceived.

func (*RTSPSession) GetBytesSent

func (s *RTSPSession) GetBytesSent() OptInt64

GetBytesSent returns the value of BytesSent.

func (*RTSPSession) GetCreated

func (s *RTSPSession) GetCreated() OptString

GetCreated returns the value of Created.

func (*RTSPSession) GetID

func (s *RTSPSession) GetID() OptString

GetID returns the value of ID.

func (*RTSPSession) GetPath

func (s *RTSPSession) GetPath() OptString

GetPath returns the value of Path.

func (*RTSPSession) GetQuery

func (s *RTSPSession) GetQuery() OptString

GetQuery returns the value of Query.

func (*RTSPSession) GetRemoteAddr

func (s *RTSPSession) GetRemoteAddr() OptString

GetRemoteAddr returns the value of RemoteAddr.

func (*RTSPSession) GetRtcpPacketsInError

func (s *RTSPSession) GetRtcpPacketsInError() OptInt64

GetRtcpPacketsInError returns the value of RtcpPacketsInError.

func (*RTSPSession) GetRtcpPacketsReceived

func (s *RTSPSession) GetRtcpPacketsReceived() OptInt64

GetRtcpPacketsReceived returns the value of RtcpPacketsReceived.

func (*RTSPSession) GetRtcpPacketsSent

func (s *RTSPSession) GetRtcpPacketsSent() OptInt64

GetRtcpPacketsSent returns the value of RtcpPacketsSent.

func (*RTSPSession) GetRtpPacketsInError

func (s *RTSPSession) GetRtpPacketsInError() OptInt64

GetRtpPacketsInError returns the value of RtpPacketsInError.

func (*RTSPSession) GetRtpPacketsJitter

func (s *RTSPSession) GetRtpPacketsJitter() OptFloat64

GetRtpPacketsJitter returns the value of RtpPacketsJitter.

func (*RTSPSession) GetRtpPacketsLost

func (s *RTSPSession) GetRtpPacketsLost() OptInt64

GetRtpPacketsLost returns the value of RtpPacketsLost.

func (*RTSPSession) GetRtpPacketsReceived

func (s *RTSPSession) GetRtpPacketsReceived() OptInt64

GetRtpPacketsReceived returns the value of RtpPacketsReceived.

func (*RTSPSession) GetRtpPacketsSent

func (s *RTSPSession) GetRtpPacketsSent() OptInt64

GetRtpPacketsSent returns the value of RtpPacketsSent.

func (*RTSPSession) GetState

func (s *RTSPSession) GetState() OptRTSPSessionState

GetState returns the value of State.

func (*RTSPSession) GetTransport

func (s *RTSPSession) GetTransport() OptNilString

GetTransport returns the value of Transport.

func (*RTSPSession) MarshalJSON

func (s *RTSPSession) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RTSPSession) SetBytesReceived

func (s *RTSPSession) SetBytesReceived(val OptInt64)

SetBytesReceived sets the value of BytesReceived.

func (*RTSPSession) SetBytesSent

func (s *RTSPSession) SetBytesSent(val OptInt64)

SetBytesSent sets the value of BytesSent.

func (*RTSPSession) SetCreated

func (s *RTSPSession) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*RTSPSession) SetID

func (s *RTSPSession) SetID(val OptString)

SetID sets the value of ID.

func (*RTSPSession) SetPath

func (s *RTSPSession) SetPath(val OptString)

SetPath sets the value of Path.

func (*RTSPSession) SetQuery

func (s *RTSPSession) SetQuery(val OptString)

SetQuery sets the value of Query.

func (*RTSPSession) SetRemoteAddr

func (s *RTSPSession) SetRemoteAddr(val OptString)

SetRemoteAddr sets the value of RemoteAddr.

func (*RTSPSession) SetRtcpPacketsInError

func (s *RTSPSession) SetRtcpPacketsInError(val OptInt64)

SetRtcpPacketsInError sets the value of RtcpPacketsInError.

func (*RTSPSession) SetRtcpPacketsReceived

func (s *RTSPSession) SetRtcpPacketsReceived(val OptInt64)

SetRtcpPacketsReceived sets the value of RtcpPacketsReceived.

func (*RTSPSession) SetRtcpPacketsSent

func (s *RTSPSession) SetRtcpPacketsSent(val OptInt64)

SetRtcpPacketsSent sets the value of RtcpPacketsSent.

func (*RTSPSession) SetRtpPacketsInError

func (s *RTSPSession) SetRtpPacketsInError(val OptInt64)

SetRtpPacketsInError sets the value of RtpPacketsInError.

func (*RTSPSession) SetRtpPacketsJitter

func (s *RTSPSession) SetRtpPacketsJitter(val OptFloat64)

SetRtpPacketsJitter sets the value of RtpPacketsJitter.

func (*RTSPSession) SetRtpPacketsLost

func (s *RTSPSession) SetRtpPacketsLost(val OptInt64)

SetRtpPacketsLost sets the value of RtpPacketsLost.

func (*RTSPSession) SetRtpPacketsReceived

func (s *RTSPSession) SetRtpPacketsReceived(val OptInt64)

SetRtpPacketsReceived sets the value of RtpPacketsReceived.

func (*RTSPSession) SetRtpPacketsSent

func (s *RTSPSession) SetRtpPacketsSent(val OptInt64)

SetRtpPacketsSent sets the value of RtpPacketsSent.

func (*RTSPSession) SetState

func (s *RTSPSession) SetState(val OptRTSPSessionState)

SetState sets the value of State.

func (*RTSPSession) SetTransport

func (s *RTSPSession) SetTransport(val OptNilString)

SetTransport sets the value of Transport.

func (*RTSPSession) UnmarshalJSON

func (s *RTSPSession) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTSPSession) Validate

func (s *RTSPSession) Validate() error

type RTSPSessionList

type RTSPSessionList struct {
	PageCount OptInt        `json:"pageCount"`
	ItemCount OptInt        `json:"itemCount"`
	Items     []RTSPSession `json:"items"`
}

Ref: #/components/schemas/RTSPSessionList

func (*RTSPSessionList) Decode

func (s *RTSPSessionList) Decode(d *jx.Decoder) error

Decode decodes RTSPSessionList from json.

func (*RTSPSessionList) Encode

func (s *RTSPSessionList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RTSPSessionList) GetItemCount

func (s *RTSPSessionList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*RTSPSessionList) GetItems

func (s *RTSPSessionList) GetItems() []RTSPSession

GetItems returns the value of Items.

func (*RTSPSessionList) GetPageCount

func (s *RTSPSessionList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*RTSPSessionList) MarshalJSON

func (s *RTSPSessionList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RTSPSessionList) SetItemCount

func (s *RTSPSessionList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*RTSPSessionList) SetItems

func (s *RTSPSessionList) SetItems(val []RTSPSession)

SetItems sets the value of Items.

func (*RTSPSessionList) SetPageCount

func (s *RTSPSessionList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*RTSPSessionList) UnmarshalJSON

func (s *RTSPSessionList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTSPSessionList) Validate

func (s *RTSPSessionList) Validate() error

type RTSPSessionState

type RTSPSessionState string
const (
	RTSPSessionStateIdle    RTSPSessionState = "idle"
	RTSPSessionStateRead    RTSPSessionState = "read"
	RTSPSessionStatePublish RTSPSessionState = "publish"
)

func (RTSPSessionState) AllValues

func (RTSPSessionState) AllValues() []RTSPSessionState

AllValues returns all RTSPSessionState values.

func (*RTSPSessionState) Decode

func (s *RTSPSessionState) Decode(d *jx.Decoder) error

Decode decodes RTSPSessionState from json.

func (RTSPSessionState) Encode

func (s RTSPSessionState) Encode(e *jx.Encoder)

Encode encodes RTSPSessionState as json.

func (RTSPSessionState) MarshalJSON

func (s RTSPSessionState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RTSPSessionState) MarshalText

func (s RTSPSessionState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RTSPSessionState) UnmarshalJSON

func (s *RTSPSessionState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTSPSessionState) UnmarshalText

func (s *RTSPSessionState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RTSPSessionState) Validate

func (s RTSPSessionState) Validate() error

type Recording

type Recording struct {
	Name     OptString          `json:"name"`
	Segments []RecordingSegment `json:"segments"`
}

Ref: #/components/schemas/Recording

func (*Recording) Decode

func (s *Recording) Decode(d *jx.Decoder) error

Decode decodes Recording from json.

func (*Recording) Encode

func (s *Recording) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Recording) GetName

func (s *Recording) GetName() OptString

GetName returns the value of Name.

func (*Recording) GetSegments

func (s *Recording) GetSegments() []RecordingSegment

GetSegments returns the value of Segments.

func (*Recording) MarshalJSON

func (s *Recording) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Recording) SetName

func (s *Recording) SetName(val OptString)

SetName sets the value of Name.

func (*Recording) SetSegments

func (s *Recording) SetSegments(val []RecordingSegment)

SetSegments sets the value of Segments.

func (*Recording) UnmarshalJSON

func (s *Recording) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingList

type RecordingList struct {
	PageCount OptInt      `json:"pageCount"`
	ItemCount OptInt      `json:"itemCount"`
	Items     []Recording `json:"items"`
}

Ref: #/components/schemas/RecordingList

func (*RecordingList) Decode

func (s *RecordingList) Decode(d *jx.Decoder) error

Decode decodes RecordingList from json.

func (*RecordingList) Encode

func (s *RecordingList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecordingList) GetItemCount

func (s *RecordingList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*RecordingList) GetItems

func (s *RecordingList) GetItems() []Recording

GetItems returns the value of Items.

func (*RecordingList) GetPageCount

func (s *RecordingList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*RecordingList) MarshalJSON

func (s *RecordingList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingList) SetItemCount

func (s *RecordingList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*RecordingList) SetItems

func (s *RecordingList) SetItems(val []Recording)

SetItems sets the value of Items.

func (*RecordingList) SetPageCount

func (s *RecordingList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*RecordingList) UnmarshalJSON

func (s *RecordingList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingSegment

type RecordingSegment struct {
	Start OptString `json:"start"`
}

Ref: #/components/schemas/RecordingSegment

func (*RecordingSegment) Decode

func (s *RecordingSegment) Decode(d *jx.Decoder) error

Decode decodes RecordingSegment from json.

func (*RecordingSegment) Encode

func (s *RecordingSegment) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecordingSegment) GetStart

func (s *RecordingSegment) GetStart() OptString

GetStart returns the value of Start.

func (*RecordingSegment) MarshalJSON

func (s *RecordingSegment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingSegment) SetStart

func (s *RecordingSegment) SetStart(val OptString)

SetStart sets the value of Start.

func (*RecordingSegment) UnmarshalJSON

func (s *RecordingSegment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsDeleteSegmentBadRequest

type RecordingsDeleteSegmentBadRequest Error

func (*RecordingsDeleteSegmentBadRequest) Decode

Decode decodes RecordingsDeleteSegmentBadRequest from json.

func (*RecordingsDeleteSegmentBadRequest) Encode

Encode encodes RecordingsDeleteSegmentBadRequest as json.

func (*RecordingsDeleteSegmentBadRequest) MarshalJSON

func (s *RecordingsDeleteSegmentBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsDeleteSegmentBadRequest) UnmarshalJSON

func (s *RecordingsDeleteSegmentBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsDeleteSegmentInternalServerError

type RecordingsDeleteSegmentInternalServerError Error

func (*RecordingsDeleteSegmentInternalServerError) Decode

Decode decodes RecordingsDeleteSegmentInternalServerError from json.

func (*RecordingsDeleteSegmentInternalServerError) Encode

Encode encodes RecordingsDeleteSegmentInternalServerError as json.

func (*RecordingsDeleteSegmentInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsDeleteSegmentInternalServerError) UnmarshalJSON

func (s *RecordingsDeleteSegmentInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsDeleteSegmentNotFound

type RecordingsDeleteSegmentNotFound Error

func (*RecordingsDeleteSegmentNotFound) Decode

Decode decodes RecordingsDeleteSegmentNotFound from json.

func (*RecordingsDeleteSegmentNotFound) Encode

Encode encodes RecordingsDeleteSegmentNotFound as json.

func (*RecordingsDeleteSegmentNotFound) MarshalJSON

func (s *RecordingsDeleteSegmentNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsDeleteSegmentNotFound) UnmarshalJSON

func (s *RecordingsDeleteSegmentNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsDeleteSegmentOK

type RecordingsDeleteSegmentOK struct{}

RecordingsDeleteSegmentOK is response for RecordingsDeleteSegment operation.

type RecordingsDeleteSegmentParams

type RecordingsDeleteSegmentParams struct {
	// Path.
	Path string
	// Starting date of the segment.
	Start string
}

RecordingsDeleteSegmentParams is parameters of recordingsDeleteSegment operation.

type RecordingsDeleteSegmentRes

type RecordingsDeleteSegmentRes interface {
	// contains filtered or unexported methods
}

type RecordingsGetBadRequest

type RecordingsGetBadRequest Error

func (*RecordingsGetBadRequest) Decode

func (s *RecordingsGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes RecordingsGetBadRequest from json.

func (*RecordingsGetBadRequest) Encode

func (s *RecordingsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes RecordingsGetBadRequest as json.

func (*RecordingsGetBadRequest) MarshalJSON

func (s *RecordingsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsGetBadRequest) UnmarshalJSON

func (s *RecordingsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsGetInternalServerError

type RecordingsGetInternalServerError Error

func (*RecordingsGetInternalServerError) Decode

Decode decodes RecordingsGetInternalServerError from json.

func (*RecordingsGetInternalServerError) Encode

Encode encodes RecordingsGetInternalServerError as json.

func (*RecordingsGetInternalServerError) MarshalJSON

func (s *RecordingsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsGetInternalServerError) UnmarshalJSON

func (s *RecordingsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsGetNotFound

type RecordingsGetNotFound Error

func (*RecordingsGetNotFound) Decode

func (s *RecordingsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes RecordingsGetNotFound from json.

func (*RecordingsGetNotFound) Encode

func (s *RecordingsGetNotFound) Encode(e *jx.Encoder)

Encode encodes RecordingsGetNotFound as json.

func (*RecordingsGetNotFound) MarshalJSON

func (s *RecordingsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsGetNotFound) UnmarshalJSON

func (s *RecordingsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsGetParams

type RecordingsGetParams struct {
	// Name of the path.
	Name string
}

RecordingsGetParams is parameters of recordingsGet operation.

type RecordingsGetRes

type RecordingsGetRes interface {
	// contains filtered or unexported methods
}

type RecordingsListBadRequest

type RecordingsListBadRequest Error

func (*RecordingsListBadRequest) Decode

func (s *RecordingsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes RecordingsListBadRequest from json.

func (*RecordingsListBadRequest) Encode

func (s *RecordingsListBadRequest) Encode(e *jx.Encoder)

Encode encodes RecordingsListBadRequest as json.

func (*RecordingsListBadRequest) MarshalJSON

func (s *RecordingsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsListBadRequest) UnmarshalJSON

func (s *RecordingsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsListInternalServerError

type RecordingsListInternalServerError Error

func (*RecordingsListInternalServerError) Decode

Decode decodes RecordingsListInternalServerError from json.

func (*RecordingsListInternalServerError) Encode

Encode encodes RecordingsListInternalServerError as json.

func (*RecordingsListInternalServerError) MarshalJSON

func (s *RecordingsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingsListInternalServerError) UnmarshalJSON

func (s *RecordingsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RecordingsListParams

type RecordingsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

RecordingsListParams is parameters of recordingsList operation.

type RecordingsListRes

type RecordingsListRes interface {
	// contains filtered or unexported methods
}

type RtmpConnectionsGetBadRequest

type RtmpConnectionsGetBadRequest Error

func (*RtmpConnectionsGetBadRequest) Decode

Decode decodes RtmpConnectionsGetBadRequest from json.

func (*RtmpConnectionsGetBadRequest) Encode

func (s *RtmpConnectionsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes RtmpConnectionsGetBadRequest as json.

func (*RtmpConnectionsGetBadRequest) MarshalJSON

func (s *RtmpConnectionsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnectionsGetBadRequest) UnmarshalJSON

func (s *RtmpConnectionsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnectionsGetInternalServerError

type RtmpConnectionsGetInternalServerError Error

func (*RtmpConnectionsGetInternalServerError) Decode

Decode decodes RtmpConnectionsGetInternalServerError from json.

func (*RtmpConnectionsGetInternalServerError) Encode

Encode encodes RtmpConnectionsGetInternalServerError as json.

func (*RtmpConnectionsGetInternalServerError) MarshalJSON

func (s *RtmpConnectionsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnectionsGetInternalServerError) UnmarshalJSON

func (s *RtmpConnectionsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnectionsGetNotFound

type RtmpConnectionsGetNotFound Error

func (*RtmpConnectionsGetNotFound) Decode

Decode decodes RtmpConnectionsGetNotFound from json.

func (*RtmpConnectionsGetNotFound) Encode

func (s *RtmpConnectionsGetNotFound) Encode(e *jx.Encoder)

Encode encodes RtmpConnectionsGetNotFound as json.

func (*RtmpConnectionsGetNotFound) MarshalJSON

func (s *RtmpConnectionsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnectionsGetNotFound) UnmarshalJSON

func (s *RtmpConnectionsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnectionsGetParams

type RtmpConnectionsGetParams struct {
	// ID of the connection.
	ID string
}

RtmpConnectionsGetParams is parameters of rtmpConnectionsGet operation.

type RtmpConnectionsGetRes

type RtmpConnectionsGetRes interface {
	// contains filtered or unexported methods
}

type RtmpConnsKickBadRequest

type RtmpConnsKickBadRequest Error

func (*RtmpConnsKickBadRequest) Decode

func (s *RtmpConnsKickBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtmpConnsKickBadRequest from json.

func (*RtmpConnsKickBadRequest) Encode

func (s *RtmpConnsKickBadRequest) Encode(e *jx.Encoder)

Encode encodes RtmpConnsKickBadRequest as json.

func (*RtmpConnsKickBadRequest) MarshalJSON

func (s *RtmpConnsKickBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnsKickBadRequest) UnmarshalJSON

func (s *RtmpConnsKickBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnsKickInternalServerError

type RtmpConnsKickInternalServerError Error

func (*RtmpConnsKickInternalServerError) Decode

Decode decodes RtmpConnsKickInternalServerError from json.

func (*RtmpConnsKickInternalServerError) Encode

Encode encodes RtmpConnsKickInternalServerError as json.

func (*RtmpConnsKickInternalServerError) MarshalJSON

func (s *RtmpConnsKickInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnsKickInternalServerError) UnmarshalJSON

func (s *RtmpConnsKickInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnsKickNotFound

type RtmpConnsKickNotFound Error

func (*RtmpConnsKickNotFound) Decode

func (s *RtmpConnsKickNotFound) Decode(d *jx.Decoder) error

Decode decodes RtmpConnsKickNotFound from json.

func (*RtmpConnsKickNotFound) Encode

func (s *RtmpConnsKickNotFound) Encode(e *jx.Encoder)

Encode encodes RtmpConnsKickNotFound as json.

func (*RtmpConnsKickNotFound) MarshalJSON

func (s *RtmpConnsKickNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnsKickNotFound) UnmarshalJSON

func (s *RtmpConnsKickNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnsKickOK

type RtmpConnsKickOK struct{}

RtmpConnsKickOK is response for RtmpConnsKick operation.

type RtmpConnsKickParams

type RtmpConnsKickParams struct {
	// ID of the connection.
	ID string
}

RtmpConnsKickParams is parameters of rtmpConnsKick operation.

type RtmpConnsKickRes

type RtmpConnsKickRes interface {
	// contains filtered or unexported methods
}

type RtmpConnsListBadRequest

type RtmpConnsListBadRequest Error

func (*RtmpConnsListBadRequest) Decode

func (s *RtmpConnsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtmpConnsListBadRequest from json.

func (*RtmpConnsListBadRequest) Encode

func (s *RtmpConnsListBadRequest) Encode(e *jx.Encoder)

Encode encodes RtmpConnsListBadRequest as json.

func (*RtmpConnsListBadRequest) MarshalJSON

func (s *RtmpConnsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnsListBadRequest) UnmarshalJSON

func (s *RtmpConnsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnsListInternalServerError

type RtmpConnsListInternalServerError Error

func (*RtmpConnsListInternalServerError) Decode

Decode decodes RtmpConnsListInternalServerError from json.

func (*RtmpConnsListInternalServerError) Encode

Encode encodes RtmpConnsListInternalServerError as json.

func (*RtmpConnsListInternalServerError) MarshalJSON

func (s *RtmpConnsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpConnsListInternalServerError) UnmarshalJSON

func (s *RtmpConnsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpConnsListParams

type RtmpConnsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

RtmpConnsListParams is parameters of rtmpConnsList operation.

type RtmpConnsListRes

type RtmpConnsListRes interface {
	// contains filtered or unexported methods
}

type RtmpsConnectionsGetBadRequest

type RtmpsConnectionsGetBadRequest Error

func (*RtmpsConnectionsGetBadRequest) Decode

Decode decodes RtmpsConnectionsGetBadRequest from json.

func (*RtmpsConnectionsGetBadRequest) Encode

Encode encodes RtmpsConnectionsGetBadRequest as json.

func (*RtmpsConnectionsGetBadRequest) MarshalJSON

func (s *RtmpsConnectionsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnectionsGetBadRequest) UnmarshalJSON

func (s *RtmpsConnectionsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnectionsGetInternalServerError

type RtmpsConnectionsGetInternalServerError Error

func (*RtmpsConnectionsGetInternalServerError) Decode

Decode decodes RtmpsConnectionsGetInternalServerError from json.

func (*RtmpsConnectionsGetInternalServerError) Encode

Encode encodes RtmpsConnectionsGetInternalServerError as json.

func (*RtmpsConnectionsGetInternalServerError) MarshalJSON

func (s *RtmpsConnectionsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnectionsGetInternalServerError) UnmarshalJSON

func (s *RtmpsConnectionsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnectionsGetNotFound

type RtmpsConnectionsGetNotFound Error

func (*RtmpsConnectionsGetNotFound) Decode

Decode decodes RtmpsConnectionsGetNotFound from json.

func (*RtmpsConnectionsGetNotFound) Encode

func (s *RtmpsConnectionsGetNotFound) Encode(e *jx.Encoder)

Encode encodes RtmpsConnectionsGetNotFound as json.

func (*RtmpsConnectionsGetNotFound) MarshalJSON

func (s *RtmpsConnectionsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnectionsGetNotFound) UnmarshalJSON

func (s *RtmpsConnectionsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnectionsGetParams

type RtmpsConnectionsGetParams struct {
	// ID of the connection.
	ID string
}

RtmpsConnectionsGetParams is parameters of rtmpsConnectionsGet operation.

type RtmpsConnectionsGetRes

type RtmpsConnectionsGetRes interface {
	// contains filtered or unexported methods
}

type RtmpsConnsKickBadRequest

type RtmpsConnsKickBadRequest Error

func (*RtmpsConnsKickBadRequest) Decode

func (s *RtmpsConnsKickBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtmpsConnsKickBadRequest from json.

func (*RtmpsConnsKickBadRequest) Encode

func (s *RtmpsConnsKickBadRequest) Encode(e *jx.Encoder)

Encode encodes RtmpsConnsKickBadRequest as json.

func (*RtmpsConnsKickBadRequest) MarshalJSON

func (s *RtmpsConnsKickBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnsKickBadRequest) UnmarshalJSON

func (s *RtmpsConnsKickBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnsKickInternalServerError

type RtmpsConnsKickInternalServerError Error

func (*RtmpsConnsKickInternalServerError) Decode

Decode decodes RtmpsConnsKickInternalServerError from json.

func (*RtmpsConnsKickInternalServerError) Encode

Encode encodes RtmpsConnsKickInternalServerError as json.

func (*RtmpsConnsKickInternalServerError) MarshalJSON

func (s *RtmpsConnsKickInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnsKickInternalServerError) UnmarshalJSON

func (s *RtmpsConnsKickInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnsKickNotFound

type RtmpsConnsKickNotFound Error

func (*RtmpsConnsKickNotFound) Decode

func (s *RtmpsConnsKickNotFound) Decode(d *jx.Decoder) error

Decode decodes RtmpsConnsKickNotFound from json.

func (*RtmpsConnsKickNotFound) Encode

func (s *RtmpsConnsKickNotFound) Encode(e *jx.Encoder)

Encode encodes RtmpsConnsKickNotFound as json.

func (*RtmpsConnsKickNotFound) MarshalJSON

func (s *RtmpsConnsKickNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnsKickNotFound) UnmarshalJSON

func (s *RtmpsConnsKickNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnsKickOK

type RtmpsConnsKickOK struct{}

RtmpsConnsKickOK is response for RtmpsConnsKick operation.

type RtmpsConnsKickParams

type RtmpsConnsKickParams struct {
	// ID of the connection.
	ID string
}

RtmpsConnsKickParams is parameters of rtmpsConnsKick operation.

type RtmpsConnsKickRes

type RtmpsConnsKickRes interface {
	// contains filtered or unexported methods
}

type RtmpsConnsListBadRequest

type RtmpsConnsListBadRequest Error

func (*RtmpsConnsListBadRequest) Decode

func (s *RtmpsConnsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtmpsConnsListBadRequest from json.

func (*RtmpsConnsListBadRequest) Encode

func (s *RtmpsConnsListBadRequest) Encode(e *jx.Encoder)

Encode encodes RtmpsConnsListBadRequest as json.

func (*RtmpsConnsListBadRequest) MarshalJSON

func (s *RtmpsConnsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnsListBadRequest) UnmarshalJSON

func (s *RtmpsConnsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnsListInternalServerError

type RtmpsConnsListInternalServerError Error

func (*RtmpsConnsListInternalServerError) Decode

Decode decodes RtmpsConnsListInternalServerError from json.

func (*RtmpsConnsListInternalServerError) Encode

Encode encodes RtmpsConnsListInternalServerError as json.

func (*RtmpsConnsListInternalServerError) MarshalJSON

func (s *RtmpsConnsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtmpsConnsListInternalServerError) UnmarshalJSON

func (s *RtmpsConnsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtmpsConnsListParams

type RtmpsConnsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

RtmpsConnsListParams is parameters of rtmpsConnsList operation.

type RtmpsConnsListRes

type RtmpsConnsListRes interface {
	// contains filtered or unexported methods
}

type RtspConnsGetBadRequest

type RtspConnsGetBadRequest Error

func (*RtspConnsGetBadRequest) Decode

func (s *RtspConnsGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtspConnsGetBadRequest from json.

func (*RtspConnsGetBadRequest) Encode

func (s *RtspConnsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspConnsGetBadRequest as json.

func (*RtspConnsGetBadRequest) MarshalJSON

func (s *RtspConnsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspConnsGetBadRequest) UnmarshalJSON

func (s *RtspConnsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspConnsGetInternalServerError

type RtspConnsGetInternalServerError Error

func (*RtspConnsGetInternalServerError) Decode

Decode decodes RtspConnsGetInternalServerError from json.

func (*RtspConnsGetInternalServerError) Encode

Encode encodes RtspConnsGetInternalServerError as json.

func (*RtspConnsGetInternalServerError) MarshalJSON

func (s *RtspConnsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspConnsGetInternalServerError) UnmarshalJSON

func (s *RtspConnsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspConnsGetNotFound

type RtspConnsGetNotFound Error

func (*RtspConnsGetNotFound) Decode

func (s *RtspConnsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes RtspConnsGetNotFound from json.

func (*RtspConnsGetNotFound) Encode

func (s *RtspConnsGetNotFound) Encode(e *jx.Encoder)

Encode encodes RtspConnsGetNotFound as json.

func (*RtspConnsGetNotFound) MarshalJSON

func (s *RtspConnsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspConnsGetNotFound) UnmarshalJSON

func (s *RtspConnsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspConnsGetParams

type RtspConnsGetParams struct {
	// ID of the connection.
	ID string
}

RtspConnsGetParams is parameters of rtspConnsGet operation.

type RtspConnsGetRes

type RtspConnsGetRes interface {
	// contains filtered or unexported methods
}

type RtspConnsListBadRequest

type RtspConnsListBadRequest Error

func (*RtspConnsListBadRequest) Decode

func (s *RtspConnsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtspConnsListBadRequest from json.

func (*RtspConnsListBadRequest) Encode

func (s *RtspConnsListBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspConnsListBadRequest as json.

func (*RtspConnsListBadRequest) MarshalJSON

func (s *RtspConnsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspConnsListBadRequest) UnmarshalJSON

func (s *RtspConnsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspConnsListInternalServerError

type RtspConnsListInternalServerError Error

func (*RtspConnsListInternalServerError) Decode

Decode decodes RtspConnsListInternalServerError from json.

func (*RtspConnsListInternalServerError) Encode

Encode encodes RtspConnsListInternalServerError as json.

func (*RtspConnsListInternalServerError) MarshalJSON

func (s *RtspConnsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspConnsListInternalServerError) UnmarshalJSON

func (s *RtspConnsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspConnsListParams

type RtspConnsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

RtspConnsListParams is parameters of rtspConnsList operation.

type RtspConnsListRes

type RtspConnsListRes interface {
	// contains filtered or unexported methods
}

type RtspSessionsGetBadRequest

type RtspSessionsGetBadRequest Error

func (*RtspSessionsGetBadRequest) Decode

func (s *RtspSessionsGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtspSessionsGetBadRequest from json.

func (*RtspSessionsGetBadRequest) Encode

func (s *RtspSessionsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspSessionsGetBadRequest as json.

func (*RtspSessionsGetBadRequest) MarshalJSON

func (s *RtspSessionsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsGetBadRequest) UnmarshalJSON

func (s *RtspSessionsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsGetInternalServerError

type RtspSessionsGetInternalServerError Error

func (*RtspSessionsGetInternalServerError) Decode

Decode decodes RtspSessionsGetInternalServerError from json.

func (*RtspSessionsGetInternalServerError) Encode

Encode encodes RtspSessionsGetInternalServerError as json.

func (*RtspSessionsGetInternalServerError) MarshalJSON

func (s *RtspSessionsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsGetInternalServerError) UnmarshalJSON

func (s *RtspSessionsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsGetNotFound

type RtspSessionsGetNotFound Error

func (*RtspSessionsGetNotFound) Decode

func (s *RtspSessionsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes RtspSessionsGetNotFound from json.

func (*RtspSessionsGetNotFound) Encode

func (s *RtspSessionsGetNotFound) Encode(e *jx.Encoder)

Encode encodes RtspSessionsGetNotFound as json.

func (*RtspSessionsGetNotFound) MarshalJSON

func (s *RtspSessionsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsGetNotFound) UnmarshalJSON

func (s *RtspSessionsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsGetParams

type RtspSessionsGetParams struct {
	// ID of the connection.
	ID string
}

RtspSessionsGetParams is parameters of rtspSessionsGet operation.

type RtspSessionsGetRes

type RtspSessionsGetRes interface {
	// contains filtered or unexported methods
}

type RtspSessionsKickBadRequest

type RtspSessionsKickBadRequest Error

func (*RtspSessionsKickBadRequest) Decode

Decode decodes RtspSessionsKickBadRequest from json.

func (*RtspSessionsKickBadRequest) Encode

func (s *RtspSessionsKickBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspSessionsKickBadRequest as json.

func (*RtspSessionsKickBadRequest) MarshalJSON

func (s *RtspSessionsKickBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsKickBadRequest) UnmarshalJSON

func (s *RtspSessionsKickBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsKickInternalServerError

type RtspSessionsKickInternalServerError Error

func (*RtspSessionsKickInternalServerError) Decode

Decode decodes RtspSessionsKickInternalServerError from json.

func (*RtspSessionsKickInternalServerError) Encode

Encode encodes RtspSessionsKickInternalServerError as json.

func (*RtspSessionsKickInternalServerError) MarshalJSON

func (s *RtspSessionsKickInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsKickInternalServerError) UnmarshalJSON

func (s *RtspSessionsKickInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsKickNotFound

type RtspSessionsKickNotFound Error

func (*RtspSessionsKickNotFound) Decode

func (s *RtspSessionsKickNotFound) Decode(d *jx.Decoder) error

Decode decodes RtspSessionsKickNotFound from json.

func (*RtspSessionsKickNotFound) Encode

func (s *RtspSessionsKickNotFound) Encode(e *jx.Encoder)

Encode encodes RtspSessionsKickNotFound as json.

func (*RtspSessionsKickNotFound) MarshalJSON

func (s *RtspSessionsKickNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsKickNotFound) UnmarshalJSON

func (s *RtspSessionsKickNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsKickOK

type RtspSessionsKickOK struct{}

RtspSessionsKickOK is response for RtspSessionsKick operation.

type RtspSessionsKickParams

type RtspSessionsKickParams struct {
	// ID of the session.
	ID string
}

RtspSessionsKickParams is parameters of rtspSessionsKick operation.

type RtspSessionsKickRes

type RtspSessionsKickRes interface {
	// contains filtered or unexported methods
}

type RtspSessionsListBadRequest

type RtspSessionsListBadRequest Error

func (*RtspSessionsListBadRequest) Decode

Decode decodes RtspSessionsListBadRequest from json.

func (*RtspSessionsListBadRequest) Encode

func (s *RtspSessionsListBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspSessionsListBadRequest as json.

func (*RtspSessionsListBadRequest) MarshalJSON

func (s *RtspSessionsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsListBadRequest) UnmarshalJSON

func (s *RtspSessionsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsListInternalServerError

type RtspSessionsListInternalServerError Error

func (*RtspSessionsListInternalServerError) Decode

Decode decodes RtspSessionsListInternalServerError from json.

func (*RtspSessionsListInternalServerError) Encode

Encode encodes RtspSessionsListInternalServerError as json.

func (*RtspSessionsListInternalServerError) MarshalJSON

func (s *RtspSessionsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspSessionsListInternalServerError) UnmarshalJSON

func (s *RtspSessionsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspSessionsListParams

type RtspSessionsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

RtspSessionsListParams is parameters of rtspSessionsList operation.

type RtspSessionsListRes

type RtspSessionsListRes interface {
	// contains filtered or unexported methods
}

type RtspsConnsGetBadRequest

type RtspsConnsGetBadRequest Error

func (*RtspsConnsGetBadRequest) Decode

func (s *RtspsConnsGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtspsConnsGetBadRequest from json.

func (*RtspsConnsGetBadRequest) Encode

func (s *RtspsConnsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspsConnsGetBadRequest as json.

func (*RtspsConnsGetBadRequest) MarshalJSON

func (s *RtspsConnsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsConnsGetBadRequest) UnmarshalJSON

func (s *RtspsConnsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsConnsGetInternalServerError

type RtspsConnsGetInternalServerError Error

func (*RtspsConnsGetInternalServerError) Decode

Decode decodes RtspsConnsGetInternalServerError from json.

func (*RtspsConnsGetInternalServerError) Encode

Encode encodes RtspsConnsGetInternalServerError as json.

func (*RtspsConnsGetInternalServerError) MarshalJSON

func (s *RtspsConnsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsConnsGetInternalServerError) UnmarshalJSON

func (s *RtspsConnsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsConnsGetNotFound

type RtspsConnsGetNotFound Error

func (*RtspsConnsGetNotFound) Decode

func (s *RtspsConnsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes RtspsConnsGetNotFound from json.

func (*RtspsConnsGetNotFound) Encode

func (s *RtspsConnsGetNotFound) Encode(e *jx.Encoder)

Encode encodes RtspsConnsGetNotFound as json.

func (*RtspsConnsGetNotFound) MarshalJSON

func (s *RtspsConnsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsConnsGetNotFound) UnmarshalJSON

func (s *RtspsConnsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsConnsGetParams

type RtspsConnsGetParams struct {
	// ID of the connection.
	ID string
}

RtspsConnsGetParams is parameters of rtspsConnsGet operation.

type RtspsConnsGetRes

type RtspsConnsGetRes interface {
	// contains filtered or unexported methods
}

type RtspsConnsListBadRequest

type RtspsConnsListBadRequest Error

func (*RtspsConnsListBadRequest) Decode

func (s *RtspsConnsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes RtspsConnsListBadRequest from json.

func (*RtspsConnsListBadRequest) Encode

func (s *RtspsConnsListBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspsConnsListBadRequest as json.

func (*RtspsConnsListBadRequest) MarshalJSON

func (s *RtspsConnsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsConnsListBadRequest) UnmarshalJSON

func (s *RtspsConnsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsConnsListInternalServerError

type RtspsConnsListInternalServerError Error

func (*RtspsConnsListInternalServerError) Decode

Decode decodes RtspsConnsListInternalServerError from json.

func (*RtspsConnsListInternalServerError) Encode

Encode encodes RtspsConnsListInternalServerError as json.

func (*RtspsConnsListInternalServerError) MarshalJSON

func (s *RtspsConnsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsConnsListInternalServerError) UnmarshalJSON

func (s *RtspsConnsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsConnsListParams

type RtspsConnsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

RtspsConnsListParams is parameters of rtspsConnsList operation.

type RtspsConnsListRes

type RtspsConnsListRes interface {
	// contains filtered or unexported methods
}

type RtspsSessionsGetBadRequest

type RtspsSessionsGetBadRequest Error

func (*RtspsSessionsGetBadRequest) Decode

Decode decodes RtspsSessionsGetBadRequest from json.

func (*RtspsSessionsGetBadRequest) Encode

func (s *RtspsSessionsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspsSessionsGetBadRequest as json.

func (*RtspsSessionsGetBadRequest) MarshalJSON

func (s *RtspsSessionsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsGetBadRequest) UnmarshalJSON

func (s *RtspsSessionsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsGetInternalServerError

type RtspsSessionsGetInternalServerError Error

func (*RtspsSessionsGetInternalServerError) Decode

Decode decodes RtspsSessionsGetInternalServerError from json.

func (*RtspsSessionsGetInternalServerError) Encode

Encode encodes RtspsSessionsGetInternalServerError as json.

func (*RtspsSessionsGetInternalServerError) MarshalJSON

func (s *RtspsSessionsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsGetInternalServerError) UnmarshalJSON

func (s *RtspsSessionsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsGetNotFound

type RtspsSessionsGetNotFound Error

func (*RtspsSessionsGetNotFound) Decode

func (s *RtspsSessionsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes RtspsSessionsGetNotFound from json.

func (*RtspsSessionsGetNotFound) Encode

func (s *RtspsSessionsGetNotFound) Encode(e *jx.Encoder)

Encode encodes RtspsSessionsGetNotFound as json.

func (*RtspsSessionsGetNotFound) MarshalJSON

func (s *RtspsSessionsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsGetNotFound) UnmarshalJSON

func (s *RtspsSessionsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsGetParams

type RtspsSessionsGetParams struct {
	// ID of the connection.
	ID string
}

RtspsSessionsGetParams is parameters of rtspsSessionsGet operation.

type RtspsSessionsGetRes

type RtspsSessionsGetRes interface {
	// contains filtered or unexported methods
}

type RtspsSessionsKickBadRequest

type RtspsSessionsKickBadRequest Error

func (*RtspsSessionsKickBadRequest) Decode

Decode decodes RtspsSessionsKickBadRequest from json.

func (*RtspsSessionsKickBadRequest) Encode

func (s *RtspsSessionsKickBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspsSessionsKickBadRequest as json.

func (*RtspsSessionsKickBadRequest) MarshalJSON

func (s *RtspsSessionsKickBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsKickBadRequest) UnmarshalJSON

func (s *RtspsSessionsKickBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsKickInternalServerError

type RtspsSessionsKickInternalServerError Error

func (*RtspsSessionsKickInternalServerError) Decode

Decode decodes RtspsSessionsKickInternalServerError from json.

func (*RtspsSessionsKickInternalServerError) Encode

Encode encodes RtspsSessionsKickInternalServerError as json.

func (*RtspsSessionsKickInternalServerError) MarshalJSON

func (s *RtspsSessionsKickInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsKickInternalServerError) UnmarshalJSON

func (s *RtspsSessionsKickInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsKickNotFound

type RtspsSessionsKickNotFound Error

func (*RtspsSessionsKickNotFound) Decode

func (s *RtspsSessionsKickNotFound) Decode(d *jx.Decoder) error

Decode decodes RtspsSessionsKickNotFound from json.

func (*RtspsSessionsKickNotFound) Encode

func (s *RtspsSessionsKickNotFound) Encode(e *jx.Encoder)

Encode encodes RtspsSessionsKickNotFound as json.

func (*RtspsSessionsKickNotFound) MarshalJSON

func (s *RtspsSessionsKickNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsKickNotFound) UnmarshalJSON

func (s *RtspsSessionsKickNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsKickOK

type RtspsSessionsKickOK struct{}

RtspsSessionsKickOK is response for RtspsSessionsKick operation.

type RtspsSessionsKickParams

type RtspsSessionsKickParams struct {
	// ID of the session.
	ID string
}

RtspsSessionsKickParams is parameters of rtspsSessionsKick operation.

type RtspsSessionsKickRes

type RtspsSessionsKickRes interface {
	// contains filtered or unexported methods
}

type RtspsSessionsListBadRequest

type RtspsSessionsListBadRequest Error

func (*RtspsSessionsListBadRequest) Decode

Decode decodes RtspsSessionsListBadRequest from json.

func (*RtspsSessionsListBadRequest) Encode

func (s *RtspsSessionsListBadRequest) Encode(e *jx.Encoder)

Encode encodes RtspsSessionsListBadRequest as json.

func (*RtspsSessionsListBadRequest) MarshalJSON

func (s *RtspsSessionsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsListBadRequest) UnmarshalJSON

func (s *RtspsSessionsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsListInternalServerError

type RtspsSessionsListInternalServerError Error

func (*RtspsSessionsListInternalServerError) Decode

Decode decodes RtspsSessionsListInternalServerError from json.

func (*RtspsSessionsListInternalServerError) Encode

Encode encodes RtspsSessionsListInternalServerError as json.

func (*RtspsSessionsListInternalServerError) MarshalJSON

func (s *RtspsSessionsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RtspsSessionsListInternalServerError) UnmarshalJSON

func (s *RtspsSessionsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RtspsSessionsListParams

type RtspsSessionsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

RtspsSessionsListParams is parameters of rtspsSessionsList operation.

type RtspsSessionsListRes

type RtspsSessionsListRes interface {
	// contains filtered or unexported methods
}

type SRTConn

type SRTConn struct {
	ID         OptString       `json:"id"`
	Created    OptString       `json:"created"`
	RemoteAddr OptString       `json:"remoteAddr"`
	State      OptSRTConnState `json:"state"`
	Path       OptString       `json:"path"`
	Query      OptString       `json:"query"`
	// The total number of sent DATA packets, including retransmitted packets.
	PacketsSent OptInt64 `json:"packetsSent"`
	// The total number of received DATA packets, including retransmitted packets.
	PacketsReceived        OptInt64 `json:"packetsReceived"`
	PacketsReceivedBelated OptInt64 `json:"packetsReceivedBelated"`
	// The total number of unique DATA packets sent by the SRT sender.
	PacketsSentUnique OptInt64 `json:"packetsSentUnique"`
	// The total number of unique original, retransmitted or recovered by the packet filter DATA packets
	// received in time, decrypted without errors and, as a result, scheduled for delivery to the
	// upstream application by the SRT receiver.
	PacketsReceivedUnique OptInt64 `json:"packetsReceivedUnique"`
	// The total number of data packets considered or reported as lost at the sender side. Does not
	// correspond to the packets detected as lost at the receiver side.
	PacketsSendLoss OptInt64 `json:"packetsSendLoss"`
	// The total number of SRT DATA packets detected as presently missing (either reordered or lost) at
	// the receiver side.
	PacketsReceivedLoss OptInt64 `json:"packetsReceivedLoss"`
	// The total number of retransmitted packets sent by the SRT sender.
	PacketsRetrans OptInt64 `json:"packetsRetrans"`
	// The total number of retransmitted packets registered at the receiver side.
	PacketsReceivedRetrans OptInt64 `json:"packetsReceivedRetrans"`
	// The total number of sent ACK (Acknowledgement) control packets.
	PacketsSentACK OptInt64 `json:"packetsSentACK"`
	// The total number of received ACK (Acknowledgement) control packets.
	PacketsReceivedACK OptInt64 `json:"packetsReceivedACK"`
	// The total number of sent NAK (Negative Acknowledgement) control packets.
	PacketsSentNAK OptInt64 `json:"packetsSentNAK"`
	// The total number of received NAK (Negative Acknowledgement) control packets.
	PacketsReceivedNAK OptInt64 `json:"packetsReceivedNAK"`
	// The total number of sent KM (Key Material) control packets.
	PacketsSentKM OptInt64 `json:"packetsSentKM"`
	// The total number of received KM (Key Material) control packets.
	PacketsReceivedKM OptInt64 `json:"packetsReceivedKM"`
	// The total accumulated time in microseconds, during which the SRT sender has some data to transmit,
	// including packets that have been sent, but not yet acknowledged.
	UsSndDuration OptInt64 `json:"usSndDuration"`
	// The total number of dropped by the SRT sender DATA packets that have no chance to be delivered in
	// time.
	PacketsSendDrop OptInt64 `json:"packetsSendDrop"`
	// The total number of dropped by the SRT receiver and, as a result, not delivered to the upstream
	// application DATA packets.
	PacketsReceivedDrop OptInt64 `json:"packetsReceivedDrop"`
	// The total number of packets that failed to be decrypted at the receiver side.
	PacketsReceivedUndecrypt OptInt64 `json:"packetsReceivedUndecrypt"`
	// Same as packetsSent, but expressed in bytes, including payload and all the headers (IP, TCP, SRT).
	BytesSent OptInt64 `json:"bytesSent"`
	// Same as packetsReceived, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesReceived        OptInt64 `json:"bytesReceived"`
	BytesReceivedBelated OptInt64 `json:"bytesReceivedBelated"`
	// Same as packetsSentUnique, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesSentUnique OptInt64 `json:"bytesSentUnique"`
	// Same as packetsReceivedUnique, but expressed in bytes, including payload and all the headers (IP,
	// TCP, SRT).
	BytesReceivedUnique OptInt64 `json:"bytesReceivedUnique"`
	// Same as packetsReceivedLoss, but expressed in bytes, including payload and all the headers (IP,
	// TCP, SRT), bytes for the presently missing (either reordered or lost) packets' payloads are
	// estimated based on the average packet size.
	BytesReceivedLoss OptInt64 `json:"bytesReceivedLoss"`
	// Same as packetsRetrans, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesRetrans OptInt64 `json:"bytesRetrans"`
	// Same as packetsReceivedRetrans, but expressed in bytes, including payload and all the headers (IP,
	// TCP, SRT).
	BytesReceivedRetrans OptInt64 `json:"bytesReceivedRetrans"`
	// Same as packetsSendDrop, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesSendDrop OptInt64 `json:"bytesSendDrop"`
	// Same as packetsReceivedDrop, but expressed in bytes, including payload and all the headers (IP,
	// TCP, SRT).
	BytesReceivedDrop OptInt64 `json:"bytesReceivedDrop"`
	// Same as packetsReceivedUndecrypt, but expressed in bytes, including payload and all the headers
	// (IP, TCP, SRT).
	BytesReceivedUndecrypt OptInt64 `json:"bytesReceivedUndecrypt"`
	// Current minimum time interval between which consecutive packets are sent, in microseconds.
	UsPacketsSendPeriod OptFloat64 `json:"usPacketsSendPeriod"`
	// The maximum number of packets that can be "in flight".
	PacketsFlowWindow OptInt64 `json:"packetsFlowWindow"`
	// The number of packets in flight.
	PacketsFlightSize OptInt64 `json:"packetsFlightSize"`
	// Smoothed round-trip time (SRTT), an exponentially-weighted moving average (EWMA) of an endpoint's
	// RTT samples, in milliseconds.
	MsRTT OptFloat64 `json:"msRTT"`
	// Current transmission bandwidth, in Mbps.
	MbpsSendRate OptFloat64 `json:"mbpsSendRate"`
	// Current receiving bandwidth, in Mbps.
	MbpsReceiveRate OptFloat64 `json:"mbpsReceiveRate"`
	// Estimated capacity of the network link, in Mbps.
	MbpsLinkCapacity OptFloat64 `json:"mbpsLinkCapacity"`
	// The available space in the sender's buffer, in bytes.
	BytesAvailSendBuf OptInt64 `json:"bytesAvailSendBuf"`
	// The available space in the receiver's buffer, in bytes.
	BytesAvailReceiveBuf OptInt64 `json:"bytesAvailReceiveBuf"`
	// Transmission bandwidth limit, in Mbps.
	MbpsMaxBW OptFloat64 `json:"mbpsMaxBW"`
	// Maximum Segment Size (MSS), in bytes.
	ByteMSS OptInt64 `json:"byteMSS"`
	// The number of packets in the sender's buffer that are already scheduled for sending or even
	// possibly sent, but not yet acknowledged.
	PacketsSendBuf OptInt64 `json:"packetsSendBuf"`
	// Instantaneous (current) value of packetsSndBuf, but expressed in bytes, including payload and all
	// headers (IP, TCP, SRT).
	BytesSendBuf OptInt64 `json:"bytesSendBuf"`
	// The timespan (msec) of packets in the sender's buffer (unacknowledged packets).
	MsSendBuf OptInt64 `json:"msSendBuf"`
	// Timestamp-based Packet Delivery Delay value of the peer.
	MsSendTsbPdDelay OptInt64 `json:"msSendTsbPdDelay"`
	// The number of acknowledged packets in receiver's buffer.
	PacketsReceiveBuf OptInt64 `json:"packetsReceiveBuf"`
	// Instantaneous (current) value of packetsRcvBuf, expressed in bytes, including payload and all
	// headers (IP, TCP, SRT).
	BytesReceiveBuf OptInt64 `json:"bytesReceiveBuf"`
	// The timespan (msec) of acknowledged packets in the receiver's buffer.
	MsReceiveBuf OptInt64 `json:"msReceiveBuf"`
	// Timestamp-based Packet Delivery Delay value set on the socket via SRTO_RCVLATENCY or SRTO_LATENCY.
	MsReceiveTsbPdDelay OptInt64 `json:"msReceiveTsbPdDelay"`
	// Instant value of the packet reorder tolerance.
	PacketsReorderTolerance OptInt64 `json:"packetsReorderTolerance"`
	// Accumulated difference between the current time and the time-to-play of a packet that is received
	// late.
	PacketsReceivedAvgBelatedTime OptInt64 `json:"packetsReceivedAvgBelatedTime"`
	// Percentage of resent data vs. sent data.
	PacketsSendLossRate OptFloat64 `json:"packetsSendLossRate"`
	// Percentage of retransmitted data vs. received data.
	PacketsReceivedLossRate OptFloat64 `json:"packetsReceivedLossRate"`
}

Ref: #/components/schemas/SRTConn

func (*SRTConn) Decode

func (s *SRTConn) Decode(d *jx.Decoder) error

Decode decodes SRTConn from json.

func (*SRTConn) Encode

func (s *SRTConn) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SRTConn) GetByteMSS

func (s *SRTConn) GetByteMSS() OptInt64

GetByteMSS returns the value of ByteMSS.

func (*SRTConn) GetBytesAvailReceiveBuf

func (s *SRTConn) GetBytesAvailReceiveBuf() OptInt64

GetBytesAvailReceiveBuf returns the value of BytesAvailReceiveBuf.

func (*SRTConn) GetBytesAvailSendBuf

func (s *SRTConn) GetBytesAvailSendBuf() OptInt64

GetBytesAvailSendBuf returns the value of BytesAvailSendBuf.

func (*SRTConn) GetBytesReceiveBuf

func (s *SRTConn) GetBytesReceiveBuf() OptInt64

GetBytesReceiveBuf returns the value of BytesReceiveBuf.

func (*SRTConn) GetBytesReceived

func (s *SRTConn) GetBytesReceived() OptInt64

GetBytesReceived returns the value of BytesReceived.

func (*SRTConn) GetBytesReceivedBelated

func (s *SRTConn) GetBytesReceivedBelated() OptInt64

GetBytesReceivedBelated returns the value of BytesReceivedBelated.

func (*SRTConn) GetBytesReceivedDrop

func (s *SRTConn) GetBytesReceivedDrop() OptInt64

GetBytesReceivedDrop returns the value of BytesReceivedDrop.

func (*SRTConn) GetBytesReceivedLoss

func (s *SRTConn) GetBytesReceivedLoss() OptInt64

GetBytesReceivedLoss returns the value of BytesReceivedLoss.

func (*SRTConn) GetBytesReceivedRetrans

func (s *SRTConn) GetBytesReceivedRetrans() OptInt64

GetBytesReceivedRetrans returns the value of BytesReceivedRetrans.

func (*SRTConn) GetBytesReceivedUndecrypt

func (s *SRTConn) GetBytesReceivedUndecrypt() OptInt64

GetBytesReceivedUndecrypt returns the value of BytesReceivedUndecrypt.

func (*SRTConn) GetBytesReceivedUnique

func (s *SRTConn) GetBytesReceivedUnique() OptInt64

GetBytesReceivedUnique returns the value of BytesReceivedUnique.

func (*SRTConn) GetBytesRetrans

func (s *SRTConn) GetBytesRetrans() OptInt64

GetBytesRetrans returns the value of BytesRetrans.

func (*SRTConn) GetBytesSendBuf

func (s *SRTConn) GetBytesSendBuf() OptInt64

GetBytesSendBuf returns the value of BytesSendBuf.

func (*SRTConn) GetBytesSendDrop

func (s *SRTConn) GetBytesSendDrop() OptInt64

GetBytesSendDrop returns the value of BytesSendDrop.

func (*SRTConn) GetBytesSent

func (s *SRTConn) GetBytesSent() OptInt64

GetBytesSent returns the value of BytesSent.

func (*SRTConn) GetBytesSentUnique

func (s *SRTConn) GetBytesSentUnique() OptInt64

GetBytesSentUnique returns the value of BytesSentUnique.

func (*SRTConn) GetCreated

func (s *SRTConn) GetCreated() OptString

GetCreated returns the value of Created.

func (*SRTConn) GetID

func (s *SRTConn) GetID() OptString

GetID returns the value of ID.

func (*SRTConn) GetMbpsLinkCapacity

func (s *SRTConn) GetMbpsLinkCapacity() OptFloat64

GetMbpsLinkCapacity returns the value of MbpsLinkCapacity.

func (*SRTConn) GetMbpsMaxBW

func (s *SRTConn) GetMbpsMaxBW() OptFloat64

GetMbpsMaxBW returns the value of MbpsMaxBW.

func (*SRTConn) GetMbpsReceiveRate

func (s *SRTConn) GetMbpsReceiveRate() OptFloat64

GetMbpsReceiveRate returns the value of MbpsReceiveRate.

func (*SRTConn) GetMbpsSendRate

func (s *SRTConn) GetMbpsSendRate() OptFloat64

GetMbpsSendRate returns the value of MbpsSendRate.

func (*SRTConn) GetMsRTT

func (s *SRTConn) GetMsRTT() OptFloat64

GetMsRTT returns the value of MsRTT.

func (*SRTConn) GetMsReceiveBuf

func (s *SRTConn) GetMsReceiveBuf() OptInt64

GetMsReceiveBuf returns the value of MsReceiveBuf.

func (*SRTConn) GetMsReceiveTsbPdDelay

func (s *SRTConn) GetMsReceiveTsbPdDelay() OptInt64

GetMsReceiveTsbPdDelay returns the value of MsReceiveTsbPdDelay.

func (*SRTConn) GetMsSendBuf

func (s *SRTConn) GetMsSendBuf() OptInt64

GetMsSendBuf returns the value of MsSendBuf.

func (*SRTConn) GetMsSendTsbPdDelay

func (s *SRTConn) GetMsSendTsbPdDelay() OptInt64

GetMsSendTsbPdDelay returns the value of MsSendTsbPdDelay.

func (*SRTConn) GetPacketsFlightSize

func (s *SRTConn) GetPacketsFlightSize() OptInt64

GetPacketsFlightSize returns the value of PacketsFlightSize.

func (*SRTConn) GetPacketsFlowWindow

func (s *SRTConn) GetPacketsFlowWindow() OptInt64

GetPacketsFlowWindow returns the value of PacketsFlowWindow.

func (*SRTConn) GetPacketsReceiveBuf

func (s *SRTConn) GetPacketsReceiveBuf() OptInt64

GetPacketsReceiveBuf returns the value of PacketsReceiveBuf.

func (*SRTConn) GetPacketsReceived

func (s *SRTConn) GetPacketsReceived() OptInt64

GetPacketsReceived returns the value of PacketsReceived.

func (*SRTConn) GetPacketsReceivedACK

func (s *SRTConn) GetPacketsReceivedACK() OptInt64

GetPacketsReceivedACK returns the value of PacketsReceivedACK.

func (*SRTConn) GetPacketsReceivedAvgBelatedTime

func (s *SRTConn) GetPacketsReceivedAvgBelatedTime() OptInt64

GetPacketsReceivedAvgBelatedTime returns the value of PacketsReceivedAvgBelatedTime.

func (*SRTConn) GetPacketsReceivedBelated

func (s *SRTConn) GetPacketsReceivedBelated() OptInt64

GetPacketsReceivedBelated returns the value of PacketsReceivedBelated.

func (*SRTConn) GetPacketsReceivedDrop

func (s *SRTConn) GetPacketsReceivedDrop() OptInt64

GetPacketsReceivedDrop returns the value of PacketsReceivedDrop.

func (*SRTConn) GetPacketsReceivedKM

func (s *SRTConn) GetPacketsReceivedKM() OptInt64

GetPacketsReceivedKM returns the value of PacketsReceivedKM.

func (*SRTConn) GetPacketsReceivedLoss

func (s *SRTConn) GetPacketsReceivedLoss() OptInt64

GetPacketsReceivedLoss returns the value of PacketsReceivedLoss.

func (*SRTConn) GetPacketsReceivedLossRate

func (s *SRTConn) GetPacketsReceivedLossRate() OptFloat64

GetPacketsReceivedLossRate returns the value of PacketsReceivedLossRate.

func (*SRTConn) GetPacketsReceivedNAK

func (s *SRTConn) GetPacketsReceivedNAK() OptInt64

GetPacketsReceivedNAK returns the value of PacketsReceivedNAK.

func (*SRTConn) GetPacketsReceivedRetrans

func (s *SRTConn) GetPacketsReceivedRetrans() OptInt64

GetPacketsReceivedRetrans returns the value of PacketsReceivedRetrans.

func (*SRTConn) GetPacketsReceivedUndecrypt

func (s *SRTConn) GetPacketsReceivedUndecrypt() OptInt64

GetPacketsReceivedUndecrypt returns the value of PacketsReceivedUndecrypt.

func (*SRTConn) GetPacketsReceivedUnique

func (s *SRTConn) GetPacketsReceivedUnique() OptInt64

GetPacketsReceivedUnique returns the value of PacketsReceivedUnique.

func (*SRTConn) GetPacketsReorderTolerance

func (s *SRTConn) GetPacketsReorderTolerance() OptInt64

GetPacketsReorderTolerance returns the value of PacketsReorderTolerance.

func (*SRTConn) GetPacketsRetrans

func (s *SRTConn) GetPacketsRetrans() OptInt64

GetPacketsRetrans returns the value of PacketsRetrans.

func (*SRTConn) GetPacketsSendBuf

func (s *SRTConn) GetPacketsSendBuf() OptInt64

GetPacketsSendBuf returns the value of PacketsSendBuf.

func (*SRTConn) GetPacketsSendDrop

func (s *SRTConn) GetPacketsSendDrop() OptInt64

GetPacketsSendDrop returns the value of PacketsSendDrop.

func (*SRTConn) GetPacketsSendLoss

func (s *SRTConn) GetPacketsSendLoss() OptInt64

GetPacketsSendLoss returns the value of PacketsSendLoss.

func (*SRTConn) GetPacketsSendLossRate

func (s *SRTConn) GetPacketsSendLossRate() OptFloat64

GetPacketsSendLossRate returns the value of PacketsSendLossRate.

func (*SRTConn) GetPacketsSent

func (s *SRTConn) GetPacketsSent() OptInt64

GetPacketsSent returns the value of PacketsSent.

func (*SRTConn) GetPacketsSentACK

func (s *SRTConn) GetPacketsSentACK() OptInt64

GetPacketsSentACK returns the value of PacketsSentACK.

func (*SRTConn) GetPacketsSentKM

func (s *SRTConn) GetPacketsSentKM() OptInt64

GetPacketsSentKM returns the value of PacketsSentKM.

func (*SRTConn) GetPacketsSentNAK

func (s *SRTConn) GetPacketsSentNAK() OptInt64

GetPacketsSentNAK returns the value of PacketsSentNAK.

func (*SRTConn) GetPacketsSentUnique

func (s *SRTConn) GetPacketsSentUnique() OptInt64

GetPacketsSentUnique returns the value of PacketsSentUnique.

func (*SRTConn) GetPath

func (s *SRTConn) GetPath() OptString

GetPath returns the value of Path.

func (*SRTConn) GetQuery

func (s *SRTConn) GetQuery() OptString

GetQuery returns the value of Query.

func (*SRTConn) GetRemoteAddr

func (s *SRTConn) GetRemoteAddr() OptString

GetRemoteAddr returns the value of RemoteAddr.

func (*SRTConn) GetState

func (s *SRTConn) GetState() OptSRTConnState

GetState returns the value of State.

func (*SRTConn) GetUsPacketsSendPeriod

func (s *SRTConn) GetUsPacketsSendPeriod() OptFloat64

GetUsPacketsSendPeriod returns the value of UsPacketsSendPeriod.

func (*SRTConn) GetUsSndDuration

func (s *SRTConn) GetUsSndDuration() OptInt64

GetUsSndDuration returns the value of UsSndDuration.

func (*SRTConn) MarshalJSON

func (s *SRTConn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SRTConn) SetByteMSS

func (s *SRTConn) SetByteMSS(val OptInt64)

SetByteMSS sets the value of ByteMSS.

func (*SRTConn) SetBytesAvailReceiveBuf

func (s *SRTConn) SetBytesAvailReceiveBuf(val OptInt64)

SetBytesAvailReceiveBuf sets the value of BytesAvailReceiveBuf.

func (*SRTConn) SetBytesAvailSendBuf

func (s *SRTConn) SetBytesAvailSendBuf(val OptInt64)

SetBytesAvailSendBuf sets the value of BytesAvailSendBuf.

func (*SRTConn) SetBytesReceiveBuf

func (s *SRTConn) SetBytesReceiveBuf(val OptInt64)

SetBytesReceiveBuf sets the value of BytesReceiveBuf.

func (*SRTConn) SetBytesReceived

func (s *SRTConn) SetBytesReceived(val OptInt64)

SetBytesReceived sets the value of BytesReceived.

func (*SRTConn) SetBytesReceivedBelated

func (s *SRTConn) SetBytesReceivedBelated(val OptInt64)

SetBytesReceivedBelated sets the value of BytesReceivedBelated.

func (*SRTConn) SetBytesReceivedDrop

func (s *SRTConn) SetBytesReceivedDrop(val OptInt64)

SetBytesReceivedDrop sets the value of BytesReceivedDrop.

func (*SRTConn) SetBytesReceivedLoss

func (s *SRTConn) SetBytesReceivedLoss(val OptInt64)

SetBytesReceivedLoss sets the value of BytesReceivedLoss.

func (*SRTConn) SetBytesReceivedRetrans

func (s *SRTConn) SetBytesReceivedRetrans(val OptInt64)

SetBytesReceivedRetrans sets the value of BytesReceivedRetrans.

func (*SRTConn) SetBytesReceivedUndecrypt

func (s *SRTConn) SetBytesReceivedUndecrypt(val OptInt64)

SetBytesReceivedUndecrypt sets the value of BytesReceivedUndecrypt.

func (*SRTConn) SetBytesReceivedUnique

func (s *SRTConn) SetBytesReceivedUnique(val OptInt64)

SetBytesReceivedUnique sets the value of BytesReceivedUnique.

func (*SRTConn) SetBytesRetrans

func (s *SRTConn) SetBytesRetrans(val OptInt64)

SetBytesRetrans sets the value of BytesRetrans.

func (*SRTConn) SetBytesSendBuf

func (s *SRTConn) SetBytesSendBuf(val OptInt64)

SetBytesSendBuf sets the value of BytesSendBuf.

func (*SRTConn) SetBytesSendDrop

func (s *SRTConn) SetBytesSendDrop(val OptInt64)

SetBytesSendDrop sets the value of BytesSendDrop.

func (*SRTConn) SetBytesSent

func (s *SRTConn) SetBytesSent(val OptInt64)

SetBytesSent sets the value of BytesSent.

func (*SRTConn) SetBytesSentUnique

func (s *SRTConn) SetBytesSentUnique(val OptInt64)

SetBytesSentUnique sets the value of BytesSentUnique.

func (*SRTConn) SetCreated

func (s *SRTConn) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*SRTConn) SetID

func (s *SRTConn) SetID(val OptString)

SetID sets the value of ID.

func (*SRTConn) SetMbpsLinkCapacity

func (s *SRTConn) SetMbpsLinkCapacity(val OptFloat64)

SetMbpsLinkCapacity sets the value of MbpsLinkCapacity.

func (*SRTConn) SetMbpsMaxBW

func (s *SRTConn) SetMbpsMaxBW(val OptFloat64)

SetMbpsMaxBW sets the value of MbpsMaxBW.

func (*SRTConn) SetMbpsReceiveRate

func (s *SRTConn) SetMbpsReceiveRate(val OptFloat64)

SetMbpsReceiveRate sets the value of MbpsReceiveRate.

func (*SRTConn) SetMbpsSendRate

func (s *SRTConn) SetMbpsSendRate(val OptFloat64)

SetMbpsSendRate sets the value of MbpsSendRate.

func (*SRTConn) SetMsRTT

func (s *SRTConn) SetMsRTT(val OptFloat64)

SetMsRTT sets the value of MsRTT.

func (*SRTConn) SetMsReceiveBuf

func (s *SRTConn) SetMsReceiveBuf(val OptInt64)

SetMsReceiveBuf sets the value of MsReceiveBuf.

func (*SRTConn) SetMsReceiveTsbPdDelay

func (s *SRTConn) SetMsReceiveTsbPdDelay(val OptInt64)

SetMsReceiveTsbPdDelay sets the value of MsReceiveTsbPdDelay.

func (*SRTConn) SetMsSendBuf

func (s *SRTConn) SetMsSendBuf(val OptInt64)

SetMsSendBuf sets the value of MsSendBuf.

func (*SRTConn) SetMsSendTsbPdDelay

func (s *SRTConn) SetMsSendTsbPdDelay(val OptInt64)

SetMsSendTsbPdDelay sets the value of MsSendTsbPdDelay.

func (*SRTConn) SetPacketsFlightSize

func (s *SRTConn) SetPacketsFlightSize(val OptInt64)

SetPacketsFlightSize sets the value of PacketsFlightSize.

func (*SRTConn) SetPacketsFlowWindow

func (s *SRTConn) SetPacketsFlowWindow(val OptInt64)

SetPacketsFlowWindow sets the value of PacketsFlowWindow.

func (*SRTConn) SetPacketsReceiveBuf

func (s *SRTConn) SetPacketsReceiveBuf(val OptInt64)

SetPacketsReceiveBuf sets the value of PacketsReceiveBuf.

func (*SRTConn) SetPacketsReceived

func (s *SRTConn) SetPacketsReceived(val OptInt64)

SetPacketsReceived sets the value of PacketsReceived.

func (*SRTConn) SetPacketsReceivedACK

func (s *SRTConn) SetPacketsReceivedACK(val OptInt64)

SetPacketsReceivedACK sets the value of PacketsReceivedACK.

func (*SRTConn) SetPacketsReceivedAvgBelatedTime

func (s *SRTConn) SetPacketsReceivedAvgBelatedTime(val OptInt64)

SetPacketsReceivedAvgBelatedTime sets the value of PacketsReceivedAvgBelatedTime.

func (*SRTConn) SetPacketsReceivedBelated

func (s *SRTConn) SetPacketsReceivedBelated(val OptInt64)

SetPacketsReceivedBelated sets the value of PacketsReceivedBelated.

func (*SRTConn) SetPacketsReceivedDrop

func (s *SRTConn) SetPacketsReceivedDrop(val OptInt64)

SetPacketsReceivedDrop sets the value of PacketsReceivedDrop.

func (*SRTConn) SetPacketsReceivedKM

func (s *SRTConn) SetPacketsReceivedKM(val OptInt64)

SetPacketsReceivedKM sets the value of PacketsReceivedKM.

func (*SRTConn) SetPacketsReceivedLoss

func (s *SRTConn) SetPacketsReceivedLoss(val OptInt64)

SetPacketsReceivedLoss sets the value of PacketsReceivedLoss.

func (*SRTConn) SetPacketsReceivedLossRate

func (s *SRTConn) SetPacketsReceivedLossRate(val OptFloat64)

SetPacketsReceivedLossRate sets the value of PacketsReceivedLossRate.

func (*SRTConn) SetPacketsReceivedNAK

func (s *SRTConn) SetPacketsReceivedNAK(val OptInt64)

SetPacketsReceivedNAK sets the value of PacketsReceivedNAK.

func (*SRTConn) SetPacketsReceivedRetrans

func (s *SRTConn) SetPacketsReceivedRetrans(val OptInt64)

SetPacketsReceivedRetrans sets the value of PacketsReceivedRetrans.

func (*SRTConn) SetPacketsReceivedUndecrypt

func (s *SRTConn) SetPacketsReceivedUndecrypt(val OptInt64)

SetPacketsReceivedUndecrypt sets the value of PacketsReceivedUndecrypt.

func (*SRTConn) SetPacketsReceivedUnique

func (s *SRTConn) SetPacketsReceivedUnique(val OptInt64)

SetPacketsReceivedUnique sets the value of PacketsReceivedUnique.

func (*SRTConn) SetPacketsReorderTolerance

func (s *SRTConn) SetPacketsReorderTolerance(val OptInt64)

SetPacketsReorderTolerance sets the value of PacketsReorderTolerance.

func (*SRTConn) SetPacketsRetrans

func (s *SRTConn) SetPacketsRetrans(val OptInt64)

SetPacketsRetrans sets the value of PacketsRetrans.

func (*SRTConn) SetPacketsSendBuf

func (s *SRTConn) SetPacketsSendBuf(val OptInt64)

SetPacketsSendBuf sets the value of PacketsSendBuf.

func (*SRTConn) SetPacketsSendDrop

func (s *SRTConn) SetPacketsSendDrop(val OptInt64)

SetPacketsSendDrop sets the value of PacketsSendDrop.

func (*SRTConn) SetPacketsSendLoss

func (s *SRTConn) SetPacketsSendLoss(val OptInt64)

SetPacketsSendLoss sets the value of PacketsSendLoss.

func (*SRTConn) SetPacketsSendLossRate

func (s *SRTConn) SetPacketsSendLossRate(val OptFloat64)

SetPacketsSendLossRate sets the value of PacketsSendLossRate.

func (*SRTConn) SetPacketsSent

func (s *SRTConn) SetPacketsSent(val OptInt64)

SetPacketsSent sets the value of PacketsSent.

func (*SRTConn) SetPacketsSentACK

func (s *SRTConn) SetPacketsSentACK(val OptInt64)

SetPacketsSentACK sets the value of PacketsSentACK.

func (*SRTConn) SetPacketsSentKM

func (s *SRTConn) SetPacketsSentKM(val OptInt64)

SetPacketsSentKM sets the value of PacketsSentKM.

func (*SRTConn) SetPacketsSentNAK

func (s *SRTConn) SetPacketsSentNAK(val OptInt64)

SetPacketsSentNAK sets the value of PacketsSentNAK.

func (*SRTConn) SetPacketsSentUnique

func (s *SRTConn) SetPacketsSentUnique(val OptInt64)

SetPacketsSentUnique sets the value of PacketsSentUnique.

func (*SRTConn) SetPath

func (s *SRTConn) SetPath(val OptString)

SetPath sets the value of Path.

func (*SRTConn) SetQuery

func (s *SRTConn) SetQuery(val OptString)

SetQuery sets the value of Query.

func (*SRTConn) SetRemoteAddr

func (s *SRTConn) SetRemoteAddr(val OptString)

SetRemoteAddr sets the value of RemoteAddr.

func (*SRTConn) SetState

func (s *SRTConn) SetState(val OptSRTConnState)

SetState sets the value of State.

func (*SRTConn) SetUsPacketsSendPeriod

func (s *SRTConn) SetUsPacketsSendPeriod(val OptFloat64)

SetUsPacketsSendPeriod sets the value of UsPacketsSendPeriod.

func (*SRTConn) SetUsSndDuration

func (s *SRTConn) SetUsSndDuration(val OptInt64)

SetUsSndDuration sets the value of UsSndDuration.

func (*SRTConn) UnmarshalJSON

func (s *SRTConn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SRTConn) Validate

func (s *SRTConn) Validate() error

type SRTConnList

type SRTConnList struct {
	PageCount OptInt    `json:"pageCount"`
	ItemCount OptInt    `json:"itemCount"`
	Items     []SRTConn `json:"items"`
}

Ref: #/components/schemas/SRTConnList

func (*SRTConnList) Decode

func (s *SRTConnList) Decode(d *jx.Decoder) error

Decode decodes SRTConnList from json.

func (*SRTConnList) Encode

func (s *SRTConnList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SRTConnList) GetItemCount

func (s *SRTConnList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*SRTConnList) GetItems

func (s *SRTConnList) GetItems() []SRTConn

GetItems returns the value of Items.

func (*SRTConnList) GetPageCount

func (s *SRTConnList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*SRTConnList) MarshalJSON

func (s *SRTConnList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SRTConnList) SetItemCount

func (s *SRTConnList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*SRTConnList) SetItems

func (s *SRTConnList) SetItems(val []SRTConn)

SetItems sets the value of Items.

func (*SRTConnList) SetPageCount

func (s *SRTConnList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*SRTConnList) UnmarshalJSON

func (s *SRTConnList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SRTConnList) Validate

func (s *SRTConnList) Validate() error

type SRTConnState

type SRTConnState string
const (
	SRTConnStateIdle    SRTConnState = "idle"
	SRTConnStateRead    SRTConnState = "read"
	SRTConnStatePublish SRTConnState = "publish"
)

func (SRTConnState) AllValues

func (SRTConnState) AllValues() []SRTConnState

AllValues returns all SRTConnState values.

func (*SRTConnState) Decode

func (s *SRTConnState) Decode(d *jx.Decoder) error

Decode decodes SRTConnState from json.

func (SRTConnState) Encode

func (s SRTConnState) Encode(e *jx.Encoder)

Encode encodes SRTConnState as json.

func (SRTConnState) MarshalJSON

func (s SRTConnState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SRTConnState) MarshalText

func (s SRTConnState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SRTConnState) UnmarshalJSON

func (s *SRTConnState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SRTConnState) UnmarshalText

func (s *SRTConnState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SRTConnState) Validate

func (s SRTConnState) Validate() error

type SrtConnsGetBadRequest

type SrtConnsGetBadRequest Error

func (*SrtConnsGetBadRequest) Decode

func (s *SrtConnsGetBadRequest) Decode(d *jx.Decoder) error

Decode decodes SrtConnsGetBadRequest from json.

func (*SrtConnsGetBadRequest) Encode

func (s *SrtConnsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes SrtConnsGetBadRequest as json.

func (*SrtConnsGetBadRequest) MarshalJSON

func (s *SrtConnsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsGetBadRequest) UnmarshalJSON

func (s *SrtConnsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsGetInternalServerError

type SrtConnsGetInternalServerError Error

func (*SrtConnsGetInternalServerError) Decode

Decode decodes SrtConnsGetInternalServerError from json.

func (*SrtConnsGetInternalServerError) Encode

Encode encodes SrtConnsGetInternalServerError as json.

func (*SrtConnsGetInternalServerError) MarshalJSON

func (s *SrtConnsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsGetInternalServerError) UnmarshalJSON

func (s *SrtConnsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsGetNotFound

type SrtConnsGetNotFound Error

func (*SrtConnsGetNotFound) Decode

func (s *SrtConnsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes SrtConnsGetNotFound from json.

func (*SrtConnsGetNotFound) Encode

func (s *SrtConnsGetNotFound) Encode(e *jx.Encoder)

Encode encodes SrtConnsGetNotFound as json.

func (*SrtConnsGetNotFound) MarshalJSON

func (s *SrtConnsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsGetNotFound) UnmarshalJSON

func (s *SrtConnsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsGetParams

type SrtConnsGetParams struct {
	// ID of the connection.
	ID string
}

SrtConnsGetParams is parameters of srtConnsGet operation.

type SrtConnsGetRes

type SrtConnsGetRes interface {
	// contains filtered or unexported methods
}

type SrtConnsKickBadRequest

type SrtConnsKickBadRequest Error

func (*SrtConnsKickBadRequest) Decode

func (s *SrtConnsKickBadRequest) Decode(d *jx.Decoder) error

Decode decodes SrtConnsKickBadRequest from json.

func (*SrtConnsKickBadRequest) Encode

func (s *SrtConnsKickBadRequest) Encode(e *jx.Encoder)

Encode encodes SrtConnsKickBadRequest as json.

func (*SrtConnsKickBadRequest) MarshalJSON

func (s *SrtConnsKickBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsKickBadRequest) UnmarshalJSON

func (s *SrtConnsKickBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsKickInternalServerError

type SrtConnsKickInternalServerError Error

func (*SrtConnsKickInternalServerError) Decode

Decode decodes SrtConnsKickInternalServerError from json.

func (*SrtConnsKickInternalServerError) Encode

Encode encodes SrtConnsKickInternalServerError as json.

func (*SrtConnsKickInternalServerError) MarshalJSON

func (s *SrtConnsKickInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsKickInternalServerError) UnmarshalJSON

func (s *SrtConnsKickInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsKickNotFound

type SrtConnsKickNotFound Error

func (*SrtConnsKickNotFound) Decode

func (s *SrtConnsKickNotFound) Decode(d *jx.Decoder) error

Decode decodes SrtConnsKickNotFound from json.

func (*SrtConnsKickNotFound) Encode

func (s *SrtConnsKickNotFound) Encode(e *jx.Encoder)

Encode encodes SrtConnsKickNotFound as json.

func (*SrtConnsKickNotFound) MarshalJSON

func (s *SrtConnsKickNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsKickNotFound) UnmarshalJSON

func (s *SrtConnsKickNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsKickOK

type SrtConnsKickOK struct{}

SrtConnsKickOK is response for SrtConnsKick operation.

type SrtConnsKickParams

type SrtConnsKickParams struct {
	// ID of the connection.
	ID string
}

SrtConnsKickParams is parameters of srtConnsKick operation.

type SrtConnsKickRes

type SrtConnsKickRes interface {
	// contains filtered or unexported methods
}

type SrtConnsListBadRequest

type SrtConnsListBadRequest Error

func (*SrtConnsListBadRequest) Decode

func (s *SrtConnsListBadRequest) Decode(d *jx.Decoder) error

Decode decodes SrtConnsListBadRequest from json.

func (*SrtConnsListBadRequest) Encode

func (s *SrtConnsListBadRequest) Encode(e *jx.Encoder)

Encode encodes SrtConnsListBadRequest as json.

func (*SrtConnsListBadRequest) MarshalJSON

func (s *SrtConnsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsListBadRequest) UnmarshalJSON

func (s *SrtConnsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsListInternalServerError

type SrtConnsListInternalServerError Error

func (*SrtConnsListInternalServerError) Decode

Decode decodes SrtConnsListInternalServerError from json.

func (*SrtConnsListInternalServerError) Encode

Encode encodes SrtConnsListInternalServerError as json.

func (*SrtConnsListInternalServerError) MarshalJSON

func (s *SrtConnsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtConnsListInternalServerError) UnmarshalJSON

func (s *SrtConnsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SrtConnsListParams

type SrtConnsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

SrtConnsListParams is parameters of srtConnsList operation.

type SrtConnsListRes

type SrtConnsListRes interface {
	// contains filtered or unexported methods
}

type WebRTCSession

type WebRTCSession struct {
	ID                        OptString             `json:"id"`
	Created                   OptString             `json:"created"`
	RemoteAddr                OptString             `json:"remoteAddr"`
	PeerConnectionEstablished OptBool               `json:"peerConnectionEstablished"`
	LocalCandidate            OptString             `json:"localCandidate"`
	RemoteCandidate           OptString             `json:"remoteCandidate"`
	State                     OptWebRTCSessionState `json:"state"`
	Path                      OptString             `json:"path"`
	Query                     OptString             `json:"query"`
	BytesReceived             OptInt64              `json:"bytesReceived"`
	BytesSent                 OptInt64              `json:"bytesSent"`
}

Ref: #/components/schemas/WebRTCSession

func (*WebRTCSession) Decode

func (s *WebRTCSession) Decode(d *jx.Decoder) error

Decode decodes WebRTCSession from json.

func (*WebRTCSession) Encode

func (s *WebRTCSession) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebRTCSession) GetBytesReceived

func (s *WebRTCSession) GetBytesReceived() OptInt64

GetBytesReceived returns the value of BytesReceived.

func (*WebRTCSession) GetBytesSent

func (s *WebRTCSession) GetBytesSent() OptInt64

GetBytesSent returns the value of BytesSent.

func (*WebRTCSession) GetCreated

func (s *WebRTCSession) GetCreated() OptString

GetCreated returns the value of Created.

func (*WebRTCSession) GetID

func (s *WebRTCSession) GetID() OptString

GetID returns the value of ID.

func (*WebRTCSession) GetLocalCandidate

func (s *WebRTCSession) GetLocalCandidate() OptString

GetLocalCandidate returns the value of LocalCandidate.

func (*WebRTCSession) GetPath

func (s *WebRTCSession) GetPath() OptString

GetPath returns the value of Path.

func (*WebRTCSession) GetPeerConnectionEstablished

func (s *WebRTCSession) GetPeerConnectionEstablished() OptBool

GetPeerConnectionEstablished returns the value of PeerConnectionEstablished.

func (*WebRTCSession) GetQuery

func (s *WebRTCSession) GetQuery() OptString

GetQuery returns the value of Query.

func (*WebRTCSession) GetRemoteAddr

func (s *WebRTCSession) GetRemoteAddr() OptString

GetRemoteAddr returns the value of RemoteAddr.

func (*WebRTCSession) GetRemoteCandidate

func (s *WebRTCSession) GetRemoteCandidate() OptString

GetRemoteCandidate returns the value of RemoteCandidate.

func (*WebRTCSession) GetState

func (s *WebRTCSession) GetState() OptWebRTCSessionState

GetState returns the value of State.

func (*WebRTCSession) MarshalJSON

func (s *WebRTCSession) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebRTCSession) SetBytesReceived

func (s *WebRTCSession) SetBytesReceived(val OptInt64)

SetBytesReceived sets the value of BytesReceived.

func (*WebRTCSession) SetBytesSent

func (s *WebRTCSession) SetBytesSent(val OptInt64)

SetBytesSent sets the value of BytesSent.

func (*WebRTCSession) SetCreated

func (s *WebRTCSession) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*WebRTCSession) SetID

func (s *WebRTCSession) SetID(val OptString)

SetID sets the value of ID.

func (*WebRTCSession) SetLocalCandidate

func (s *WebRTCSession) SetLocalCandidate(val OptString)

SetLocalCandidate sets the value of LocalCandidate.

func (*WebRTCSession) SetPath

func (s *WebRTCSession) SetPath(val OptString)

SetPath sets the value of Path.

func (*WebRTCSession) SetPeerConnectionEstablished

func (s *WebRTCSession) SetPeerConnectionEstablished(val OptBool)

SetPeerConnectionEstablished sets the value of PeerConnectionEstablished.

func (*WebRTCSession) SetQuery

func (s *WebRTCSession) SetQuery(val OptString)

SetQuery sets the value of Query.

func (*WebRTCSession) SetRemoteAddr

func (s *WebRTCSession) SetRemoteAddr(val OptString)

SetRemoteAddr sets the value of RemoteAddr.

func (*WebRTCSession) SetRemoteCandidate

func (s *WebRTCSession) SetRemoteCandidate(val OptString)

SetRemoteCandidate sets the value of RemoteCandidate.

func (*WebRTCSession) SetState

func (s *WebRTCSession) SetState(val OptWebRTCSessionState)

SetState sets the value of State.

func (*WebRTCSession) UnmarshalJSON

func (s *WebRTCSession) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebRTCSession) Validate

func (s *WebRTCSession) Validate() error

type WebRTCSessionList

type WebRTCSessionList struct {
	PageCount OptInt          `json:"pageCount"`
	ItemCount OptInt          `json:"itemCount"`
	Items     []WebRTCSession `json:"items"`
}

Ref: #/components/schemas/WebRTCSessionList

func (*WebRTCSessionList) Decode

func (s *WebRTCSessionList) Decode(d *jx.Decoder) error

Decode decodes WebRTCSessionList from json.

func (*WebRTCSessionList) Encode

func (s *WebRTCSessionList) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebRTCSessionList) GetItemCount

func (s *WebRTCSessionList) GetItemCount() OptInt

GetItemCount returns the value of ItemCount.

func (*WebRTCSessionList) GetItems

func (s *WebRTCSessionList) GetItems() []WebRTCSession

GetItems returns the value of Items.

func (*WebRTCSessionList) GetPageCount

func (s *WebRTCSessionList) GetPageCount() OptInt

GetPageCount returns the value of PageCount.

func (*WebRTCSessionList) MarshalJSON

func (s *WebRTCSessionList) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebRTCSessionList) SetItemCount

func (s *WebRTCSessionList) SetItemCount(val OptInt)

SetItemCount sets the value of ItemCount.

func (*WebRTCSessionList) SetItems

func (s *WebRTCSessionList) SetItems(val []WebRTCSession)

SetItems sets the value of Items.

func (*WebRTCSessionList) SetPageCount

func (s *WebRTCSessionList) SetPageCount(val OptInt)

SetPageCount sets the value of PageCount.

func (*WebRTCSessionList) UnmarshalJSON

func (s *WebRTCSessionList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebRTCSessionList) Validate

func (s *WebRTCSessionList) Validate() error

type WebRTCSessionState

type WebRTCSessionState string
const (
	WebRTCSessionStateRead    WebRTCSessionState = "read"
	WebRTCSessionStatePublish WebRTCSessionState = "publish"
)

func (WebRTCSessionState) AllValues

func (WebRTCSessionState) AllValues() []WebRTCSessionState

AllValues returns all WebRTCSessionState values.

func (*WebRTCSessionState) Decode

func (s *WebRTCSessionState) Decode(d *jx.Decoder) error

Decode decodes WebRTCSessionState from json.

func (WebRTCSessionState) Encode

func (s WebRTCSessionState) Encode(e *jx.Encoder)

Encode encodes WebRTCSessionState as json.

func (WebRTCSessionState) MarshalJSON

func (s WebRTCSessionState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebRTCSessionState) MarshalText

func (s WebRTCSessionState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebRTCSessionState) UnmarshalJSON

func (s *WebRTCSessionState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebRTCSessionState) UnmarshalText

func (s *WebRTCSessionState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebRTCSessionState) Validate

func (s WebRTCSessionState) Validate() error

type WebrtcSessionsGetBadRequest

type WebrtcSessionsGetBadRequest Error

func (*WebrtcSessionsGetBadRequest) Decode

Decode decodes WebrtcSessionsGetBadRequest from json.

func (*WebrtcSessionsGetBadRequest) Encode

func (s *WebrtcSessionsGetBadRequest) Encode(e *jx.Encoder)

Encode encodes WebrtcSessionsGetBadRequest as json.

func (*WebrtcSessionsGetBadRequest) MarshalJSON

func (s *WebrtcSessionsGetBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsGetBadRequest) UnmarshalJSON

func (s *WebrtcSessionsGetBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsGetInternalServerError

type WebrtcSessionsGetInternalServerError Error

func (*WebrtcSessionsGetInternalServerError) Decode

Decode decodes WebrtcSessionsGetInternalServerError from json.

func (*WebrtcSessionsGetInternalServerError) Encode

Encode encodes WebrtcSessionsGetInternalServerError as json.

func (*WebrtcSessionsGetInternalServerError) MarshalJSON

func (s *WebrtcSessionsGetInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsGetInternalServerError) UnmarshalJSON

func (s *WebrtcSessionsGetInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsGetNotFound

type WebrtcSessionsGetNotFound Error

func (*WebrtcSessionsGetNotFound) Decode

func (s *WebrtcSessionsGetNotFound) Decode(d *jx.Decoder) error

Decode decodes WebrtcSessionsGetNotFound from json.

func (*WebrtcSessionsGetNotFound) Encode

func (s *WebrtcSessionsGetNotFound) Encode(e *jx.Encoder)

Encode encodes WebrtcSessionsGetNotFound as json.

func (*WebrtcSessionsGetNotFound) MarshalJSON

func (s *WebrtcSessionsGetNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsGetNotFound) UnmarshalJSON

func (s *WebrtcSessionsGetNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsGetParams

type WebrtcSessionsGetParams struct {
	// ID of the session.
	ID string
}

WebrtcSessionsGetParams is parameters of webrtcSessionsGet operation.

type WebrtcSessionsGetRes

type WebrtcSessionsGetRes interface {
	// contains filtered or unexported methods
}

type WebrtcSessionsKickBadRequest

type WebrtcSessionsKickBadRequest Error

func (*WebrtcSessionsKickBadRequest) Decode

Decode decodes WebrtcSessionsKickBadRequest from json.

func (*WebrtcSessionsKickBadRequest) Encode

func (s *WebrtcSessionsKickBadRequest) Encode(e *jx.Encoder)

Encode encodes WebrtcSessionsKickBadRequest as json.

func (*WebrtcSessionsKickBadRequest) MarshalJSON

func (s *WebrtcSessionsKickBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsKickBadRequest) UnmarshalJSON

func (s *WebrtcSessionsKickBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsKickInternalServerError

type WebrtcSessionsKickInternalServerError Error

func (*WebrtcSessionsKickInternalServerError) Decode

Decode decodes WebrtcSessionsKickInternalServerError from json.

func (*WebrtcSessionsKickInternalServerError) Encode

Encode encodes WebrtcSessionsKickInternalServerError as json.

func (*WebrtcSessionsKickInternalServerError) MarshalJSON

func (s *WebrtcSessionsKickInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsKickInternalServerError) UnmarshalJSON

func (s *WebrtcSessionsKickInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsKickNotFound

type WebrtcSessionsKickNotFound Error

func (*WebrtcSessionsKickNotFound) Decode

Decode decodes WebrtcSessionsKickNotFound from json.

func (*WebrtcSessionsKickNotFound) Encode

func (s *WebrtcSessionsKickNotFound) Encode(e *jx.Encoder)

Encode encodes WebrtcSessionsKickNotFound as json.

func (*WebrtcSessionsKickNotFound) MarshalJSON

func (s *WebrtcSessionsKickNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsKickNotFound) UnmarshalJSON

func (s *WebrtcSessionsKickNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsKickOK

type WebrtcSessionsKickOK struct{}

WebrtcSessionsKickOK is response for WebrtcSessionsKick operation.

type WebrtcSessionsKickParams

type WebrtcSessionsKickParams struct {
	// ID of the session.
	ID string
}

WebrtcSessionsKickParams is parameters of webrtcSessionsKick operation.

type WebrtcSessionsKickRes

type WebrtcSessionsKickRes interface {
	// contains filtered or unexported methods
}

type WebrtcSessionsListBadRequest

type WebrtcSessionsListBadRequest Error

func (*WebrtcSessionsListBadRequest) Decode

Decode decodes WebrtcSessionsListBadRequest from json.

func (*WebrtcSessionsListBadRequest) Encode

func (s *WebrtcSessionsListBadRequest) Encode(e *jx.Encoder)

Encode encodes WebrtcSessionsListBadRequest as json.

func (*WebrtcSessionsListBadRequest) MarshalJSON

func (s *WebrtcSessionsListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsListBadRequest) UnmarshalJSON

func (s *WebrtcSessionsListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsListInternalServerError

type WebrtcSessionsListInternalServerError Error

func (*WebrtcSessionsListInternalServerError) Decode

Decode decodes WebrtcSessionsListInternalServerError from json.

func (*WebrtcSessionsListInternalServerError) Encode

Encode encodes WebrtcSessionsListInternalServerError as json.

func (*WebrtcSessionsListInternalServerError) MarshalJSON

func (s *WebrtcSessionsListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebrtcSessionsListInternalServerError) UnmarshalJSON

func (s *WebrtcSessionsListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebrtcSessionsListParams

type WebrtcSessionsListParams struct {
	// Page number.
	Page OptInt
	// Items per page.
	ItemsPerPage OptInt
}

WebrtcSessionsListParams is parameters of webrtcSessionsList operation.

type WebrtcSessionsListRes

type WebrtcSessionsListRes interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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