mediamtx

package module
v0.0.0-...-73aed45 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 20 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.

Playback server

MediaMTX exposes recording playback through a separate HTTP server, outside the official control API OpenAPI specification. Use NewPlaybackClient with the playback server address:

playback, err := mediamtx.NewPlaybackClient("http://localhost:9996")
if err != nil {
    log.Fatal(err)
}

items, err := playback.List(context.Background(), mediamtx.PlaybackListParams{
    Path: "camera/front",
})
if err != nil {
    log.Fatal(err)
}

for _, item := range items {
    fmt.Println(item.Start, item.Duration, item.URL)
}

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
  • Playback: List and download recordings from the playback server

Building and Development

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

# Generate code
mise run generate

# Run linter
mise run go:lint

Requirements

  • Go 1.25 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 through mise:

  • mise run go:mod:tidy: Tidy Go modules.
  • mise run go:fmt: Format Go code with gofumpt.
  • mise run go:lint: Lint the source code.
  • mise run generate: Regenerate SDK code.
  • mise run 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 AlwaysAvailableTrack

type AlwaysAvailableTrack struct {
	Codec        OptAlwaysAvailableTrackCodec `json:"codec"`
	SampleRate   OptInt64                     `json:"sampleRate"`
	ChannelCount OptInt64                     `json:"channelCount"`
	MuLaw        OptBool                      `json:"muLaw"`
}

Ref: #/components/schemas/AlwaysAvailableTrack

func (*AlwaysAvailableTrack) Decode

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

Decode decodes AlwaysAvailableTrack from json.

func (*AlwaysAvailableTrack) Encode

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

Encode implements json.Marshaler.

func (*AlwaysAvailableTrack) GetChannelCount

func (s *AlwaysAvailableTrack) GetChannelCount() OptInt64

GetChannelCount returns the value of ChannelCount.

func (*AlwaysAvailableTrack) GetCodec

GetCodec returns the value of Codec.

func (*AlwaysAvailableTrack) GetMuLaw

func (s *AlwaysAvailableTrack) GetMuLaw() OptBool

GetMuLaw returns the value of MuLaw.

func (*AlwaysAvailableTrack) GetSampleRate

func (s *AlwaysAvailableTrack) GetSampleRate() OptInt64

GetSampleRate returns the value of SampleRate.

func (*AlwaysAvailableTrack) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AlwaysAvailableTrack) SetChannelCount

func (s *AlwaysAvailableTrack) SetChannelCount(val OptInt64)

SetChannelCount sets the value of ChannelCount.

func (*AlwaysAvailableTrack) SetCodec

SetCodec sets the value of Codec.

func (*AlwaysAvailableTrack) SetMuLaw

func (s *AlwaysAvailableTrack) SetMuLaw(val OptBool)

SetMuLaw sets the value of MuLaw.

func (*AlwaysAvailableTrack) SetSampleRate

func (s *AlwaysAvailableTrack) SetSampleRate(val OptInt64)

SetSampleRate sets the value of SampleRate.

func (*AlwaysAvailableTrack) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AlwaysAvailableTrack) Validate

func (s *AlwaysAvailableTrack) Validate() error

type AlwaysAvailableTrackCodec

type AlwaysAvailableTrackCodec string

Ref: #/components/schemas/AlwaysAvailableTrackCodec

const (
	AlwaysAvailableTrackCodecAV1        AlwaysAvailableTrackCodec = "AV1"
	AlwaysAvailableTrackCodecVP9        AlwaysAvailableTrackCodec = "VP9"
	AlwaysAvailableTrackCodecH265       AlwaysAvailableTrackCodec = "H265"
	AlwaysAvailableTrackCodecH264       AlwaysAvailableTrackCodec = "H264"
	AlwaysAvailableTrackCodecMPEG4Audio AlwaysAvailableTrackCodec = "MPEG4Audio"
	AlwaysAvailableTrackCodecOpus       AlwaysAvailableTrackCodec = "Opus"
	AlwaysAvailableTrackCodecG711       AlwaysAvailableTrackCodec = "G711"
	AlwaysAvailableTrackCodecLPCM       AlwaysAvailableTrackCodec = "LPCM"
)

func (AlwaysAvailableTrackCodec) AllValues

AllValues returns all AlwaysAvailableTrackCodec values.

func (*AlwaysAvailableTrackCodec) Decode

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

Decode decodes AlwaysAvailableTrackCodec from json.

func (AlwaysAvailableTrackCodec) Encode

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

Encode encodes AlwaysAvailableTrackCodec as json.

func (AlwaysAvailableTrackCodec) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AlwaysAvailableTrackCodec) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AlwaysAvailableTrackCodec) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AlwaysAvailableTrackCodec) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AlwaysAvailableTrackCodec) Validate

func (s AlwaysAvailableTrackCodec) Validate() error

type AuthAction

type AuthAction string

Ref: #/components/schemas/AuthAction

const (
	AuthActionPublish  AuthAction = "publish"
	AuthActionRead     AuthAction = "read"
	AuthActionPlayback AuthAction = "playback"
	AuthActionAPI      AuthAction = "api"
	AuthActionMetrics  AuthAction = "metrics"
	AuthActionPprof    AuthAction = "pprof"
)

func (AuthAction) AllValues

func (AuthAction) AllValues() []AuthAction

AllValues returns all AuthAction values.

func (*AuthAction) Decode

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

Decode decodes AuthAction from json.

func (AuthAction) Encode

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

Encode encodes AuthAction as json.

func (AuthAction) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AuthAction) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AuthAction) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AuthAction) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AuthAction) Validate

func (s AuthAction) Validate() error

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.

func (*AuthInternalUser) Validate

func (s *AuthInternalUser) Validate() error

type AuthInternalUserPermission

type AuthInternalUserPermission struct {
	Action OptAuthAction `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

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 OptAuthAction)

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.

func (*AuthInternalUserPermission) Validate

func (s *AuthInternalUserPermission) Validate() error

type AuthJwksRefreshRes

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

type AuthMethod

type AuthMethod string

Ref: #/components/schemas/AuthMethod

const (
	AuthMethodInternal AuthMethod = "internal"
	AuthMethodHTTP     AuthMethod = "http"
	AuthMethodJwt      AuthMethod = "jwt"
)

func (AuthMethod) AllValues

func (AuthMethod) AllValues() []AuthMethod

AllValues returns all AuthMethod values.

func (*AuthMethod) Decode

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

Decode decodes AuthMethod from json.

func (AuthMethod) Encode

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

Encode encodes AuthMethod as json.

func (AuthMethod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AuthMethod) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AuthMethod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AuthMethod) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AuthMethod) Validate

func (s AuthMethod) Validate() error

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) HlssessionsGet

func (c *Client) HlssessionsGet(ctx context.Context, params HlssessionsGetParams) (HlssessionsGetRes, error)

HlssessionsGet invokes hlssessionsGet operation.

Returns a HLS session.

GET /v3/hlssessions/get/{id}

func (*Client) HlssessionsKick

func (c *Client) HlssessionsKick(ctx context.Context, params HlssessionsKickParams) (HlssessionsKickRes, error)

HlssessionsKick invokes hlssessionsKick operation.

Kicks out a HLS session from the server.

POST /v3/hlssessions/kick/{id}

func (*Client) HlssessionsList

func (c *Client) HlssessionsList(ctx context.Context, params HlssessionsListParams) (HlssessionsListRes, error)

HlssessionsList invokes hlssessionsList operation.

Returns all HLS sessions.

GET /v3/hlssessions/list

func (*Client) Info

func (c *Client) Info(ctx context.Context) (InfoRes, error)

Info invokes info operation.

Returns informations about the instance.

GET /v3/info

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 of 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, splitted by path.

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.

func (*ConfigGlobalGetBadRequest) Validate

func (s *ConfigGlobalGetBadRequest) Validate() error

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.

func (*ConfigGlobalGetInternalServerError) Validate

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.

func (*ConfigGlobalSetBadRequest) Validate

func (s *ConfigGlobalSetBadRequest) Validate() error

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.

func (*ConfigGlobalSetInternalServerError) Validate

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.

func (*ConfigPathDefaultsGetBadRequest) Validate

func (s *ConfigPathDefaultsGetBadRequest) Validate() error

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.

func (*ConfigPathDefaultsGetInternalServerError) Validate

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.

func (*ConfigPathDefaultsPatchBadRequest) Validate

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.

func (*ConfigPathDefaultsPatchInternalServerError) Validate

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.

func (*ConfigPathsAddBadRequest) Validate

func (s *ConfigPathsAddBadRequest) Validate() error

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.

func (*ConfigPathsAddInternalServerError) Validate

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.

func (*ConfigPathsDeleteBadRequest) Validate

func (s *ConfigPathsDeleteBadRequest) Validate() error

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.

func (*ConfigPathsDeleteInternalServerError) Validate

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.

func (*ConfigPathsDeleteNotFound) Validate

func (s *ConfigPathsDeleteNotFound) Validate() error

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.

func (*ConfigPathsGetBadRequest) Validate

func (s *ConfigPathsGetBadRequest) Validate() error

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.

func (*ConfigPathsGetInternalServerError) Validate

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.

func (*ConfigPathsGetNotFound) Validate

func (s *ConfigPathsGetNotFound) Validate() error

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.

func (*ConfigPathsListBadRequest) Validate

func (s *ConfigPathsListBadRequest) Validate() error

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.

func (*ConfigPathsListInternalServerError) Validate

type ConfigPathsListParams

type ConfigPathsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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.

func (*ConfigPathsPatchBadRequest) Validate

func (s *ConfigPathsPatchBadRequest) Validate() error

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.

func (*ConfigPathsPatchInternalServerError) Validate

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.

func (*ConfigPathsPatchNotFound) Validate

func (s *ConfigPathsPatchNotFound) Validate() error

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.

func (*ConfigPathsReplaceBadRequest) Validate

func (s *ConfigPathsReplaceBadRequest) Validate() error

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.

func (*ConfigPathsReplaceInternalServerError) Validate

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.

func (*ConfigPathsReplaceNotFound) Validate

func (s *ConfigPathsReplaceNotFound) Validate() error

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 Encryption

type Encryption string

Ref: #/components/schemas/Encryption

const (
	EncryptionNo       Encryption = "no"
	EncryptionOptional Encryption = "optional"
	EncryptionStrict   Encryption = "strict"
)

func (Encryption) AllValues

func (Encryption) AllValues() []Encryption

AllValues returns all Encryption values.

func (*Encryption) Decode

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

Decode decodes Encryption from json.

func (Encryption) Encode

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

Encode encodes Encryption as json.

func (Encryption) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (Encryption) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*Encryption) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Encryption) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (Encryption) Validate

func (s Encryption) Validate() error

type Error

type Error struct {
	Status OptErrorStatus `json:"status"`
	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) GetStatus

func (s *Error) GetStatus() OptErrorStatus

GetStatus returns the value of Status.

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) SetStatus

func (s *Error) SetStatus(val OptErrorStatus)

SetStatus sets the value of Status.

func (*Error) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Error) Validate

func (s *Error) Validate() error

type ErrorStatus

type ErrorStatus string

Ref: #/components/schemas/ErrorStatus

const (
	ErrorStatusError ErrorStatus = "error"
)

func (ErrorStatus) AllValues

func (ErrorStatus) AllValues() []ErrorStatus

AllValues returns all ErrorStatus values.

func (*ErrorStatus) Decode

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

Decode decodes ErrorStatus from json.

func (ErrorStatus) Encode

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

Encode encodes ErrorStatus as json.

func (ErrorStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ErrorStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ErrorStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ErrorStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ErrorStatus) Validate

func (s ErrorStatus) Validate() error

type GlobalConf

type GlobalConf struct {
	LogLevel        OptLogLevel      `json:"logLevel"`
	LogDestinations []LogDestination `json:"logDestinations"`
	LogStructured   OptBool          `json:"logStructured"`
	LogFile         OptString        `json:"logFile"`
	SysLogPrefix    OptString        `json:"sysLogPrefix"`
	DumpPackets     OptBool          `json:"dumpPackets"`
	ReadTimeout     OptString        `json:"readTimeout"`
	WriteTimeout    OptString        `json:"writeTimeout"`
	// Deprecated: schema marks this property as deprecated.
	ReadBufferCount     OptNilInt64        `json:"readBufferCount"`
	WriteQueueSize      OptInt64           `json:"writeQueueSize"`
	UdpMaxPayloadSize   OptInt64           `json:"udpMaxPayloadSize"`
	UdpReadBufferSize   OptUint64          `json:"udpReadBufferSize"`
	RunOnConnect        OptString          `json:"runOnConnect"`
	RunOnConnectRestart OptBool            `json:"runOnConnectRestart"`
	RunOnDisconnect     OptString          `json:"runOnDisconnect"`
	AuthMethod          OptAuthMethod      `json:"authMethod"`
	AuthInternalUsers   []AuthInternalUser `json:"authInternalUsers"`
	AuthHTTPAddress     OptString          `json:"authHTTPAddress"`
	// Deprecated: schema marks this property as deprecated.
	ExternalAuthenticationURL OptNilString                 `json:"externalAuthenticationURL"`
	AuthHTTPFingerprint       OptString                    `json:"authHTTPFingerprint"`
	AuthHTTPExclude           []AuthInternalUserPermission `json:"authHTTPExclude"`
	AuthJWTJWKS               OptString                    `json:"authJWTJWKS"`
	AuthJWTJWKSFingerprint    OptString                    `json:"authJWTJWKSFingerprint"`
	AuthJWTClaimKey           OptString                    `json:"authJWTClaimKey"`
	// Deprecated: schema marks this property as deprecated.
	AuthJWTInHTTPQuery OptNilBool                   `json:"authJWTInHTTPQuery"`
	AuthJWTIssuer      OptString                    `json:"authJWTIssuer"`
	AuthJWTAudience    OptString                    `json:"authJWTAudience"`
	AuthJWTExclude     []AuthInternalUserPermission `json:"authJWTExclude"`
	API                OptBool                      `json:"api"`
	ApiAddress         OptString                    `json:"apiAddress"`
	ApiEncryption      OptBool                      `json:"apiEncryption"`
	ApiServerKey       OptString                    `json:"apiServerKey"`
	ApiServerCert      OptString                    `json:"apiServerCert"`
	// Deprecated: schema marks this property as deprecated.
	ApiAllowOrigin    OptNilString `json:"apiAllowOrigin"`
	ApiAllowOrigins   []string     `json:"apiAllowOrigins"`
	ApiTrustedProxies []string     `json:"apiTrustedProxies"`
	Metrics           OptBool      `json:"metrics"`
	MetricsAddress    OptString    `json:"metricsAddress"`
	MetricsEncryption OptBool      `json:"metricsEncryption"`
	MetricsServerKey  OptString    `json:"metricsServerKey"`
	MetricsServerCert OptString    `json:"metricsServerCert"`
	// Deprecated: schema marks this property as deprecated.
	MetricsAllowOrigin    OptNilString `json:"metricsAllowOrigin"`
	MetricsAllowOrigins   []string     `json:"metricsAllowOrigins"`
	MetricsTrustedProxies []string     `json:"metricsTrustedProxies"`
	Pprof                 OptBool      `json:"pprof"`
	PprofAddress          OptString    `json:"pprofAddress"`
	PprofEncryption       OptBool      `json:"pprofEncryption"`
	PprofServerKey        OptString    `json:"pprofServerKey"`
	PprofServerCert       OptString    `json:"pprofServerCert"`
	// Deprecated: schema marks this property as deprecated.
	PprofAllowOrigin    OptNilString `json:"pprofAllowOrigin"`
	PprofAllowOrigins   []string     `json:"pprofAllowOrigins"`
	PprofTrustedProxies []string     `json:"pprofTrustedProxies"`
	Playback            OptBool      `json:"playback"`
	PlaybackAddress     OptString    `json:"playbackAddress"`
	PlaybackEncryption  OptBool      `json:"playbackEncryption"`
	PlaybackServerKey   OptString    `json:"playbackServerKey"`
	PlaybackServerCert  OptString    `json:"playbackServerCert"`
	// Deprecated: schema marks this property as deprecated.
	PlaybackAllowOrigin    OptNilString `json:"playbackAllowOrigin"`
	PlaybackAllowOrigins   []string     `json:"playbackAllowOrigins"`
	PlaybackTrustedProxies []string     `json:"playbackTrustedProxies"`
	Rtsp                   OptBool      `json:"rtsp"`
	// Deprecated: schema marks this property as deprecated.
	RtspDisable OptNilBool `json:"rtspDisable"`
	// Deprecated: schema marks this property as deprecated.
	Protocols      OptNilGlobalConfProtocolsItemArray `json:"protocols"`
	RtspTransports []GlobalConfRtspTransportsItem     `json:"rtspTransports"`
	// Deprecated: schema marks this property as deprecated.
	Encryption         OptNilEncryption `json:"encryption"`
	RtspEncryption     OptEncryption    `json:"rtspEncryption"`
	RtspAddress        OptString        `json:"rtspAddress"`
	RtspsAddress       OptString        `json:"rtspsAddress"`
	RtpAddress         OptString        `json:"rtpAddress"`
	RtcpAddress        OptString        `json:"rtcpAddress"`
	MulticastIPRange   OptString        `json:"multicastIPRange"`
	MulticastRTPPort   OptInt64         `json:"multicastRTPPort"`
	MulticastRTCPPort  OptInt64         `json:"multicastRTCPPort"`
	SrtpAddress        OptString        `json:"srtpAddress"`
	SrtcpAddress       OptString        `json:"srtcpAddress"`
	MulticastSRTPPort  OptInt64         `json:"multicastSRTPPort"`
	MulticastSRTCPPort OptInt64         `json:"multicastSRTCPPort"`
	RtspServerKey      OptString        `json:"rtspServerKey"`
	RtspServerCert     OptString        `json:"rtspServerCert"`
	// Deprecated: schema marks this property as deprecated.
	AuthMethods     OptNilRTSPAuthMethodArray `json:"authMethods"`
	RtspAuthMethods []RTSPAuthMethod          `json:"rtspAuthMethods"`
	// Deprecated: schema marks this property as deprecated.
	RtspUDPReadBufferSize OptNilUint64 `json:"rtspUDPReadBufferSize"`
	Rtmp                  OptBool      `json:"rtmp"`
	// Deprecated: schema marks this property as deprecated.
	RtmpDisable    OptNilBool    `json:"rtmpDisable"`
	RtmpEncryption OptEncryption `json:"rtmpEncryption"`
	RtmpAddress    OptString     `json:"rtmpAddress"`
	RtmpsAddress   OptString     `json:"rtmpsAddress"`
	RtmpServerKey  OptString     `json:"rtmpServerKey"`
	RtmpServerCert OptString     `json:"rtmpServerCert"`
	Hls            OptBool       `json:"hls"`
	// Deprecated: schema marks this property as deprecated.
	HlsDisable    OptNilBool `json:"hlsDisable"`
	HlsAddress    OptString  `json:"hlsAddress"`
	HlsEncryption OptBool    `json:"hlsEncryption"`
	HlsServerKey  OptString  `json:"hlsServerKey"`
	HlsServerCert OptString  `json:"hlsServerCert"`
	// Deprecated: schema marks this property as deprecated.
	HlsAllowOrigin     OptNilString  `json:"hlsAllowOrigin"`
	HlsAllowOrigins    []string      `json:"hlsAllowOrigins"`
	HlsTrustedProxies  []string      `json:"hlsTrustedProxies"`
	HlsAlwaysRemux     OptBool       `json:"hlsAlwaysRemux"`
	HlsVariant         OptHLSVariant `json:"hlsVariant"`
	HlsSegmentCount    OptInt64      `json:"hlsSegmentCount"`
	HlsSegmentDuration OptString     `json:"hlsSegmentDuration"`
	HlsPartDuration    OptString     `json:"hlsPartDuration"`
	HlsSegmentMaxSize  OptString     `json:"hlsSegmentMaxSize"`
	HlsDirectory       OptString     `json:"hlsDirectory"`
	HlsMuxerCloseAfter OptString     `json:"hlsMuxerCloseAfter"`
	HlsCDNSecret       OptString     `json:"hlsCDNSecret"`
	Webrtc             OptBool       `json:"webrtc"`
	// Deprecated: schema marks this property as deprecated.
	WebrtcDisable    OptNilBool `json:"webrtcDisable"`
	WebrtcAddress    OptString  `json:"webrtcAddress"`
	WebrtcEncryption OptBool    `json:"webrtcEncryption"`
	WebrtcServerKey  OptString  `json:"webrtcServerKey"`
	WebrtcServerCert OptString  `json:"webrtcServerCert"`
	// Deprecated: schema marks this property as deprecated.
	WebrtcAllowOrigin           OptNilString      `json:"webrtcAllowOrigin"`
	WebrtcAllowOrigins          []string          `json:"webrtcAllowOrigins"`
	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           []WebRTCICEServer `json:"webrtcICEServers2"`
	WebrtcSTUNGatherTimeout     OptString         `json:"webrtcSTUNGatherTimeout"`
	WebrtcHandshakeTimeout      OptString         `json:"webrtcHandshakeTimeout"`
	WebrtcTrackGatherTimeout    OptString         `json:"webrtcTrackGatherTimeout"`
	// Deprecated: schema marks this property as deprecated.
	WebrtcICEUDPMuxAddress OptNilString `json:"webrtcICEUDPMuxAddress"`
	// Deprecated: schema marks this property as deprecated.
	WebrtcICETCPMuxAddress OptNilString `json:"webrtcICETCPMuxAddress"`
	// Deprecated: schema marks this property as deprecated.
	WebrtcICEHostNAT1To1IPs OptNilStringArray `json:"webrtcICEHostNAT1To1IPs"`
	// Deprecated: schema marks this property as deprecated.
	WebrtcICEServers OptNilStringArray `json:"webrtcICEServers"`
	Srt              OptBool           `json:"srt"`
	SrtAddress       OptString         `json:"srtAddress"`
	// Deprecated: schema marks this property as deprecated.
	Record OptNilBool `json:"record"`
	// Deprecated: schema marks this property as deprecated.
	RecordPath OptNilString `json:"recordPath"`
	// Deprecated: schema marks this property as deprecated.
	RecordFormat OptNilRecordFormat `json:"recordFormat"`
	// Deprecated: schema marks this property as deprecated.
	RecordPartDuration OptNilString `json:"recordPartDuration"`
	// Deprecated: schema marks this property as deprecated.
	RecordSegmentDuration OptNilString `json:"recordSegmentDuration"`
	// Deprecated: schema marks this property as deprecated.
	RecordDeleteAfter OptNilString `json:"recordDeleteAfter"`
}

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() OptNilString

GetApiAllowOrigin returns the value of ApiAllowOrigin.

func (*GlobalConf) GetApiAllowOrigins

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

GetApiAllowOrigins returns the value of ApiAllowOrigins.

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) GetAuthHTTPFingerprint

func (s *GlobalConf) GetAuthHTTPFingerprint() OptString

GetAuthHTTPFingerprint returns the value of AuthHTTPFingerprint.

func (*GlobalConf) GetAuthInternalUsers

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

GetAuthInternalUsers returns the value of AuthInternalUsers.

func (*GlobalConf) GetAuthJWTAudience

func (s *GlobalConf) GetAuthJWTAudience() OptString

GetAuthJWTAudience returns the value of AuthJWTAudience.

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() OptNilBool

GetAuthJWTInHTTPQuery returns the value of AuthJWTInHTTPQuery.

func (*GlobalConf) GetAuthJWTIssuer

func (s *GlobalConf) GetAuthJWTIssuer() OptString

GetAuthJWTIssuer returns the value of AuthJWTIssuer.

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() OptAuthMethod

GetAuthMethod returns the value of AuthMethod.

func (*GlobalConf) GetAuthMethods

func (s *GlobalConf) GetAuthMethods() OptNilRTSPAuthMethodArray

GetAuthMethods returns the value of AuthMethods.

func (*GlobalConf) GetDumpPackets

func (s *GlobalConf) GetDumpPackets() OptBool

GetDumpPackets returns the value of DumpPackets.

func (*GlobalConf) GetEncryption

func (s *GlobalConf) GetEncryption() OptNilEncryption

GetEncryption returns the value of Encryption.

func (*GlobalConf) GetExternalAuthenticationURL

func (s *GlobalConf) GetExternalAuthenticationURL() OptNilString

GetExternalAuthenticationURL returns the value of ExternalAuthenticationURL.

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() OptNilString

GetHlsAllowOrigin returns the value of HlsAllowOrigin.

func (*GlobalConf) GetHlsAllowOrigins

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

GetHlsAllowOrigins returns the value of HlsAllowOrigins.

func (*GlobalConf) GetHlsAlwaysRemux

func (s *GlobalConf) GetHlsAlwaysRemux() OptBool

GetHlsAlwaysRemux returns the value of HlsAlwaysRemux.

func (*GlobalConf) GetHlsCDNSecret

func (s *GlobalConf) GetHlsCDNSecret() OptString

GetHlsCDNSecret returns the value of HlsCDNSecret.

func (*GlobalConf) GetHlsDirectory

func (s *GlobalConf) GetHlsDirectory() OptString

GetHlsDirectory returns the value of HlsDirectory.

func (*GlobalConf) GetHlsDisable

func (s *GlobalConf) GetHlsDisable() OptNilBool

GetHlsDisable returns the value of HlsDisable.

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() OptInt64

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() OptHLSVariant

GetHlsVariant returns the value of HlsVariant.

func (*GlobalConf) GetLogDestinations

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

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() OptLogLevel

GetLogLevel returns the value of LogLevel.

func (*GlobalConf) GetLogStructured

func (s *GlobalConf) GetLogStructured() OptBool

GetLogStructured returns the value of LogStructured.

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() OptNilString

GetMetricsAllowOrigin returns the value of MetricsAllowOrigin.

func (*GlobalConf) GetMetricsAllowOrigins

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

GetMetricsAllowOrigins returns the value of MetricsAllowOrigins.

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() OptInt64

GetMulticastRTCPPort returns the value of MulticastRTCPPort.

func (*GlobalConf) GetMulticastRTPPort

func (s *GlobalConf) GetMulticastRTPPort() OptInt64

GetMulticastRTPPort returns the value of MulticastRTPPort.

func (*GlobalConf) GetMulticastSRTCPPort

func (s *GlobalConf) GetMulticastSRTCPPort() OptInt64

GetMulticastSRTCPPort returns the value of MulticastSRTCPPort.

func (*GlobalConf) GetMulticastSRTPPort

func (s *GlobalConf) GetMulticastSRTPPort() OptInt64

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() OptNilString

GetPlaybackAllowOrigin returns the value of PlaybackAllowOrigin.

func (*GlobalConf) GetPlaybackAllowOrigins

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

GetPlaybackAllowOrigins returns the value of PlaybackAllowOrigins.

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() OptNilString

GetPprofAllowOrigin returns the value of PprofAllowOrigin.

func (*GlobalConf) GetPprofAllowOrigins

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

GetPprofAllowOrigins returns the value of PprofAllowOrigins.

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) GetProtocols

GetProtocols returns the value of Protocols.

func (*GlobalConf) GetReadBufferCount

func (s *GlobalConf) GetReadBufferCount() OptNilInt64

GetReadBufferCount returns the value of ReadBufferCount.

func (*GlobalConf) GetReadTimeout

func (s *GlobalConf) GetReadTimeout() OptString

GetReadTimeout returns the value of ReadTimeout.

func (*GlobalConf) GetRecord

func (s *GlobalConf) GetRecord() OptNilBool

GetRecord returns the value of Record.

func (*GlobalConf) GetRecordDeleteAfter

func (s *GlobalConf) GetRecordDeleteAfter() OptNilString

GetRecordDeleteAfter returns the value of RecordDeleteAfter.

func (*GlobalConf) GetRecordFormat

func (s *GlobalConf) GetRecordFormat() OptNilRecordFormat

GetRecordFormat returns the value of RecordFormat.

func (*GlobalConf) GetRecordPartDuration

func (s *GlobalConf) GetRecordPartDuration() OptNilString

GetRecordPartDuration returns the value of RecordPartDuration.

func (*GlobalConf) GetRecordPath

func (s *GlobalConf) GetRecordPath() OptNilString

GetRecordPath returns the value of RecordPath.

func (*GlobalConf) GetRecordSegmentDuration

func (s *GlobalConf) GetRecordSegmentDuration() OptNilString

GetRecordSegmentDuration returns the value of RecordSegmentDuration.

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) GetRtmpDisable

func (s *GlobalConf) GetRtmpDisable() OptNilBool

GetRtmpDisable returns the value of RtmpDisable.

func (*GlobalConf) GetRtmpEncryption

func (s *GlobalConf) GetRtmpEncryption() OptEncryption

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() []RTSPAuthMethod

GetRtspAuthMethods returns the value of RtspAuthMethods.

func (*GlobalConf) GetRtspDisable

func (s *GlobalConf) GetRtspDisable() OptNilBool

GetRtspDisable returns the value of RtspDisable.

func (*GlobalConf) GetRtspEncryption

func (s *GlobalConf) GetRtspEncryption() OptEncryption

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() []GlobalConfRtspTransportsItem

GetRtspTransports returns the value of RtspTransports.

func (*GlobalConf) GetRtspUDPReadBufferSize

func (s *GlobalConf) GetRtspUDPReadBufferSize() OptNilUint64

GetRtspUDPReadBufferSize returns the value of RtspUDPReadBufferSize.

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() OptInt64

GetUdpMaxPayloadSize returns the value of UdpMaxPayloadSize.

func (*GlobalConf) GetUdpReadBufferSize

func (s *GlobalConf) GetUdpReadBufferSize() OptUint64

GetUdpReadBufferSize returns the value of UdpReadBufferSize.

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() OptNilString

GetWebrtcAllowOrigin returns the value of WebrtcAllowOrigin.

func (*GlobalConf) GetWebrtcAllowOrigins

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

GetWebrtcAllowOrigins returns the value of WebrtcAllowOrigins.

func (*GlobalConf) GetWebrtcDisable

func (s *GlobalConf) GetWebrtcDisable() OptNilBool

GetWebrtcDisable returns the value of WebrtcDisable.

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) GetWebrtcICEHostNAT1To1IPs

func (s *GlobalConf) GetWebrtcICEHostNAT1To1IPs() OptNilStringArray

GetWebrtcICEHostNAT1To1IPs returns the value of WebrtcICEHostNAT1To1IPs.

func (*GlobalConf) GetWebrtcICEServers

func (s *GlobalConf) GetWebrtcICEServers() OptNilStringArray

GetWebrtcICEServers returns the value of WebrtcICEServers.

func (*GlobalConf) GetWebrtcICEServers2

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

GetWebrtcICEServers2 returns the value of WebrtcICEServers2.

func (*GlobalConf) GetWebrtcICETCPMuxAddress

func (s *GlobalConf) GetWebrtcICETCPMuxAddress() OptNilString

GetWebrtcICETCPMuxAddress returns the value of WebrtcICETCPMuxAddress.

func (*GlobalConf) GetWebrtcICEUDPMuxAddress

func (s *GlobalConf) GetWebrtcICEUDPMuxAddress() OptNilString

GetWebrtcICEUDPMuxAddress returns the value of WebrtcICEUDPMuxAddress.

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() OptInt64

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 OptNilString)

SetApiAllowOrigin sets the value of ApiAllowOrigin.

func (*GlobalConf) SetApiAllowOrigins

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

SetApiAllowOrigins sets the value of ApiAllowOrigins.

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) SetAuthHTTPFingerprint

func (s *GlobalConf) SetAuthHTTPFingerprint(val OptString)

SetAuthHTTPFingerprint sets the value of AuthHTTPFingerprint.

func (*GlobalConf) SetAuthInternalUsers

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

SetAuthInternalUsers sets the value of AuthInternalUsers.

func (*GlobalConf) SetAuthJWTAudience

func (s *GlobalConf) SetAuthJWTAudience(val OptString)

SetAuthJWTAudience sets the value of AuthJWTAudience.

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 OptNilBool)

SetAuthJWTInHTTPQuery sets the value of AuthJWTInHTTPQuery.

func (*GlobalConf) SetAuthJWTIssuer

func (s *GlobalConf) SetAuthJWTIssuer(val OptString)

SetAuthJWTIssuer sets the value of AuthJWTIssuer.

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 OptAuthMethod)

SetAuthMethod sets the value of AuthMethod.

func (*GlobalConf) SetAuthMethods

func (s *GlobalConf) SetAuthMethods(val OptNilRTSPAuthMethodArray)

SetAuthMethods sets the value of AuthMethods.

func (*GlobalConf) SetDumpPackets

func (s *GlobalConf) SetDumpPackets(val OptBool)

SetDumpPackets sets the value of DumpPackets.

func (*GlobalConf) SetEncryption

func (s *GlobalConf) SetEncryption(val OptNilEncryption)

SetEncryption sets the value of Encryption.

func (*GlobalConf) SetExternalAuthenticationURL

func (s *GlobalConf) SetExternalAuthenticationURL(val OptNilString)

SetExternalAuthenticationURL sets the value of ExternalAuthenticationURL.

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 OptNilString)

SetHlsAllowOrigin sets the value of HlsAllowOrigin.

func (*GlobalConf) SetHlsAllowOrigins

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

SetHlsAllowOrigins sets the value of HlsAllowOrigins.

func (*GlobalConf) SetHlsAlwaysRemux

func (s *GlobalConf) SetHlsAlwaysRemux(val OptBool)

SetHlsAlwaysRemux sets the value of HlsAlwaysRemux.

func (*GlobalConf) SetHlsCDNSecret

func (s *GlobalConf) SetHlsCDNSecret(val OptString)

SetHlsCDNSecret sets the value of HlsCDNSecret.

func (*GlobalConf) SetHlsDirectory

func (s *GlobalConf) SetHlsDirectory(val OptString)

SetHlsDirectory sets the value of HlsDirectory.

func (*GlobalConf) SetHlsDisable

func (s *GlobalConf) SetHlsDisable(val OptNilBool)

SetHlsDisable sets the value of HlsDisable.

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 OptInt64)

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 OptHLSVariant)

SetHlsVariant sets the value of HlsVariant.

func (*GlobalConf) SetLogDestinations

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

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 OptLogLevel)

SetLogLevel sets the value of LogLevel.

func (*GlobalConf) SetLogStructured

func (s *GlobalConf) SetLogStructured(val OptBool)

SetLogStructured sets the value of LogStructured.

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 OptNilString)

SetMetricsAllowOrigin sets the value of MetricsAllowOrigin.

func (*GlobalConf) SetMetricsAllowOrigins

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

SetMetricsAllowOrigins sets the value of MetricsAllowOrigins.

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 OptInt64)

SetMulticastRTCPPort sets the value of MulticastRTCPPort.

func (*GlobalConf) SetMulticastRTPPort

func (s *GlobalConf) SetMulticastRTPPort(val OptInt64)

SetMulticastRTPPort sets the value of MulticastRTPPort.

func (*GlobalConf) SetMulticastSRTCPPort

func (s *GlobalConf) SetMulticastSRTCPPort(val OptInt64)

SetMulticastSRTCPPort sets the value of MulticastSRTCPPort.

func (*GlobalConf) SetMulticastSRTPPort

func (s *GlobalConf) SetMulticastSRTPPort(val OptInt64)

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 OptNilString)

SetPlaybackAllowOrigin sets the value of PlaybackAllowOrigin.

func (*GlobalConf) SetPlaybackAllowOrigins

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

SetPlaybackAllowOrigins sets the value of PlaybackAllowOrigins.

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 OptNilString)

SetPprofAllowOrigin sets the value of PprofAllowOrigin.

func (*GlobalConf) SetPprofAllowOrigins

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

SetPprofAllowOrigins sets the value of PprofAllowOrigins.

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) SetProtocols

func (s *GlobalConf) SetProtocols(val OptNilGlobalConfProtocolsItemArray)

SetProtocols sets the value of Protocols.

func (*GlobalConf) SetReadBufferCount

func (s *GlobalConf) SetReadBufferCount(val OptNilInt64)

SetReadBufferCount sets the value of ReadBufferCount.

func (*GlobalConf) SetReadTimeout

func (s *GlobalConf) SetReadTimeout(val OptString)

SetReadTimeout sets the value of ReadTimeout.

func (*GlobalConf) SetRecord

func (s *GlobalConf) SetRecord(val OptNilBool)

SetRecord sets the value of Record.

func (*GlobalConf) SetRecordDeleteAfter

func (s *GlobalConf) SetRecordDeleteAfter(val OptNilString)

SetRecordDeleteAfter sets the value of RecordDeleteAfter.

func (*GlobalConf) SetRecordFormat

func (s *GlobalConf) SetRecordFormat(val OptNilRecordFormat)

SetRecordFormat sets the value of RecordFormat.

func (*GlobalConf) SetRecordPartDuration

func (s *GlobalConf) SetRecordPartDuration(val OptNilString)

SetRecordPartDuration sets the value of RecordPartDuration.

func (*GlobalConf) SetRecordPath

func (s *GlobalConf) SetRecordPath(val OptNilString)

SetRecordPath sets the value of RecordPath.

func (*GlobalConf) SetRecordSegmentDuration

func (s *GlobalConf) SetRecordSegmentDuration(val OptNilString)

SetRecordSegmentDuration sets the value of RecordSegmentDuration.

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) SetRtmpDisable

func (s *GlobalConf) SetRtmpDisable(val OptNilBool)

SetRtmpDisable sets the value of RtmpDisable.

func (*GlobalConf) SetRtmpEncryption

func (s *GlobalConf) SetRtmpEncryption(val OptEncryption)

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 []RTSPAuthMethod)

SetRtspAuthMethods sets the value of RtspAuthMethods.

func (*GlobalConf) SetRtspDisable

func (s *GlobalConf) SetRtspDisable(val OptNilBool)

SetRtspDisable sets the value of RtspDisable.

func (*GlobalConf) SetRtspEncryption

func (s *GlobalConf) SetRtspEncryption(val OptEncryption)

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 []GlobalConfRtspTransportsItem)

SetRtspTransports sets the value of RtspTransports.

func (*GlobalConf) SetRtspUDPReadBufferSize

func (s *GlobalConf) SetRtspUDPReadBufferSize(val OptNilUint64)

SetRtspUDPReadBufferSize sets the value of RtspUDPReadBufferSize.

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 OptInt64)

SetUdpMaxPayloadSize sets the value of UdpMaxPayloadSize.

func (*GlobalConf) SetUdpReadBufferSize

func (s *GlobalConf) SetUdpReadBufferSize(val OptUint64)

SetUdpReadBufferSize sets the value of UdpReadBufferSize.

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 OptNilString)

SetWebrtcAllowOrigin sets the value of WebrtcAllowOrigin.

func (*GlobalConf) SetWebrtcAllowOrigins

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

SetWebrtcAllowOrigins sets the value of WebrtcAllowOrigins.

func (*GlobalConf) SetWebrtcDisable

func (s *GlobalConf) SetWebrtcDisable(val OptNilBool)

SetWebrtcDisable sets the value of WebrtcDisable.

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) SetWebrtcICEHostNAT1To1IPs

func (s *GlobalConf) SetWebrtcICEHostNAT1To1IPs(val OptNilStringArray)

SetWebrtcICEHostNAT1To1IPs sets the value of WebrtcICEHostNAT1To1IPs.

func (*GlobalConf) SetWebrtcICEServers

func (s *GlobalConf) SetWebrtcICEServers(val OptNilStringArray)

SetWebrtcICEServers sets the value of WebrtcICEServers.

func (*GlobalConf) SetWebrtcICEServers2

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

SetWebrtcICEServers2 sets the value of WebrtcICEServers2.

func (*GlobalConf) SetWebrtcICETCPMuxAddress

func (s *GlobalConf) SetWebrtcICETCPMuxAddress(val OptNilString)

SetWebrtcICETCPMuxAddress sets the value of WebrtcICETCPMuxAddress.

func (*GlobalConf) SetWebrtcICEUDPMuxAddress

func (s *GlobalConf) SetWebrtcICEUDPMuxAddress(val OptNilString)

SetWebrtcICEUDPMuxAddress sets the value of WebrtcICEUDPMuxAddress.

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 OptInt64)

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.

func (*GlobalConf) Validate

func (s *GlobalConf) Validate() error

type GlobalConfProtocolsItem

type GlobalConfProtocolsItem string
const (
	GlobalConfProtocolsItemUDP       GlobalConfProtocolsItem = "udp"
	GlobalConfProtocolsItemMulticast GlobalConfProtocolsItem = "multicast"
	GlobalConfProtocolsItemTCP       GlobalConfProtocolsItem = "tcp"
)

func (GlobalConfProtocolsItem) AllValues

AllValues returns all GlobalConfProtocolsItem values.

func (*GlobalConfProtocolsItem) Decode

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

Decode decodes GlobalConfProtocolsItem from json.

func (GlobalConfProtocolsItem) Encode

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

Encode encodes GlobalConfProtocolsItem as json.

func (GlobalConfProtocolsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (GlobalConfProtocolsItem) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*GlobalConfProtocolsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalConfProtocolsItem) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GlobalConfProtocolsItem) Validate

func (s GlobalConfProtocolsItem) Validate() error

type GlobalConfRtspTransportsItem

type GlobalConfRtspTransportsItem string
const (
	GlobalConfRtspTransportsItemUDP       GlobalConfRtspTransportsItem = "udp"
	GlobalConfRtspTransportsItemMulticast GlobalConfRtspTransportsItem = "multicast"
	GlobalConfRtspTransportsItemTCP       GlobalConfRtspTransportsItem = "tcp"
)

func (GlobalConfRtspTransportsItem) AllValues

AllValues returns all GlobalConfRtspTransportsItem values.

func (*GlobalConfRtspTransportsItem) Decode

Decode decodes GlobalConfRtspTransportsItem from json.

func (GlobalConfRtspTransportsItem) Encode

Encode encodes GlobalConfRtspTransportsItem as json.

func (GlobalConfRtspTransportsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (GlobalConfRtspTransportsItem) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*GlobalConfRtspTransportsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalConfRtspTransportsItem) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GlobalConfRtspTransportsItem) Validate

func (s GlobalConfRtspTransportsItem) Validate() error

type HLSMuxer

type HLSMuxer struct {
	Path                    OptString `json:"path"`
	Created                 OptString `json:"created"`
	LastRequest             OptString `json:"lastRequest"`
	OutboundBytes           OptUint64 `json:"outboundBytes"`
	OutboundFramesDiscarded OptUint64 `json:"outboundFramesDiscarded"`
	// Deprecated: schema marks this property as deprecated.
	BytesSent OptUint64 `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() OptUint64

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) GetOutboundBytes

func (s *HLSMuxer) GetOutboundBytes() OptUint64

GetOutboundBytes returns the value of OutboundBytes.

func (*HLSMuxer) GetOutboundFramesDiscarded

func (s *HLSMuxer) GetOutboundFramesDiscarded() OptUint64

GetOutboundFramesDiscarded returns the value of OutboundFramesDiscarded.

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 OptUint64)

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) SetOutboundBytes

func (s *HLSMuxer) SetOutboundBytes(val OptUint64)

SetOutboundBytes sets the value of OutboundBytes.

func (*HLSMuxer) SetOutboundFramesDiscarded

func (s *HLSMuxer) SetOutboundFramesDiscarded(val OptUint64)

SetOutboundFramesDiscarded sets the value of OutboundFramesDiscarded.

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 OptInt64   `json:"pageCount"`
	ItemCount OptInt64   `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

SetPageCount sets the value of PageCount.

func (*HLSMuxerList) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HLSSession

type HLSSession struct {
	ID            OptUUID   `json:"id"`
	Created       OptString `json:"created"`
	RemoteAddr    OptString `json:"remoteAddr"`
	Path          OptString `json:"path"`
	Query         OptString `json:"query"`
	User          OptString `json:"user"`
	IsCDN         OptBool   `json:"isCDN"`
	OutboundBytes OptUint64 `json:"outboundBytes"`
}

Ref: #/components/schemas/HLSSession

func (*HLSSession) Decode

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

Decode decodes HLSSession from json.

func (*HLSSession) Encode

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

Encode implements json.Marshaler.

func (*HLSSession) GetCreated

func (s *HLSSession) GetCreated() OptString

GetCreated returns the value of Created.

func (*HLSSession) GetID

func (s *HLSSession) GetID() OptUUID

GetID returns the value of ID.

func (*HLSSession) GetIsCDN

func (s *HLSSession) GetIsCDN() OptBool

GetIsCDN returns the value of IsCDN.

func (*HLSSession) GetOutboundBytes

func (s *HLSSession) GetOutboundBytes() OptUint64

GetOutboundBytes returns the value of OutboundBytes.

func (*HLSSession) GetPath

func (s *HLSSession) GetPath() OptString

GetPath returns the value of Path.

func (*HLSSession) GetQuery

func (s *HLSSession) GetQuery() OptString

GetQuery returns the value of Query.

func (*HLSSession) GetRemoteAddr

func (s *HLSSession) GetRemoteAddr() OptString

GetRemoteAddr returns the value of RemoteAddr.

func (*HLSSession) GetUser

func (s *HLSSession) GetUser() OptString

GetUser returns the value of User.

func (*HLSSession) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HLSSession) SetCreated

func (s *HLSSession) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*HLSSession) SetID

func (s *HLSSession) SetID(val OptUUID)

SetID sets the value of ID.

func (*HLSSession) SetIsCDN

func (s *HLSSession) SetIsCDN(val OptBool)

SetIsCDN sets the value of IsCDN.

func (*HLSSession) SetOutboundBytes

func (s *HLSSession) SetOutboundBytes(val OptUint64)

SetOutboundBytes sets the value of OutboundBytes.

func (*HLSSession) SetPath

func (s *HLSSession) SetPath(val OptString)

SetPath sets the value of Path.

func (*HLSSession) SetQuery

func (s *HLSSession) SetQuery(val OptString)

SetQuery sets the value of Query.

func (*HLSSession) SetRemoteAddr

func (s *HLSSession) SetRemoteAddr(val OptString)

SetRemoteAddr sets the value of RemoteAddr.

func (*HLSSession) SetUser

func (s *HLSSession) SetUser(val OptString)

SetUser sets the value of User.

func (*HLSSession) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HLSSessionList

type HLSSessionList struct {
	PageCount OptInt64     `json:"pageCount"`
	ItemCount OptInt64     `json:"itemCount"`
	Items     []HLSSession `json:"items"`
}

Ref: #/components/schemas/HLSSessionList

func (*HLSSessionList) Decode

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

Decode decodes HLSSessionList from json.

func (*HLSSessionList) Encode

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

Encode implements json.Marshaler.

func (*HLSSessionList) GetItemCount

func (s *HLSSessionList) GetItemCount() OptInt64

GetItemCount returns the value of ItemCount.

func (*HLSSessionList) GetItems

func (s *HLSSessionList) GetItems() []HLSSession

GetItems returns the value of Items.

func (*HLSSessionList) GetPageCount

func (s *HLSSessionList) GetPageCount() OptInt64

GetPageCount returns the value of PageCount.

func (*HLSSessionList) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HLSSessionList) SetItemCount

func (s *HLSSessionList) SetItemCount(val OptInt64)

SetItemCount sets the value of ItemCount.

func (*HLSSessionList) SetItems

func (s *HLSSessionList) SetItems(val []HLSSession)

SetItems sets the value of Items.

func (*HLSSessionList) SetPageCount

func (s *HLSSessionList) SetPageCount(val OptInt64)

SetPageCount sets the value of PageCount.

func (*HLSSessionList) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HLSVariant

type HLSVariant string

Ref: #/components/schemas/HLSVariant

const (
	HLSVariantMpegts     HLSVariant = "mpegts"
	HLSVariantFmp4       HLSVariant = "fmp4"
	HLSVariantLowLatency HLSVariant = "lowLatency"
)

func (HLSVariant) AllValues

func (HLSVariant) AllValues() []HLSVariant

AllValues returns all HLSVariant values.

func (*HLSVariant) Decode

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

Decode decodes HLSVariant from json.

func (HLSVariant) Encode

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

Encode encodes HLSVariant as json.

func (HLSVariant) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (HLSVariant) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*HLSVariant) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HLSVariant) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (HLSVariant) Validate

func (s HLSVariant) Validate() error

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.

func (*HlsMuxersGetBadRequest) Validate

func (s *HlsMuxersGetBadRequest) Validate() error

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.

func (*HlsMuxersGetInternalServerError) Validate

func (s *HlsMuxersGetInternalServerError) Validate() error

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.

func (*HlsMuxersGetNotFound) Validate

func (s *HlsMuxersGetNotFound) Validate() error

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.

func (*HlsMuxersListBadRequest) Validate

func (s *HlsMuxersListBadRequest) Validate() error

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.

func (*HlsMuxersListInternalServerError) Validate

type HlsMuxersListParams

type HlsMuxersListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

HlsMuxersListParams is parameters of hlsMuxersList operation.

type HlsMuxersListRes

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

type HlssessionsGetBadRequest

type HlssessionsGetBadRequest Error

func (*HlssessionsGetBadRequest) Decode

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

Decode decodes HlssessionsGetBadRequest from json.

func (*HlssessionsGetBadRequest) Encode

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

Encode encodes HlssessionsGetBadRequest as json.

func (*HlssessionsGetBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsGetBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsGetBadRequest) Validate

func (s *HlssessionsGetBadRequest) Validate() error

type HlssessionsGetInternalServerError

type HlssessionsGetInternalServerError Error

func (*HlssessionsGetInternalServerError) Decode

Decode decodes HlssessionsGetInternalServerError from json.

func (*HlssessionsGetInternalServerError) Encode

Encode encodes HlssessionsGetInternalServerError as json.

func (*HlssessionsGetInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsGetInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsGetInternalServerError) Validate

type HlssessionsGetNotFound

type HlssessionsGetNotFound Error

func (*HlssessionsGetNotFound) Decode

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

Decode decodes HlssessionsGetNotFound from json.

func (*HlssessionsGetNotFound) Encode

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

Encode encodes HlssessionsGetNotFound as json.

func (*HlssessionsGetNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsGetNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsGetNotFound) Validate

func (s *HlssessionsGetNotFound) Validate() error

type HlssessionsGetParams

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

HlssessionsGetParams is parameters of hlssessionsGet operation.

type HlssessionsGetRes

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

type HlssessionsKickBadRequest

type HlssessionsKickBadRequest Error

func (*HlssessionsKickBadRequest) Decode

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

Decode decodes HlssessionsKickBadRequest from json.

func (*HlssessionsKickBadRequest) Encode

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

Encode encodes HlssessionsKickBadRequest as json.

func (*HlssessionsKickBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsKickBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsKickBadRequest) Validate

func (s *HlssessionsKickBadRequest) Validate() error

type HlssessionsKickInternalServerError

type HlssessionsKickInternalServerError Error

func (*HlssessionsKickInternalServerError) Decode

Decode decodes HlssessionsKickInternalServerError from json.

func (*HlssessionsKickInternalServerError) Encode

Encode encodes HlssessionsKickInternalServerError as json.

func (*HlssessionsKickInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsKickInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsKickInternalServerError) Validate

type HlssessionsKickNotFound

type HlssessionsKickNotFound Error

func (*HlssessionsKickNotFound) Decode

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

Decode decodes HlssessionsKickNotFound from json.

func (*HlssessionsKickNotFound) Encode

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

Encode encodes HlssessionsKickNotFound as json.

func (*HlssessionsKickNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsKickNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsKickNotFound) Validate

func (s *HlssessionsKickNotFound) Validate() error

type HlssessionsKickParams

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

HlssessionsKickParams is parameters of hlssessionsKick operation.

type HlssessionsKickRes

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

type HlssessionsListBadRequest

type HlssessionsListBadRequest Error

func (*HlssessionsListBadRequest) Decode

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

Decode decodes HlssessionsListBadRequest from json.

func (*HlssessionsListBadRequest) Encode

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

Encode encodes HlssessionsListBadRequest as json.

func (*HlssessionsListBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsListBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsListBadRequest) Validate

func (s *HlssessionsListBadRequest) Validate() error

type HlssessionsListInternalServerError

type HlssessionsListInternalServerError Error

func (*HlssessionsListInternalServerError) Decode

Decode decodes HlssessionsListInternalServerError from json.

func (*HlssessionsListInternalServerError) Encode

Encode encodes HlssessionsListInternalServerError as json.

func (*HlssessionsListInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HlssessionsListInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HlssessionsListInternalServerError) Validate

type HlssessionsListParams

type HlssessionsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

HlssessionsListParams is parameters of hlssessionsList operation.

type HlssessionsListRes

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

type Info

type Info struct {
	Version OptString `json:"version"`
	Started OptString `json:"started"`
}

Ref: #/components/schemas/Info

func (*Info) Decode

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

Decode decodes Info from json.

func (*Info) Encode

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

Encode implements json.Marshaler.

func (*Info) GetStarted

func (s *Info) GetStarted() OptString

GetStarted returns the value of Started.

func (*Info) GetVersion

func (s *Info) GetVersion() OptString

GetVersion returns the value of Version.

func (*Info) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Info) SetStarted

func (s *Info) SetStarted(val OptString)

SetStarted sets the value of Started.

func (*Info) SetVersion

func (s *Info) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*Info) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InfoRes

type InfoRes 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)
	// HlssessionsGet invokes hlssessionsGet operation.
	//
	// Returns a HLS session.
	//
	// GET /v3/hlssessions/get/{id}
	HlssessionsGet(ctx context.Context, params HlssessionsGetParams) (HlssessionsGetRes, error)
	// HlssessionsKick invokes hlssessionsKick operation.
	//
	// Kicks out a HLS session from the server.
	//
	// POST /v3/hlssessions/kick/{id}
	HlssessionsKick(ctx context.Context, params HlssessionsKickParams) (HlssessionsKickRes, error)
	// HlssessionsList invokes hlssessionsList operation.
	//
	// Returns all HLS sessions.
	//
	// GET /v3/hlssessions/list
	HlssessionsList(ctx context.Context, params HlssessionsListParams) (HlssessionsListRes, error)
	// Info invokes info operation.
	//
	// Returns informations about the instance.
	//
	// GET /v3/info
	Info(ctx context.Context) (InfoRes, 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 of a path.
	//
	// GET /v3/recordings/get/{name}
	RecordingsGet(ctx context.Context, params RecordingsGetParams) (RecordingsGetRes, error)
	// RecordingsList invokes recordingsList operation.
	//
	// Returns all recordings, splitted by path.
	//
	// 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 LogDestination

type LogDestination string

Ref: #/components/schemas/LogDestination

const (
	LogDestinationStdout LogDestination = "stdout"
	LogDestinationFile   LogDestination = "file"
	LogDestinationSyslog LogDestination = "syslog"
)

func (LogDestination) AllValues

func (LogDestination) AllValues() []LogDestination

AllValues returns all LogDestination values.

func (*LogDestination) Decode

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

Decode decodes LogDestination from json.

func (LogDestination) Encode

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

Encode encodes LogDestination as json.

func (LogDestination) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (LogDestination) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*LogDestination) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LogDestination) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (LogDestination) Validate

func (s LogDestination) Validate() error

type LogLevel

type LogLevel string

Ref: #/components/schemas/LogLevel

const (
	LogLevelError LogLevel = "error"
	LogLevelWarn  LogLevel = "warn"
	LogLevelInfo  LogLevel = "info"
	LogLevelDebug LogLevel = "debug"
)

func (LogLevel) AllValues

func (LogLevel) AllValues() []LogLevel

AllValues returns all LogLevel values.

func (*LogLevel) Decode

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

Decode decodes LogLevel from json.

func (LogLevel) Encode

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

Encode encodes LogLevel as json.

func (LogLevel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (LogLevel) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*LogLevel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LogLevel) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (LogLevel) Validate

func (s LogLevel) Validate() error

type OK

type OK struct {
	Status OptOKStatus `json:"status"`
}

Ref: #/components/schemas/OK

func (*OK) Decode

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

Decode decodes OK from json.

func (*OK) Encode

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

Encode implements json.Marshaler.

func (*OK) GetStatus

func (s *OK) GetStatus() OptOKStatus

GetStatus returns the value of Status.

func (*OK) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*OK) SetStatus

func (s *OK) SetStatus(val OptOKStatus)

SetStatus sets the value of Status.

func (*OK) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OK) Validate

func (s *OK) Validate() error

type OKStatus

type OKStatus string

Ref: #/components/schemas/OKStatus

const (
	OKStatusOk OKStatus = "ok"
)

func (OKStatus) AllValues

func (OKStatus) AllValues() []OKStatus

AllValues returns all OKStatus values.

func (*OKStatus) Decode

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

Decode decodes OKStatus from json.

func (OKStatus) Encode

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

Encode encodes OKStatus as json.

func (OKStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OKStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*OKStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OKStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (OKStatus) Validate

func (s OKStatus) Validate() error

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"
	HlssessionsGetOperation          OperationName = "HlssessionsGet"
	HlssessionsKickOperation         OperationName = "HlssessionsKick"
	HlssessionsListOperation         OperationName = "HlssessionsList"
	InfoOperation                    OperationName = "Info"
	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 OptAlwaysAvailableTrackCodec

type OptAlwaysAvailableTrackCodec struct {
	Value AlwaysAvailableTrackCodec
	Set   bool
}

OptAlwaysAvailableTrackCodec is optional AlwaysAvailableTrackCodec.

func NewOptAlwaysAvailableTrackCodec

func NewOptAlwaysAvailableTrackCodec(v AlwaysAvailableTrackCodec) OptAlwaysAvailableTrackCodec

NewOptAlwaysAvailableTrackCodec returns new OptAlwaysAvailableTrackCodec with value set to v.

func (*OptAlwaysAvailableTrackCodec) Decode

Decode decodes AlwaysAvailableTrackCodec from json.

func (OptAlwaysAvailableTrackCodec) Encode

Encode encodes AlwaysAvailableTrackCodec as json.

func (OptAlwaysAvailableTrackCodec) Get

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

func (OptAlwaysAvailableTrackCodec) IsSet

IsSet returns true if OptAlwaysAvailableTrackCodec was set.

func (OptAlwaysAvailableTrackCodec) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptAlwaysAvailableTrackCodec) Or

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

func (*OptAlwaysAvailableTrackCodec) Reset

func (o *OptAlwaysAvailableTrackCodec) Reset()

Reset unsets value.

func (*OptAlwaysAvailableTrackCodec) SetTo

SetTo sets value to v.

func (*OptAlwaysAvailableTrackCodec) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAuthAction

type OptAuthAction struct {
	Value AuthAction
	Set   bool
}

OptAuthAction is optional AuthAction.

func NewOptAuthAction

func NewOptAuthAction(v AuthAction) OptAuthAction

NewOptAuthAction returns new OptAuthAction with value set to v.

func (*OptAuthAction) Decode

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

Decode decodes AuthAction from json.

func (OptAuthAction) Encode

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

Encode encodes AuthAction as json.

func (OptAuthAction) Get

func (o OptAuthAction) Get() (v AuthAction, ok bool)

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

func (OptAuthAction) IsSet

func (o OptAuthAction) IsSet() bool

IsSet returns true if OptAuthAction was set.

func (OptAuthAction) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptAuthAction) Or

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

func (*OptAuthAction) Reset

func (o *OptAuthAction) Reset()

Reset unsets value.

func (*OptAuthAction) SetTo

func (o *OptAuthAction) SetTo(v AuthAction)

SetTo sets value to v.

func (*OptAuthAction) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAuthMethod

type OptAuthMethod struct {
	Value AuthMethod
	Set   bool
}

OptAuthMethod is optional AuthMethod.

func NewOptAuthMethod

func NewOptAuthMethod(v AuthMethod) OptAuthMethod

NewOptAuthMethod returns new OptAuthMethod with value set to v.

func (*OptAuthMethod) Decode

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

Decode decodes AuthMethod from json.

func (OptAuthMethod) Encode

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

Encode encodes AuthMethod as json.

func (OptAuthMethod) Get

func (o OptAuthMethod) Get() (v AuthMethod, ok bool)

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

func (OptAuthMethod) IsSet

func (o OptAuthMethod) IsSet() bool

IsSet returns true if OptAuthMethod was set.

func (OptAuthMethod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptAuthMethod) Or

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

func (*OptAuthMethod) Reset

func (o *OptAuthMethod) Reset()

Reset unsets value.

func (*OptAuthMethod) SetTo

func (o *OptAuthMethod) SetTo(v AuthMethod)

SetTo sets value to v.

func (*OptAuthMethod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptEncryption

type OptEncryption struct {
	Value Encryption
	Set   bool
}

OptEncryption is optional Encryption.

func NewOptEncryption

func NewOptEncryption(v Encryption) OptEncryption

NewOptEncryption returns new OptEncryption with value set to v.

func (*OptEncryption) Decode

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

Decode decodes Encryption from json.

func (OptEncryption) Encode

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

Encode encodes Encryption as json.

func (OptEncryption) Get

func (o OptEncryption) Get() (v Encryption, ok bool)

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

func (OptEncryption) IsSet

func (o OptEncryption) IsSet() bool

IsSet returns true if OptEncryption was set.

func (OptEncryption) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptEncryption) Or

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

func (*OptEncryption) Reset

func (o *OptEncryption) Reset()

Reset unsets value.

func (*OptEncryption) SetTo

func (o *OptEncryption) SetTo(v Encryption)

SetTo sets value to v.

func (*OptEncryption) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptErrorStatus

type OptErrorStatus struct {
	Value ErrorStatus
	Set   bool
}

OptErrorStatus is optional ErrorStatus.

func NewOptErrorStatus

func NewOptErrorStatus(v ErrorStatus) OptErrorStatus

NewOptErrorStatus returns new OptErrorStatus with value set to v.

func (*OptErrorStatus) Decode

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

Decode decodes ErrorStatus from json.

func (OptErrorStatus) Encode

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

Encode encodes ErrorStatus as json.

func (OptErrorStatus) Get

func (o OptErrorStatus) Get() (v ErrorStatus, ok bool)

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

func (OptErrorStatus) IsSet

func (o OptErrorStatus) IsSet() bool

IsSet returns true if OptErrorStatus was set.

func (OptErrorStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptErrorStatus) Or

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

func (*OptErrorStatus) Reset

func (o *OptErrorStatus) Reset()

Reset unsets value.

func (*OptErrorStatus) SetTo

func (o *OptErrorStatus) SetTo(v ErrorStatus)

SetTo sets value to v.

func (*OptErrorStatus) UnmarshalJSON

func (s *OptErrorStatus) 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 OptHLSVariant

type OptHLSVariant struct {
	Value HLSVariant
	Set   bool
}

OptHLSVariant is optional HLSVariant.

func NewOptHLSVariant

func NewOptHLSVariant(v HLSVariant) OptHLSVariant

NewOptHLSVariant returns new OptHLSVariant with value set to v.

func (*OptHLSVariant) Decode

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

Decode decodes HLSVariant from json.

func (OptHLSVariant) Encode

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

Encode encodes HLSVariant as json.

func (OptHLSVariant) Get

func (o OptHLSVariant) Get() (v HLSVariant, ok bool)

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

func (OptHLSVariant) IsSet

func (o OptHLSVariant) IsSet() bool

IsSet returns true if OptHLSVariant was set.

func (OptHLSVariant) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptHLSVariant) Or

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

func (*OptHLSVariant) Reset

func (o *OptHLSVariant) Reset()

Reset unsets value.

func (*OptHLSVariant) SetTo

func (o *OptHLSVariant) SetTo(v HLSVariant)

SetTo sets value to v.

func (*OptHLSVariant) UnmarshalJSON

func (s *OptHLSVariant) 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) 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) 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.

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 OptLogLevel

type OptLogLevel struct {
	Value LogLevel
	Set   bool
}

OptLogLevel is optional LogLevel.

func NewOptLogLevel

func NewOptLogLevel(v LogLevel) OptLogLevel

NewOptLogLevel returns new OptLogLevel with value set to v.

func (*OptLogLevel) Decode

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

Decode decodes LogLevel from json.

func (OptLogLevel) Encode

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

Encode encodes LogLevel as json.

func (OptLogLevel) Get

func (o OptLogLevel) Get() (v LogLevel, ok bool)

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

func (OptLogLevel) IsSet

func (o OptLogLevel) IsSet() bool

IsSet returns true if OptLogLevel was set.

func (OptLogLevel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptLogLevel) Or

func (o OptLogLevel) Or(d LogLevel) LogLevel

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

func (*OptLogLevel) Reset

func (o *OptLogLevel) Reset()

Reset unsets value.

func (*OptLogLevel) SetTo

func (o *OptLogLevel) SetTo(v LogLevel)

SetTo sets value to v.

func (*OptLogLevel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBool

type OptNilBool struct {
	Value bool
	Set   bool
	Null  bool
}

OptNilBool is optional nullable bool.

func NewOptNilBool

func NewOptNilBool(v bool) OptNilBool

NewOptNilBool returns new OptNilBool with value set to v.

func (*OptNilBool) Decode

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

Decode decodes bool from json.

func (OptNilBool) Encode

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

Encode encodes bool as json.

func (OptNilBool) Get

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

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

func (OptNilBool) IsNull

func (o OptNilBool) IsNull() bool

IsNull returns true if value is Null.

func (OptNilBool) IsSet

func (o OptNilBool) IsSet() bool

IsSet returns true if OptNilBool was set.

func (OptNilBool) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilBool) Or

func (o OptNilBool) Or(d bool) bool

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

func (*OptNilBool) Reset

func (o *OptNilBool) Reset()

Reset unsets value.

func (*OptNilBool) SetTo

func (o *OptNilBool) SetTo(v bool)

SetTo sets value to v.

func (*OptNilBool) SetToNull

func (o *OptNilBool) SetToNull()

SetToNull sets value to null.

func (*OptNilBool) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEncryption

type OptNilEncryption struct {
	Value Encryption
	Set   bool
	Null  bool
}

OptNilEncryption is optional nullable Encryption.

func NewOptNilEncryption

func NewOptNilEncryption(v Encryption) OptNilEncryption

NewOptNilEncryption returns new OptNilEncryption with value set to v.

func (*OptNilEncryption) Decode

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

Decode decodes Encryption from json.

func (OptNilEncryption) Encode

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

Encode encodes Encryption as json.

func (OptNilEncryption) Get

func (o OptNilEncryption) Get() (v Encryption, ok bool)

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

func (OptNilEncryption) IsNull

func (o OptNilEncryption) IsNull() bool

IsNull returns true if value is Null.

func (OptNilEncryption) IsSet

func (o OptNilEncryption) IsSet() bool

IsSet returns true if OptNilEncryption was set.

func (OptNilEncryption) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilEncryption) Or

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

func (*OptNilEncryption) Reset

func (o *OptNilEncryption) Reset()

Reset unsets value.

func (*OptNilEncryption) SetTo

func (o *OptNilEncryption) SetTo(v Encryption)

SetTo sets value to v.

func (*OptNilEncryption) SetToNull

func (o *OptNilEncryption) SetToNull()

SetToNull sets value to null.

func (*OptNilEncryption) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilGlobalConfProtocolsItemArray

type OptNilGlobalConfProtocolsItemArray struct {
	Value []GlobalConfProtocolsItem
	Set   bool
	Null  bool
}

OptNilGlobalConfProtocolsItemArray is optional nullable []GlobalConfProtocolsItem.

func NewOptNilGlobalConfProtocolsItemArray

func NewOptNilGlobalConfProtocolsItemArray(v []GlobalConfProtocolsItem) OptNilGlobalConfProtocolsItemArray

NewOptNilGlobalConfProtocolsItemArray returns new OptNilGlobalConfProtocolsItemArray with value set to v.

func (*OptNilGlobalConfProtocolsItemArray) Decode

Decode decodes []GlobalConfProtocolsItem from json.

func (OptNilGlobalConfProtocolsItemArray) Encode

Encode encodes []GlobalConfProtocolsItem as json.

func (OptNilGlobalConfProtocolsItemArray) Get

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

func (OptNilGlobalConfProtocolsItemArray) IsNull

IsNull returns true if value is Null.

func (OptNilGlobalConfProtocolsItemArray) IsSet

IsSet returns true if OptNilGlobalConfProtocolsItemArray was set.

func (OptNilGlobalConfProtocolsItemArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilGlobalConfProtocolsItemArray) Or

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

func (*OptNilGlobalConfProtocolsItemArray) Reset

Reset unsets value.

func (*OptNilGlobalConfProtocolsItemArray) SetTo

SetTo sets value to v.

func (*OptNilGlobalConfProtocolsItemArray) SetToNull

func (o *OptNilGlobalConfProtocolsItemArray) SetToNull()

SetToNull sets value to null.

func (*OptNilGlobalConfProtocolsItemArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilInt64

type OptNilInt64 struct {
	Value int64
	Set   bool
	Null  bool
}

OptNilInt64 is optional nullable int64.

func NewOptNilInt64

func NewOptNilInt64(v int64) OptNilInt64

NewOptNilInt64 returns new OptNilInt64 with value set to v.

func (*OptNilInt64) Decode

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

Decode decodes int64 from json.

func (OptNilInt64) Encode

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

Encode encodes int64 as json.

func (OptNilInt64) Get

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

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

func (OptNilInt64) IsNull

func (o OptNilInt64) IsNull() bool

IsNull returns true if value is Null.

func (OptNilInt64) IsSet

func (o OptNilInt64) IsSet() bool

IsSet returns true if OptNilInt64 was set.

func (OptNilInt64) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt64) Or

func (o OptNilInt64) Or(d int64) int64

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

func (*OptNilInt64) Reset

func (o *OptNilInt64) Reset()

Reset unsets value.

func (*OptNilInt64) SetTo

func (o *OptNilInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptNilInt64) SetToNull

func (o *OptNilInt64) SetToNull()

SetToNull sets value to null.

func (*OptNilInt64) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilPathSource

type OptNilPathSource struct {
	Value PathSource
	Set   bool
	Null  bool
}

OptNilPathSource is optional nullable PathSource.

func NewOptNilPathSource

func NewOptNilPathSource(v PathSource) OptNilPathSource

NewOptNilPathSource returns new OptNilPathSource with value set to v.

func (*OptNilPathSource) Decode

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

Decode decodes PathSource from json.

func (OptNilPathSource) Encode

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

Encode encodes PathSource as json.

func (OptNilPathSource) Get

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

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

func (OptNilPathSource) IsNull

func (o OptNilPathSource) IsNull() bool

IsNull returns true if value is Null.

func (OptNilPathSource) IsSet

func (o OptNilPathSource) IsSet() bool

IsSet returns true if OptNilPathSource was set.

func (OptNilPathSource) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilPathSource) Or

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

func (*OptNilPathSource) Reset

func (o *OptNilPathSource) Reset()

Reset unsets value.

func (*OptNilPathSource) SetTo

func (o *OptNilPathSource) SetTo(v PathSource)

SetTo sets value to v.

func (*OptNilPathSource) SetToNull

func (o *OptNilPathSource) SetToNull()

SetToNull sets value to null.

func (*OptNilPathSource) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilPathTrackCodecProps

type OptNilPathTrackCodecProps struct {
	Value PathTrackCodecProps
	Set   bool
	Null  bool
}

OptNilPathTrackCodecProps is optional nullable PathTrackCodecProps.

func NewOptNilPathTrackCodecProps

func NewOptNilPathTrackCodecProps(v PathTrackCodecProps) OptNilPathTrackCodecProps

NewOptNilPathTrackCodecProps returns new OptNilPathTrackCodecProps with value set to v.

func (*OptNilPathTrackCodecProps) Decode

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

Decode decodes PathTrackCodecProps from json.

func (OptNilPathTrackCodecProps) Encode

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

Encode encodes PathTrackCodecProps as json.

func (OptNilPathTrackCodecProps) Get

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

func (OptNilPathTrackCodecProps) IsNull

func (o OptNilPathTrackCodecProps) IsNull() bool

IsNull returns true if value is Null.

func (OptNilPathTrackCodecProps) IsSet

func (o OptNilPathTrackCodecProps) IsSet() bool

IsSet returns true if OptNilPathTrackCodecProps was set.

func (OptNilPathTrackCodecProps) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilPathTrackCodecProps) Or

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

func (*OptNilPathTrackCodecProps) Reset

func (o *OptNilPathTrackCodecProps) Reset()

Reset unsets value.

func (*OptNilPathTrackCodecProps) SetTo

SetTo sets value to v.

func (*OptNilPathTrackCodecProps) SetToNull

func (o *OptNilPathTrackCodecProps) SetToNull()

SetToNull sets value to null.

func (*OptNilPathTrackCodecProps) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilRTSPAuthMethodArray

type OptNilRTSPAuthMethodArray struct {
	Value []RTSPAuthMethod
	Set   bool
	Null  bool
}

OptNilRTSPAuthMethodArray is optional nullable []RTSPAuthMethod.

func NewOptNilRTSPAuthMethodArray

func NewOptNilRTSPAuthMethodArray(v []RTSPAuthMethod) OptNilRTSPAuthMethodArray

NewOptNilRTSPAuthMethodArray returns new OptNilRTSPAuthMethodArray with value set to v.

func (*OptNilRTSPAuthMethodArray) Decode

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

Decode decodes []RTSPAuthMethod from json.

func (OptNilRTSPAuthMethodArray) Encode

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

Encode encodes []RTSPAuthMethod as json.

func (OptNilRTSPAuthMethodArray) Get

func (o OptNilRTSPAuthMethodArray) Get() (v []RTSPAuthMethod, ok bool)

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

func (OptNilRTSPAuthMethodArray) IsNull

func (o OptNilRTSPAuthMethodArray) IsNull() bool

IsNull returns true if value is Null.

func (OptNilRTSPAuthMethodArray) IsSet

func (o OptNilRTSPAuthMethodArray) IsSet() bool

IsSet returns true if OptNilRTSPAuthMethodArray was set.

func (OptNilRTSPAuthMethodArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilRTSPAuthMethodArray) Or

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

func (*OptNilRTSPAuthMethodArray) Reset

func (o *OptNilRTSPAuthMethodArray) Reset()

Reset unsets value.

func (*OptNilRTSPAuthMethodArray) SetTo

SetTo sets value to v.

func (*OptNilRTSPAuthMethodArray) SetToNull

func (o *OptNilRTSPAuthMethodArray) SetToNull()

SetToNull sets value to null.

func (*OptNilRTSPAuthMethodArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilRTSPTransport

type OptNilRTSPTransport struct {
	Value RTSPTransport
	Set   bool
	Null  bool
}

OptNilRTSPTransport is optional nullable RTSPTransport.

func NewOptNilRTSPTransport

func NewOptNilRTSPTransport(v RTSPTransport) OptNilRTSPTransport

NewOptNilRTSPTransport returns new OptNilRTSPTransport with value set to v.

func (*OptNilRTSPTransport) Decode

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

Decode decodes RTSPTransport from json.

func (OptNilRTSPTransport) Encode

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

Encode encodes RTSPTransport as json.

func (OptNilRTSPTransport) Get

func (o OptNilRTSPTransport) Get() (v RTSPTransport, ok bool)

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

func (OptNilRTSPTransport) IsNull

func (o OptNilRTSPTransport) IsNull() bool

IsNull returns true if value is Null.

func (OptNilRTSPTransport) IsSet

func (o OptNilRTSPTransport) IsSet() bool

IsSet returns true if OptNilRTSPTransport was set.

func (OptNilRTSPTransport) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilRTSPTransport) Or

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

func (*OptNilRTSPTransport) Reset

func (o *OptNilRTSPTransport) Reset()

Reset unsets value.

func (*OptNilRTSPTransport) SetTo

func (o *OptNilRTSPTransport) SetTo(v RTSPTransport)

SetTo sets value to v.

func (*OptNilRTSPTransport) SetToNull

func (o *OptNilRTSPTransport) SetToNull()

SetToNull sets value to null.

func (*OptNilRTSPTransport) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilRecordFormat

type OptNilRecordFormat struct {
	Value RecordFormat
	Set   bool
	Null  bool
}

OptNilRecordFormat is optional nullable RecordFormat.

func NewOptNilRecordFormat

func NewOptNilRecordFormat(v RecordFormat) OptNilRecordFormat

NewOptNilRecordFormat returns new OptNilRecordFormat with value set to v.

func (*OptNilRecordFormat) Decode

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

Decode decodes RecordFormat from json.

func (OptNilRecordFormat) Encode

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

Encode encodes RecordFormat as json.

func (OptNilRecordFormat) Get

func (o OptNilRecordFormat) Get() (v RecordFormat, ok bool)

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

func (OptNilRecordFormat) IsNull

func (o OptNilRecordFormat) IsNull() bool

IsNull returns true if value is Null.

func (OptNilRecordFormat) IsSet

func (o OptNilRecordFormat) IsSet() bool

IsSet returns true if OptNilRecordFormat was set.

func (OptNilRecordFormat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilRecordFormat) Or

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

func (*OptNilRecordFormat) Reset

func (o *OptNilRecordFormat) Reset()

Reset unsets value.

func (*OptNilRecordFormat) SetTo

func (o *OptNilRecordFormat) SetTo(v RecordFormat)

SetTo sets value to v.

func (*OptNilRecordFormat) SetToNull

func (o *OptNilRecordFormat) SetToNull()

SetToNull sets value to null.

func (*OptNilRecordFormat) UnmarshalJSON

func (s *OptNilRecordFormat) 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 OptNilStringArray

type OptNilStringArray struct {
	Value []string
	Set   bool
	Null  bool
}

OptNilStringArray is optional nullable []string.

func NewOptNilStringArray

func NewOptNilStringArray(v []string) OptNilStringArray

NewOptNilStringArray returns new OptNilStringArray with value set to v.

func (*OptNilStringArray) Decode

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

Decode decodes []string from json.

func (OptNilStringArray) Encode

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

Encode encodes []string as json.

func (OptNilStringArray) Get

func (o OptNilStringArray) Get() (v []string, ok bool)

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

func (OptNilStringArray) IsNull

func (o OptNilStringArray) IsNull() bool

IsNull returns true if value is Null.

func (OptNilStringArray) IsSet

func (o OptNilStringArray) IsSet() bool

IsSet returns true if OptNilStringArray was set.

func (OptNilStringArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilStringArray) Or

func (o OptNilStringArray) Or(d []string) []string

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

func (*OptNilStringArray) Reset

func (o *OptNilStringArray) Reset()

Reset unsets value.

func (*OptNilStringArray) SetTo

func (o *OptNilStringArray) SetTo(v []string)

SetTo sets value to v.

func (*OptNilStringArray) SetToNull

func (o *OptNilStringArray) SetToNull()

SetToNull sets value to null.

func (*OptNilStringArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUUID

type OptNilUUID struct {
	Value uuid.UUID
	Set   bool
	Null  bool
}

OptNilUUID is optional nullable uuid.UUID.

func NewOptNilUUID

func NewOptNilUUID(v uuid.UUID) OptNilUUID

NewOptNilUUID returns new OptNilUUID with value set to v.

func (*OptNilUUID) Decode

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

Decode decodes uuid.UUID from json.

func (OptNilUUID) Encode

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

Encode encodes uuid.UUID as json.

func (OptNilUUID) Get

func (o OptNilUUID) Get() (v uuid.UUID, ok bool)

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

func (OptNilUUID) IsNull

func (o OptNilUUID) IsNull() bool

IsNull returns true if value is Null.

func (OptNilUUID) IsSet

func (o OptNilUUID) IsSet() bool

IsSet returns true if OptNilUUID was set.

func (OptNilUUID) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilUUID) Or

func (o OptNilUUID) Or(d uuid.UUID) uuid.UUID

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

func (*OptNilUUID) Reset

func (o *OptNilUUID) Reset()

Reset unsets value.

func (*OptNilUUID) SetTo

func (o *OptNilUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

func (*OptNilUUID) SetToNull

func (o *OptNilUUID) SetToNull()

SetToNull sets value to null.

func (*OptNilUUID) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUint64

type OptNilUint64 struct {
	Value uint64
	Set   bool
	Null  bool
}

OptNilUint64 is optional nullable uint64.

func NewOptNilUint64

func NewOptNilUint64(v uint64) OptNilUint64

NewOptNilUint64 returns new OptNilUint64 with value set to v.

func (*OptNilUint64) Decode

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

Decode decodes uint64 from json.

func (OptNilUint64) Encode

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

Encode encodes uint64 as json.

func (OptNilUint64) Get

func (o OptNilUint64) Get() (v uint64, ok bool)

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

func (OptNilUint64) IsNull

func (o OptNilUint64) IsNull() bool

IsNull returns true if value is Null.

func (OptNilUint64) IsSet

func (o OptNilUint64) IsSet() bool

IsSet returns true if OptNilUint64 was set.

func (OptNilUint64) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilUint64) Or

func (o OptNilUint64) Or(d uint64) uint64

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

func (*OptNilUint64) Reset

func (o *OptNilUint64) Reset()

Reset unsets value.

func (*OptNilUint64) SetTo

func (o *OptNilUint64) SetTo(v uint64)

SetTo sets value to v.

func (*OptNilUint64) SetToNull

func (o *OptNilUint64) SetToNull()

SetToNull sets value to null.

func (*OptNilUint64) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOKStatus

type OptOKStatus struct {
	Value OKStatus
	Set   bool
}

OptOKStatus is optional OKStatus.

func NewOptOKStatus

func NewOptOKStatus(v OKStatus) OptOKStatus

NewOptOKStatus returns new OptOKStatus with value set to v.

func (*OptOKStatus) Decode

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

Decode decodes OKStatus from json.

func (OptOKStatus) Encode

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

Encode encodes OKStatus as json.

func (OptOKStatus) Get

func (o OptOKStatus) Get() (v OKStatus, ok bool)

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

func (OptOKStatus) IsSet

func (o OptOKStatus) IsSet() bool

IsSet returns true if OptOKStatus was set.

func (OptOKStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptOKStatus) Or

func (o OptOKStatus) Or(d OKStatus) OKStatus

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

func (*OptOKStatus) Reset

func (o *OptOKStatus) Reset()

Reset unsets value.

func (*OptOKStatus) SetTo

func (o *OptOKStatus) SetTo(v OKStatus)

SetTo sets value to v.

func (*OptOKStatus) UnmarshalJSON

func (s *OptOKStatus) 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 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 OptPathTrackCodec

type OptPathTrackCodec struct {
	Value PathTrackCodec
	Set   bool
}

OptPathTrackCodec is optional PathTrackCodec.

func NewOptPathTrackCodec

func NewOptPathTrackCodec(v PathTrackCodec) OptPathTrackCodec

NewOptPathTrackCodec returns new OptPathTrackCodec with value set to v.

func (*OptPathTrackCodec) Decode

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

Decode decodes PathTrackCodec from json.

func (OptPathTrackCodec) Encode

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

Encode encodes PathTrackCodec as json.

func (OptPathTrackCodec) Get

func (o OptPathTrackCodec) Get() (v PathTrackCodec, ok bool)

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

func (OptPathTrackCodec) IsSet

func (o OptPathTrackCodec) IsSet() bool

IsSet returns true if OptPathTrackCodec was set.

func (OptPathTrackCodec) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptPathTrackCodec) Or

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

func (*OptPathTrackCodec) Reset

func (o *OptPathTrackCodec) Reset()

Reset unsets value.

func (*OptPathTrackCodec) SetTo

func (o *OptPathTrackCodec) SetTo(v PathTrackCodec)

SetTo sets value to v.

func (*OptPathTrackCodec) UnmarshalJSON

func (s *OptPathTrackCodec) 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 OptRTSPRangeType

type OptRTSPRangeType struct {
	Value RTSPRangeType
	Set   bool
}

OptRTSPRangeType is optional RTSPRangeType.

func NewOptRTSPRangeType

func NewOptRTSPRangeType(v RTSPRangeType) OptRTSPRangeType

NewOptRTSPRangeType returns new OptRTSPRangeType with value set to v.

func (*OptRTSPRangeType) Decode

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

Decode decodes RTSPRangeType from json.

func (OptRTSPRangeType) Encode

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

Encode encodes RTSPRangeType as json.

func (OptRTSPRangeType) Get

func (o OptRTSPRangeType) Get() (v RTSPRangeType, ok bool)

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

func (OptRTSPRangeType) IsSet

func (o OptRTSPRangeType) IsSet() bool

IsSet returns true if OptRTSPRangeType was set.

func (OptRTSPRangeType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptRTSPRangeType) Or

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

func (*OptRTSPRangeType) Reset

func (o *OptRTSPRangeType) Reset()

Reset unsets value.

func (*OptRTSPRangeType) SetTo

func (o *OptRTSPRangeType) SetTo(v RTSPRangeType)

SetTo sets value to v.

func (*OptRTSPRangeType) UnmarshalJSON

func (s *OptRTSPRangeType) 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 OptRTSPTransport

type OptRTSPTransport struct {
	Value RTSPTransport
	Set   bool
}

OptRTSPTransport is optional RTSPTransport.

func NewOptRTSPTransport

func NewOptRTSPTransport(v RTSPTransport) OptRTSPTransport

NewOptRTSPTransport returns new OptRTSPTransport with value set to v.

func (*OptRTSPTransport) Decode

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

Decode decodes RTSPTransport from json.

func (OptRTSPTransport) Encode

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

Encode encodes RTSPTransport as json.

func (OptRTSPTransport) Get

func (o OptRTSPTransport) Get() (v RTSPTransport, ok bool)

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

func (OptRTSPTransport) IsSet

func (o OptRTSPTransport) IsSet() bool

IsSet returns true if OptRTSPTransport was set.

func (OptRTSPTransport) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptRTSPTransport) Or

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

func (*OptRTSPTransport) Reset

func (o *OptRTSPTransport) Reset()

Reset unsets value.

func (*OptRTSPTransport) SetTo

func (o *OptRTSPTransport) SetTo(v RTSPTransport)

SetTo sets value to v.

func (*OptRTSPTransport) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRecordFormat

type OptRecordFormat struct {
	Value RecordFormat
	Set   bool
}

OptRecordFormat is optional RecordFormat.

func NewOptRecordFormat

func NewOptRecordFormat(v RecordFormat) OptRecordFormat

NewOptRecordFormat returns new OptRecordFormat with value set to v.

func (*OptRecordFormat) Decode

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

Decode decodes RecordFormat from json.

func (OptRecordFormat) Encode

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

Encode encodes RecordFormat as json.

func (OptRecordFormat) Get

func (o OptRecordFormat) Get() (v RecordFormat, ok bool)

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

func (OptRecordFormat) IsSet

func (o OptRecordFormat) IsSet() bool

IsSet returns true if OptRecordFormat was set.

func (OptRecordFormat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptRecordFormat) Or

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

func (*OptRecordFormat) Reset

func (o *OptRecordFormat) Reset()

Reset unsets value.

func (*OptRecordFormat) SetTo

func (o *OptRecordFormat) SetTo(v RecordFormat)

SetTo sets value to v.

func (*OptRecordFormat) UnmarshalJSON

func (s *OptRecordFormat) 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 OptUUID

type OptUUID struct {
	Value uuid.UUID
	Set   bool
}

OptUUID is optional uuid.UUID.

func NewOptUUID

func NewOptUUID(v uuid.UUID) OptUUID

NewOptUUID returns new OptUUID with value set to v.

func (*OptUUID) Decode

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

Decode decodes uuid.UUID from json.

func (OptUUID) Encode

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

Encode encodes uuid.UUID as json.

func (OptUUID) Get

func (o OptUUID) Get() (v uuid.UUID, ok bool)

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

func (OptUUID) IsSet

func (o OptUUID) IsSet() bool

IsSet returns true if OptUUID was set.

func (OptUUID) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptUUID) Or

func (o OptUUID) Or(d uuid.UUID) uuid.UUID

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

func (*OptUUID) Reset

func (o *OptUUID) Reset()

Reset unsets value.

func (*OptUUID) SetTo

func (o *OptUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

func (*OptUUID) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUint64

type OptUint64 struct {
	Value uint64
	Set   bool
}

OptUint64 is optional uint64.

func NewOptUint64

func NewOptUint64(v uint64) OptUint64

NewOptUint64 returns new OptUint64 with value set to v.

func (*OptUint64) Decode

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

Decode decodes uint64 from json.

func (OptUint64) Encode

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

Encode encodes uint64 as json.

func (OptUint64) Get

func (o OptUint64) Get() (v uint64, ok bool)

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

func (OptUint64) IsSet

func (o OptUint64) IsSet() bool

IsSet returns true if OptUint64 was set.

func (OptUint64) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptUint64) Or

func (o OptUint64) Or(d uint64) uint64

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

func (*OptUint64) Reset

func (o *OptUint64) Reset()

Reset unsets value.

func (*OptUint64) SetTo

func (o *OptUint64) SetTo(v uint64)

SetTo sets value to v.

func (*OptUint64) UnmarshalJSON

func (s *OptUint64) 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   OptNilPathSource `json:"source"`
	// Deprecated: schema marks this property as deprecated.
	Ready OptBool `json:"ready"`
	// Deprecated: schema marks this property as deprecated.
	ReadyTime     OptNilString `json:"readyTime"`
	Available     OptBool      `json:"available"`
	AvailableTime OptNilString `json:"availableTime"`
	Online        OptBool      `json:"online"`
	OnlineTime    OptNilString `json:"onlineTime"`
	// Deprecated: schema marks this property as deprecated.
	Tracks               []PathTrackCodec `json:"tracks"`
	Tracks2              []PathTrack      `json:"tracks2"`
	InboundBytes         OptUint64        `json:"inboundBytes"`
	OutboundBytes        OptUint64        `json:"outboundBytes"`
	InboundFramesInError OptUint64        `json:"inboundFramesInError"`
	// Deprecated: schema marks this property as deprecated.
	BytesReceived OptUint64 `json:"bytesReceived"`
	// Deprecated: schema marks this property as deprecated.
	BytesSent OptUint64    `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) GetAvailable

func (s *Path) GetAvailable() OptBool

GetAvailable returns the value of Available.

func (*Path) GetAvailableTime

func (s *Path) GetAvailableTime() OptNilString

GetAvailableTime returns the value of AvailableTime.

func (*Path) GetBytesReceived

func (s *Path) GetBytesReceived() OptUint64

GetBytesReceived returns the value of BytesReceived.

func (*Path) GetBytesSent

func (s *Path) GetBytesSent() OptUint64

GetBytesSent returns the value of BytesSent.

func (*Path) GetConfName

func (s *Path) GetConfName() OptString

GetConfName returns the value of ConfName.

func (*Path) GetInboundBytes

func (s *Path) GetInboundBytes() OptUint64

GetInboundBytes returns the value of InboundBytes.

func (*Path) GetInboundFramesInError

func (s *Path) GetInboundFramesInError() OptUint64

GetInboundFramesInError returns the value of InboundFramesInError.

func (*Path) GetName

func (s *Path) GetName() OptString

GetName returns the value of Name.

func (*Path) GetOnline

func (s *Path) GetOnline() OptBool

GetOnline returns the value of Online.

func (*Path) GetOnlineTime

func (s *Path) GetOnlineTime() OptNilString

GetOnlineTime returns the value of OnlineTime.

func (*Path) GetOutboundBytes

func (s *Path) GetOutboundBytes() OptUint64

GetOutboundBytes returns the value of OutboundBytes.

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() OptNilPathSource

GetSource returns the value of Source.

func (*Path) GetTracks

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

GetTracks returns the value of Tracks.

func (*Path) GetTracks2

func (s *Path) GetTracks2() []PathTrack

GetTracks2 returns the value of Tracks2.

func (*Path) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Path) SetAvailable

func (s *Path) SetAvailable(val OptBool)

SetAvailable sets the value of Available.

func (*Path) SetAvailableTime

func (s *Path) SetAvailableTime(val OptNilString)

SetAvailableTime sets the value of AvailableTime.

func (*Path) SetBytesReceived

func (s *Path) SetBytesReceived(val OptUint64)

SetBytesReceived sets the value of BytesReceived.

func (*Path) SetBytesSent

func (s *Path) SetBytesSent(val OptUint64)

SetBytesSent sets the value of BytesSent.

func (*Path) SetConfName

func (s *Path) SetConfName(val OptString)

SetConfName sets the value of ConfName.

func (*Path) SetInboundBytes

func (s *Path) SetInboundBytes(val OptUint64)

SetInboundBytes sets the value of InboundBytes.

func (*Path) SetInboundFramesInError

func (s *Path) SetInboundFramesInError(val OptUint64)

SetInboundFramesInError sets the value of InboundFramesInError.

func (*Path) SetName

func (s *Path) SetName(val OptString)

SetName sets the value of Name.

func (*Path) SetOnline

func (s *Path) SetOnline(val OptBool)

SetOnline sets the value of Online.

func (*Path) SetOnlineTime

func (s *Path) SetOnlineTime(val OptNilString)

SetOnlineTime sets the value of OnlineTime.

func (*Path) SetOutboundBytes

func (s *Path) SetOutboundBytes(val OptUint64)

SetOutboundBytes sets the value of OutboundBytes.

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 OptNilPathSource)

SetSource sets the value of Source.

func (*Path) SetTracks

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

SetTracks sets the value of Tracks.

func (*Path) SetTracks2

func (s *Path) SetTracks2(val []PathTrack)

SetTracks2 sets the value of Tracks2.

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                 OptInt64  `json:"maxReaders"`
	SrtReadPassphrase          OptString `json:"srtReadPassphrase"`
	// Deprecated: schema marks this property as deprecated.
	Fallback              OptNilString           `json:"fallback"`
	UseAbsoluteTimestamp  OptBool                `json:"useAbsoluteTimestamp"`
	AlwaysAvailable       OptBool                `json:"alwaysAvailable"`
	AlwaysAvailableTracks []AlwaysAvailableTrack `json:"alwaysAvailableTracks"`
	AlwaysAvailableFile   OptString              `json:"alwaysAvailableFile"`
	Record                OptBool                `json:"record"`
	// Deprecated: schema marks this property as deprecated.
	Playback              OptNilBool      `json:"playback"`
	RecordPath            OptString       `json:"recordPath"`
	RecordFormat          OptRecordFormat `json:"recordFormat"`
	RecordPartDuration    OptString       `json:"recordPartDuration"`
	RecordMaxPartSize     OptString       `json:"recordMaxPartSize"`
	RecordSegmentDuration OptString       `json:"recordSegmentDuration"`
	RecordDeleteAfter     OptString       `json:"recordDeleteAfter"`
	// Deprecated: schema marks this property as deprecated.
	PublishUser OptNilString `json:"publishUser"`
	// Deprecated: schema marks this property as deprecated.
	PublishPass OptNilString `json:"publishPass"`
	// Deprecated: schema marks this property as deprecated.
	PublishIPs OptNilStringArray `json:"publishIPs"`
	// Deprecated: schema marks this property as deprecated.
	ReadUser OptNilString `json:"readUser"`
	// Deprecated: schema marks this property as deprecated.
	ReadPass OptNilString `json:"readPass"`
	// Deprecated: schema marks this property as deprecated.
	ReadIPs           OptNilStringArray `json:"readIPs"`
	OverridePublisher OptBool           `json:"overridePublisher"`
	// Deprecated: schema marks this property as deprecated.
	DisablePublisherOverride OptNilBool       `json:"disablePublisherOverride"`
	SrtPublishPassphrase     OptString        `json:"srtPublishPassphrase"`
	RtspDemuxMpegts          OptBool          `json:"rtspDemuxMpegts"`
	RtspTransport            OptRTSPTransport `json:"rtspTransport"`
	RtspAnyPort              OptBool          `json:"rtspAnyPort"`
	// Deprecated: schema marks this property as deprecated.
	SourceProtocol OptNilRTSPTransport `json:"sourceProtocol"`
	// Deprecated: schema marks this property as deprecated.
	SourceAnyPortEnable OptNilBool       `json:"sourceAnyPortEnable"`
	RtspRangeType       OptRTSPRangeType `json:"rtspRangeType"`
	RtspRangeStart      OptString        `json:"rtspRangeStart"`
	// Deprecated: schema marks this property as deprecated.
	RtspUDPReadBufferSize  OptNilUint64 `json:"rtspUDPReadBufferSize"`
	RtspUDPSourcePortRange []uint64     `json:"rtspUDPSourcePortRange"`
	// Deprecated: schema marks this property as deprecated.
	MpegtsUDPReadBufferSize OptNilUint64 `json:"mpegtsUDPReadBufferSize"`
	RtpSDP                  OptString    `json:"rtpSDP"`
	// Deprecated: schema marks this property as deprecated.
	RtpUDPReadBufferSize       OptNilUint64 `json:"rtpUDPReadBufferSize"`
	WhepBearerToken            OptString    `json:"whepBearerToken"`
	WhepSTUNGatherTimeout      OptString    `json:"whepSTUNGatherTimeout"`
	WhepHandshakeTimeout       OptString    `json:"whepHandshakeTimeout"`
	WhepTrackGatherTimeout     OptString    `json:"whepTrackGatherTimeout"`
	SourceRedirect             OptString    `json:"sourceRedirect"`
	RpiCameraCamID             OptUint64    `json:"rpiCameraCamID"`
	RpiCameraSecondary         OptBool      `json:"rpiCameraSecondary"`
	RpiCameraWidth             OptUint64    `json:"rpiCameraWidth"`
	RpiCameraHeight            OptUint64    `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           OptUint64    `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     OptUint64    `json:"rpiCameraFlickerPeriod"`
	RpiCameraTextOverlayEnable OptBool      `json:"rpiCameraTextOverlayEnable"`
	RpiCameraTextOverlay       OptString    `json:"rpiCameraTextOverlay"`
	RpiCameraCodec             OptString    `json:"rpiCameraCodec"`
	RpiCameraIDRPeriod         OptUint64    `json:"rpiCameraIDRPeriod"`
	RpiCameraBitrate           OptUint64    `json:"rpiCameraBitrate"`
	// Deprecated: schema marks this property as deprecated.
	RpiCameraProfile OptNilString `json:"rpiCameraProfile"`
	// Deprecated: schema marks this property as deprecated.
	RpiCameraLevel               OptNilString `json:"rpiCameraLevel"`
	RpiCameraHardwareH264Profile OptString    `json:"rpiCameraHardwareH264Profile"`
	RpiCameraHardwareH264Level   OptString    `json:"rpiCameraHardwareH264Level"`
	RpiCameraSoftwareH264Profile OptString    `json:"rpiCameraSoftwareH264Profile"`
	RpiCameraSoftwareH264Level   OptString    `json:"rpiCameraSoftwareH264Level"`
	// Deprecated: schema marks this property as deprecated.
	RpiCameraJPEGQuality       OptNilUint64 `json:"rpiCameraJPEGQuality"`
	RpiCameraMJPEGQuality      OptUint64    `json:"rpiCameraMJPEGQuality"`
	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) GetAlwaysAvailable

func (s *PathConf) GetAlwaysAvailable() OptBool

GetAlwaysAvailable returns the value of AlwaysAvailable.

func (*PathConf) GetAlwaysAvailableFile

func (s *PathConf) GetAlwaysAvailableFile() OptString

GetAlwaysAvailableFile returns the value of AlwaysAvailableFile.

func (*PathConf) GetAlwaysAvailableTracks

func (s *PathConf) GetAlwaysAvailableTracks() []AlwaysAvailableTrack

GetAlwaysAvailableTracks returns the value of AlwaysAvailableTracks.

func (*PathConf) GetDisablePublisherOverride

func (s *PathConf) GetDisablePublisherOverride() OptNilBool

GetDisablePublisherOverride returns the value of DisablePublisherOverride.

func (*PathConf) GetFallback

func (s *PathConf) GetFallback() OptNilString

GetFallback returns the value of Fallback.

func (*PathConf) GetMaxReaders

func (s *PathConf) GetMaxReaders() OptInt64

GetMaxReaders returns the value of MaxReaders.

func (*PathConf) GetMpegtsUDPReadBufferSize

func (s *PathConf) GetMpegtsUDPReadBufferSize() OptNilUint64

GetMpegtsUDPReadBufferSize returns the value of MpegtsUDPReadBufferSize.

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) GetPlayback

func (s *PathConf) GetPlayback() OptNilBool

GetPlayback returns the value of Playback.

func (*PathConf) GetPublishIPs

func (s *PathConf) GetPublishIPs() OptNilStringArray

GetPublishIPs returns the value of PublishIPs.

func (*PathConf) GetPublishPass

func (s *PathConf) GetPublishPass() OptNilString

GetPublishPass returns the value of PublishPass.

func (*PathConf) GetPublishUser

func (s *PathConf) GetPublishUser() OptNilString

GetPublishUser returns the value of PublishUser.

func (*PathConf) GetReadIPs

func (s *PathConf) GetReadIPs() OptNilStringArray

GetReadIPs returns the value of ReadIPs.

func (*PathConf) GetReadPass

func (s *PathConf) GetReadPass() OptNilString

GetReadPass returns the value of ReadPass.

func (*PathConf) GetReadUser

func (s *PathConf) GetReadUser() OptNilString

GetReadUser returns the value of ReadUser.

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() OptRecordFormat

GetRecordFormat returns the value of RecordFormat.

func (*PathConf) GetRecordMaxPartSize

func (s *PathConf) GetRecordMaxPartSize() OptString

GetRecordMaxPartSize returns the value of RecordMaxPartSize.

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() OptUint64

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() OptUint64

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() OptUint64

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) GetRpiCameraHardwareH264Level

func (s *PathConf) GetRpiCameraHardwareH264Level() OptString

GetRpiCameraHardwareH264Level returns the value of RpiCameraHardwareH264Level.

func (*PathConf) GetRpiCameraHardwareH264Profile

func (s *PathConf) GetRpiCameraHardwareH264Profile() OptString

GetRpiCameraHardwareH264Profile returns the value of RpiCameraHardwareH264Profile.

func (*PathConf) GetRpiCameraHeight

func (s *PathConf) GetRpiCameraHeight() OptUint64

GetRpiCameraHeight returns the value of RpiCameraHeight.

func (*PathConf) GetRpiCameraIDRPeriod

func (s *PathConf) GetRpiCameraIDRPeriod() OptUint64

GetRpiCameraIDRPeriod returns the value of RpiCameraIDRPeriod.

func (*PathConf) GetRpiCameraJPEGQuality

func (s *PathConf) GetRpiCameraJPEGQuality() OptNilUint64

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() OptNilString

GetRpiCameraLevel returns the value of RpiCameraLevel.

func (*PathConf) GetRpiCameraMJPEGQuality

func (s *PathConf) GetRpiCameraMJPEGQuality() OptUint64

GetRpiCameraMJPEGQuality returns the value of RpiCameraMJPEGQuality.

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() OptNilString

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() OptUint64

GetRpiCameraShutter returns the value of RpiCameraShutter.

func (*PathConf) GetRpiCameraSoftwareH264Level

func (s *PathConf) GetRpiCameraSoftwareH264Level() OptString

GetRpiCameraSoftwareH264Level returns the value of RpiCameraSoftwareH264Level.

func (*PathConf) GetRpiCameraSoftwareH264Profile

func (s *PathConf) GetRpiCameraSoftwareH264Profile() OptString

GetRpiCameraSoftwareH264Profile returns the value of RpiCameraSoftwareH264Profile.

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() OptUint64

GetRpiCameraWidth returns the value of RpiCameraWidth.

func (*PathConf) GetRtpSDP

func (s *PathConf) GetRtpSDP() OptString

GetRtpSDP returns the value of RtpSDP.

func (*PathConf) GetRtpUDPReadBufferSize

func (s *PathConf) GetRtpUDPReadBufferSize() OptNilUint64

GetRtpUDPReadBufferSize returns the value of RtpUDPReadBufferSize.

func (*PathConf) GetRtspAnyPort

func (s *PathConf) GetRtspAnyPort() OptBool

GetRtspAnyPort returns the value of RtspAnyPort.

func (*PathConf) GetRtspDemuxMpegts

func (s *PathConf) GetRtspDemuxMpegts() OptBool

GetRtspDemuxMpegts returns the value of RtspDemuxMpegts.

func (*PathConf) GetRtspRangeStart

func (s *PathConf) GetRtspRangeStart() OptString

GetRtspRangeStart returns the value of RtspRangeStart.

func (*PathConf) GetRtspRangeType

func (s *PathConf) GetRtspRangeType() OptRTSPRangeType

GetRtspRangeType returns the value of RtspRangeType.

func (*PathConf) GetRtspTransport

func (s *PathConf) GetRtspTransport() OptRTSPTransport

GetRtspTransport returns the value of RtspTransport.

func (*PathConf) GetRtspUDPReadBufferSize

func (s *PathConf) GetRtspUDPReadBufferSize() OptNilUint64

GetRtspUDPReadBufferSize returns the value of RtspUDPReadBufferSize.

func (*PathConf) GetRtspUDPSourcePortRange

func (s *PathConf) GetRtspUDPSourcePortRange() []uint64

GetRtspUDPSourcePortRange returns the value of RtspUDPSourcePortRange.

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) GetSourceAnyPortEnable

func (s *PathConf) GetSourceAnyPortEnable() OptNilBool

GetSourceAnyPortEnable returns the value of SourceAnyPortEnable.

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) GetSourceProtocol

func (s *PathConf) GetSourceProtocol() OptNilRTSPTransport

GetSourceProtocol returns the value of SourceProtocol.

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) GetWhepBearerToken

func (s *PathConf) GetWhepBearerToken() OptString

GetWhepBearerToken returns the value of WhepBearerToken.

func (*PathConf) GetWhepHandshakeTimeout

func (s *PathConf) GetWhepHandshakeTimeout() OptString

GetWhepHandshakeTimeout returns the value of WhepHandshakeTimeout.

func (*PathConf) GetWhepSTUNGatherTimeout

func (s *PathConf) GetWhepSTUNGatherTimeout() OptString

GetWhepSTUNGatherTimeout returns the value of WhepSTUNGatherTimeout.

func (*PathConf) GetWhepTrackGatherTimeout

func (s *PathConf) GetWhepTrackGatherTimeout() OptString

GetWhepTrackGatherTimeout returns the value of WhepTrackGatherTimeout.

func (*PathConf) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PathConf) SetAlwaysAvailable

func (s *PathConf) SetAlwaysAvailable(val OptBool)

SetAlwaysAvailable sets the value of AlwaysAvailable.

func (*PathConf) SetAlwaysAvailableFile

func (s *PathConf) SetAlwaysAvailableFile(val OptString)

SetAlwaysAvailableFile sets the value of AlwaysAvailableFile.

func (*PathConf) SetAlwaysAvailableTracks

func (s *PathConf) SetAlwaysAvailableTracks(val []AlwaysAvailableTrack)

SetAlwaysAvailableTracks sets the value of AlwaysAvailableTracks.

func (*PathConf) SetDisablePublisherOverride

func (s *PathConf) SetDisablePublisherOverride(val OptNilBool)

SetDisablePublisherOverride sets the value of DisablePublisherOverride.

func (*PathConf) SetFallback

func (s *PathConf) SetFallback(val OptNilString)

SetFallback sets the value of Fallback.

func (*PathConf) SetMaxReaders

func (s *PathConf) SetMaxReaders(val OptInt64)

SetMaxReaders sets the value of MaxReaders.

func (*PathConf) SetMpegtsUDPReadBufferSize

func (s *PathConf) SetMpegtsUDPReadBufferSize(val OptNilUint64)

SetMpegtsUDPReadBufferSize sets the value of MpegtsUDPReadBufferSize.

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) SetPlayback

func (s *PathConf) SetPlayback(val OptNilBool)

SetPlayback sets the value of Playback.

func (*PathConf) SetPublishIPs

func (s *PathConf) SetPublishIPs(val OptNilStringArray)

SetPublishIPs sets the value of PublishIPs.

func (*PathConf) SetPublishPass

func (s *PathConf) SetPublishPass(val OptNilString)

SetPublishPass sets the value of PublishPass.

func (*PathConf) SetPublishUser

func (s *PathConf) SetPublishUser(val OptNilString)

SetPublishUser sets the value of PublishUser.

func (*PathConf) SetReadIPs

func (s *PathConf) SetReadIPs(val OptNilStringArray)

SetReadIPs sets the value of ReadIPs.

func (*PathConf) SetReadPass

func (s *PathConf) SetReadPass(val OptNilString)

SetReadPass sets the value of ReadPass.

func (*PathConf) SetReadUser

func (s *PathConf) SetReadUser(val OptNilString)

SetReadUser sets the value of ReadUser.

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 OptRecordFormat)

SetRecordFormat sets the value of RecordFormat.

func (*PathConf) SetRecordMaxPartSize

func (s *PathConf) SetRecordMaxPartSize(val OptString)

SetRecordMaxPartSize sets the value of RecordMaxPartSize.

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 OptUint64)

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 OptUint64)

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 OptUint64)

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) SetRpiCameraHardwareH264Level

func (s *PathConf) SetRpiCameraHardwareH264Level(val OptString)

SetRpiCameraHardwareH264Level sets the value of RpiCameraHardwareH264Level.

func (*PathConf) SetRpiCameraHardwareH264Profile

func (s *PathConf) SetRpiCameraHardwareH264Profile(val OptString)

SetRpiCameraHardwareH264Profile sets the value of RpiCameraHardwareH264Profile.

func (*PathConf) SetRpiCameraHeight

func (s *PathConf) SetRpiCameraHeight(val OptUint64)

SetRpiCameraHeight sets the value of RpiCameraHeight.

func (*PathConf) SetRpiCameraIDRPeriod

func (s *PathConf) SetRpiCameraIDRPeriod(val OptUint64)

SetRpiCameraIDRPeriod sets the value of RpiCameraIDRPeriod.

func (*PathConf) SetRpiCameraJPEGQuality

func (s *PathConf) SetRpiCameraJPEGQuality(val OptNilUint64)

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 OptNilString)

SetRpiCameraLevel sets the value of RpiCameraLevel.

func (*PathConf) SetRpiCameraMJPEGQuality

func (s *PathConf) SetRpiCameraMJPEGQuality(val OptUint64)

SetRpiCameraMJPEGQuality sets the value of RpiCameraMJPEGQuality.

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 OptNilString)

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 OptUint64)

SetRpiCameraShutter sets the value of RpiCameraShutter.

func (*PathConf) SetRpiCameraSoftwareH264Level

func (s *PathConf) SetRpiCameraSoftwareH264Level(val OptString)

SetRpiCameraSoftwareH264Level sets the value of RpiCameraSoftwareH264Level.

func (*PathConf) SetRpiCameraSoftwareH264Profile

func (s *PathConf) SetRpiCameraSoftwareH264Profile(val OptString)

SetRpiCameraSoftwareH264Profile sets the value of RpiCameraSoftwareH264Profile.

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 OptUint64)

SetRpiCameraWidth sets the value of RpiCameraWidth.

func (*PathConf) SetRtpSDP

func (s *PathConf) SetRtpSDP(val OptString)

SetRtpSDP sets the value of RtpSDP.

func (*PathConf) SetRtpUDPReadBufferSize

func (s *PathConf) SetRtpUDPReadBufferSize(val OptNilUint64)

SetRtpUDPReadBufferSize sets the value of RtpUDPReadBufferSize.

func (*PathConf) SetRtspAnyPort

func (s *PathConf) SetRtspAnyPort(val OptBool)

SetRtspAnyPort sets the value of RtspAnyPort.

func (*PathConf) SetRtspDemuxMpegts

func (s *PathConf) SetRtspDemuxMpegts(val OptBool)

SetRtspDemuxMpegts sets the value of RtspDemuxMpegts.

func (*PathConf) SetRtspRangeStart

func (s *PathConf) SetRtspRangeStart(val OptString)

SetRtspRangeStart sets the value of RtspRangeStart.

func (*PathConf) SetRtspRangeType

func (s *PathConf) SetRtspRangeType(val OptRTSPRangeType)

SetRtspRangeType sets the value of RtspRangeType.

func (*PathConf) SetRtspTransport

func (s *PathConf) SetRtspTransport(val OptRTSPTransport)

SetRtspTransport sets the value of RtspTransport.

func (*PathConf) SetRtspUDPReadBufferSize

func (s *PathConf) SetRtspUDPReadBufferSize(val OptNilUint64)

SetRtspUDPReadBufferSize sets the value of RtspUDPReadBufferSize.

func (*PathConf) SetRtspUDPSourcePortRange

func (s *PathConf) SetRtspUDPSourcePortRange(val []uint64)

SetRtspUDPSourcePortRange sets the value of RtspUDPSourcePortRange.

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) SetSourceAnyPortEnable

func (s *PathConf) SetSourceAnyPortEnable(val OptNilBool)

SetSourceAnyPortEnable sets the value of SourceAnyPortEnable.

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) SetSourceProtocol

func (s *PathConf) SetSourceProtocol(val OptNilRTSPTransport)

SetSourceProtocol sets the value of SourceProtocol.

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) SetWhepBearerToken

func (s *PathConf) SetWhepBearerToken(val OptString)

SetWhepBearerToken sets the value of WhepBearerToken.

func (*PathConf) SetWhepHandshakeTimeout

func (s *PathConf) SetWhepHandshakeTimeout(val OptString)

SetWhepHandshakeTimeout sets the value of WhepHandshakeTimeout.

func (*PathConf) SetWhepSTUNGatherTimeout

func (s *PathConf) SetWhepSTUNGatherTimeout(val OptString)

SetWhepSTUNGatherTimeout sets the value of WhepSTUNGatherTimeout.

func (*PathConf) SetWhepTrackGatherTimeout

func (s *PathConf) SetWhepTrackGatherTimeout(val OptString)

SetWhepTrackGatherTimeout sets the value of WhepTrackGatherTimeout.

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 OptInt64   `json:"pageCount"`
	ItemCount OptInt64   `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

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 OptInt64 `json:"pageCount"`
	ItemCount OptInt64 `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

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

Ref: #/components/schemas/PathReaderType

const (
	PathReaderTypeHlsSession    PathReaderType = "hlsSession"
	PathReaderTypeRtmpConn      PathReaderType = "rtmpConn"
	PathReaderTypeRtmpsConn     PathReaderType = "rtmpsConn"
	PathReaderTypeRtspConn      PathReaderType = "rtspConn"
	PathReaderTypeRtspSession   PathReaderType = "rtspSession"
	PathReaderTypeRtspsConn     PathReaderType = "rtspsConn"
	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

Ref: #/components/schemas/PathSourceType

const (
	PathSourceTypeHlsSource       PathSourceType = "hlsSource"
	PathSourceTypeRedirect        PathSourceType = "redirect"
	PathSourceTypeRpiCameraSource PathSourceType = "rpiCameraSource"
	PathSourceTypeRtmpConn        PathSourceType = "rtmpConn"
	PathSourceTypeRtmpsConn       PathSourceType = "rtmpsConn"
	PathSourceTypeRtmpSource      PathSourceType = "rtmpSource"
	PathSourceTypeRtspSession     PathSourceType = "rtspSession"
	PathSourceTypeRtspSource      PathSourceType = "rtspSource"
	PathSourceTypeRtspsSession    PathSourceType = "rtspsSession"
	PathSourceTypeSrtConn         PathSourceType = "srtConn"
	PathSourceTypeSrtSource       PathSourceType = "srtSource"
	PathSourceTypeMpegtsSource    PathSourceType = "mpegtsSource"
	PathSourceTypeRtpSource       PathSourceType = "rtpSource"
	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 PathTrack

type PathTrack struct {
	Codec      OptPathTrackCodec         `json:"codec"`
	CodecProps OptNilPathTrackCodecProps `json:"codecProps"`
}

Ref: #/components/schemas/PathTrack

func (*PathTrack) Decode

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

Decode decodes PathTrack from json.

func (*PathTrack) Encode

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

Encode implements json.Marshaler.

func (*PathTrack) GetCodec

func (s *PathTrack) GetCodec() OptPathTrackCodec

GetCodec returns the value of Codec.

func (*PathTrack) GetCodecProps

func (s *PathTrack) GetCodecProps() OptNilPathTrackCodecProps

GetCodecProps returns the value of CodecProps.

func (*PathTrack) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PathTrack) SetCodec

func (s *PathTrack) SetCodec(val OptPathTrackCodec)

SetCodec sets the value of Codec.

func (*PathTrack) SetCodecProps

func (s *PathTrack) SetCodecProps(val OptNilPathTrackCodecProps)

SetCodecProps sets the value of CodecProps.

func (*PathTrack) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathTrack) Validate

func (s *PathTrack) Validate() error

type PathTrackCodec

type PathTrackCodec string

Ref: #/components/schemas/PathTrackCodec

const (
	PathTrackCodecAV1            PathTrackCodec = "AV1"
	PathTrackCodecVP9            PathTrackCodec = "VP9"
	PathTrackCodecVP8            PathTrackCodec = "VP8"
	PathTrackCodecH265           PathTrackCodec = "H265"
	PathTrackCodecH264           PathTrackCodec = "H264"
	PathTrackCodecMPEG4Video     PathTrackCodec = "MPEG-4 Video"
	PathTrackCodecMPEG12Video    PathTrackCodec = "MPEG-1/2 Video"
	PathTrackCodecMJPEG          PathTrackCodec = "M-JPEG"
	PathTrackCodecOpus           PathTrackCodec = "Opus"
	PathTrackCodecVorbis         PathTrackCodec = "Vorbis"
	PathTrackCodecMPEG4Audio     PathTrackCodec = "MPEG-4 Audio"
	PathTrackCodecMPEG4AudioLATM PathTrackCodec = "MPEG-4 Audio LATM"
	PathTrackCodecMPEG12Audio    PathTrackCodec = "MPEG-1/2 Audio"
	PathTrackCodecAC3            PathTrackCodec = "AC3"
	PathTrackCodecSpeex          PathTrackCodec = "Speex"
	PathTrackCodecG726           PathTrackCodec = "G726"
	PathTrackCodecG722           PathTrackCodec = "G722"
	PathTrackCodecG711           PathTrackCodec = "G711"
	PathTrackCodecLPCM           PathTrackCodec = "LPCM"
	PathTrackCodecMPEGTS         PathTrackCodec = "MPEG-TS"
	PathTrackCodecKLV            PathTrackCodec = "KLV"
	PathTrackCodecGeneric        PathTrackCodec = "Generic"
)

func (PathTrackCodec) AllValues

func (PathTrackCodec) AllValues() []PathTrackCodec

AllValues returns all PathTrackCodec values.

func (*PathTrackCodec) Decode

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

Decode decodes PathTrackCodec from json.

func (PathTrackCodec) Encode

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

Encode encodes PathTrackCodec as json.

func (PathTrackCodec) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (PathTrackCodec) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*PathTrackCodec) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathTrackCodec) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (PathTrackCodec) Validate

func (s PathTrackCodec) Validate() error

type PathTrackCodecProps

type PathTrackCodecProps json2.RawMessage

func (*PathTrackCodecProps) Decode

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

Decode decodes PathTrackCodecProps from json.

func (PathTrackCodecProps) Encode

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

Encode encodes PathTrackCodecProps as json.

func (PathTrackCodecProps) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PathTrackCodecProps) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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.

func (*PathsGetBadRequest) Validate

func (s *PathsGetBadRequest) Validate() error

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.

func (*PathsGetInternalServerError) Validate

func (s *PathsGetInternalServerError) Validate() error

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.

func (*PathsGetNotFound) Validate

func (s *PathsGetNotFound) Validate() error

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.

func (*PathsListBadRequest) Validate

func (s *PathsListBadRequest) Validate() error

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.

func (*PathsListInternalServerError) Validate

func (s *PathsListInternalServerError) Validate() error

type PathsListParams

type PathsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

PathsListParams is parameters of pathsList operation.

type PathsListRes

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

type PlaybackClient

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

PlaybackClient invokes operations served by the MediaMTX playback server.

func NewPlaybackClient

func NewPlaybackClient(serverURL string, opts ...ClientOption) (*PlaybackClient, error)

NewPlaybackClient initializes a client for the MediaMTX playback server.

The playback server usually listens on a different address than the control API, for example http://localhost:9996.

func (*PlaybackClient) Get

Get downloads a recording segment from the MediaMTX playback server.

func (*PlaybackClient) List

List lists recording segments from the MediaMTX playback server.

type PlaybackError

type PlaybackError struct {
	StatusCode int
	Response   Error
}

PlaybackError is returned when the playback server responds with an error status.

func (*PlaybackError) Error

func (e *PlaybackError) Error() string

func (*PlaybackError) ErrorString

func (e *PlaybackError) ErrorString() string

type PlaybackFormat

type PlaybackFormat string

PlaybackFormat is a recording download container format.

const (
	// PlaybackFormatFMP4 is fragmented MP4. It is the MediaMTX default.
	PlaybackFormatFMP4 PlaybackFormat = "fmp4"
	// PlaybackFormatMP4 is standard MP4.
	PlaybackFormatMP4 PlaybackFormat = "mp4"
)

type PlaybackGetParams

type PlaybackGetParams struct {
	// Path is the recorded path name.
	Path string
	// Start is the recording start time.
	Start time.Time
	// Duration is the maximum duration of the recording.
	Duration time.Duration
	// Format is the output format. Zero means the MediaMTX default fMP4 format.
	Format PlaybackFormat
}

PlaybackGetParams is parameters of the playback get operation.

type PlaybackGetResponse

type PlaybackGetResponse struct {
	Body          io.ReadCloser
	Header        http.Header
	ContentType   string
	ContentLength int64
	StatusCode    int
}

PlaybackGetResponse is a streaming response returned by the playback server.

Callers must close Body.

type PlaybackListItem

type PlaybackListItem struct {
	Start    time.Time
	Duration time.Duration
	URL      string
}

PlaybackListItem is a recording segment returned by the playback server.

func (*PlaybackListItem) UnmarshalJSON

func (i *PlaybackListItem) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes MediaMTX playback durations from seconds.

type PlaybackListParams

type PlaybackListParams struct {
	// Path is the recorded path name.
	Path string
	// Start filters segments by starting time. Zero means unset.
	Start time.Time
	// End filters segments by ending time. Zero means unset.
	End time.Time
}

PlaybackListParams is parameters of the playback list operation.

type RTMPConn

type RTMPConn struct {
	ID                      OptUUID          `json:"id"`
	Created                 OptString        `json:"created"`
	RemoteAddr              OptString        `json:"remoteAddr"`
	State                   OptRTMPConnState `json:"state"`
	Path                    OptString        `json:"path"`
	Query                   OptString        `json:"query"`
	User                    OptString        `json:"user"`
	InboundBytes            OptUint64        `json:"inboundBytes"`
	OutboundBytes           OptUint64        `json:"outboundBytes"`
	OutboundFramesDiscarded OptUint64        `json:"outboundFramesDiscarded"`
	// Deprecated: schema marks this property as deprecated.
	BytesReceived OptUint64 `json:"bytesReceived"`
	// Deprecated: schema marks this property as deprecated.
	BytesSent OptUint64 `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() OptUint64

GetBytesReceived returns the value of BytesReceived.

func (*RTMPConn) GetBytesSent

func (s *RTMPConn) GetBytesSent() OptUint64

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() OptUUID

GetID returns the value of ID.

func (*RTMPConn) GetInboundBytes

func (s *RTMPConn) GetInboundBytes() OptUint64

GetInboundBytes returns the value of InboundBytes.

func (*RTMPConn) GetOutboundBytes

func (s *RTMPConn) GetOutboundBytes() OptUint64

GetOutboundBytes returns the value of OutboundBytes.

func (*RTMPConn) GetOutboundFramesDiscarded

func (s *RTMPConn) GetOutboundFramesDiscarded() OptUint64

GetOutboundFramesDiscarded returns the value of OutboundFramesDiscarded.

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) GetUser

func (s *RTMPConn) GetUser() OptString

GetUser returns the value of User.

func (*RTMPConn) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RTMPConn) SetBytesReceived

func (s *RTMPConn) SetBytesReceived(val OptUint64)

SetBytesReceived sets the value of BytesReceived.

func (*RTMPConn) SetBytesSent

func (s *RTMPConn) SetBytesSent(val OptUint64)

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 OptUUID)

SetID sets the value of ID.

func (*RTMPConn) SetInboundBytes

func (s *RTMPConn) SetInboundBytes(val OptUint64)

SetInboundBytes sets the value of InboundBytes.

func (*RTMPConn) SetOutboundBytes

func (s *RTMPConn) SetOutboundBytes(val OptUint64)

SetOutboundBytes sets the value of OutboundBytes.

func (*RTMPConn) SetOutboundFramesDiscarded

func (s *RTMPConn) SetOutboundFramesDiscarded(val OptUint64)

SetOutboundFramesDiscarded sets the value of OutboundFramesDiscarded.

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) SetUser

func (s *RTMPConn) SetUser(val OptString)

SetUser sets the value of User.

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 OptInt64   `json:"pageCount"`
	ItemCount OptInt64   `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

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

Ref: #/components/schemas/RTMPConnState

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 RTSPAuthMethod

type RTSPAuthMethod string

Ref: #/components/schemas/RTSPAuthMethod

const (
	RTSPAuthMethodBasic  RTSPAuthMethod = "basic"
	RTSPAuthMethodDigest RTSPAuthMethod = "digest"
)

func (RTSPAuthMethod) AllValues

func (RTSPAuthMethod) AllValues() []RTSPAuthMethod

AllValues returns all RTSPAuthMethod values.

func (*RTSPAuthMethod) Decode

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

Decode decodes RTSPAuthMethod from json.

func (RTSPAuthMethod) Encode

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

Encode encodes RTSPAuthMethod as json.

func (RTSPAuthMethod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (RTSPAuthMethod) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*RTSPAuthMethod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTSPAuthMethod) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (RTSPAuthMethod) Validate

func (s RTSPAuthMethod) Validate() error

type RTSPConn

type RTSPConn struct {
	ID            OptUUID    `json:"id"`
	Created       OptString  `json:"created"`
	RemoteAddr    OptString  `json:"remoteAddr"`
	Session       OptNilUUID `json:"session"`
	Tunnel        OptString  `json:"tunnel"`
	InboundBytes  OptUint64  `json:"inboundBytes"`
	OutboundBytes OptUint64  `json:"outboundBytes"`
	// Deprecated: schema marks this property as deprecated.
	BytesReceived OptUint64 `json:"bytesReceived"`
	// Deprecated: schema marks this property as deprecated.
	BytesSent OptUint64 `json:"bytesSent"`
}

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() OptUint64

GetBytesReceived returns the value of BytesReceived.

func (*RTSPConn) GetBytesSent

func (s *RTSPConn) GetBytesSent() OptUint64

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() OptUUID

GetID returns the value of ID.

func (*RTSPConn) GetInboundBytes

func (s *RTSPConn) GetInboundBytes() OptUint64

GetInboundBytes returns the value of InboundBytes.

func (*RTSPConn) GetOutboundBytes

func (s *RTSPConn) GetOutboundBytes() OptUint64

GetOutboundBytes returns the value of OutboundBytes.

func (*RTSPConn) GetRemoteAddr

func (s *RTSPConn) GetRemoteAddr() OptString

GetRemoteAddr returns the value of RemoteAddr.

func (*RTSPConn) GetSession

func (s *RTSPConn) GetSession() OptNilUUID

GetSession returns the value of Session.

func (*RTSPConn) GetTunnel

func (s *RTSPConn) GetTunnel() OptString

GetTunnel returns the value of Tunnel.

func (*RTSPConn) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RTSPConn) SetBytesReceived

func (s *RTSPConn) SetBytesReceived(val OptUint64)

SetBytesReceived sets the value of BytesReceived.

func (*RTSPConn) SetBytesSent

func (s *RTSPConn) SetBytesSent(val OptUint64)

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 OptUUID)

SetID sets the value of ID.

func (*RTSPConn) SetInboundBytes

func (s *RTSPConn) SetInboundBytes(val OptUint64)

SetInboundBytes sets the value of InboundBytes.

func (*RTSPConn) SetOutboundBytes

func (s *RTSPConn) SetOutboundBytes(val OptUint64)

SetOutboundBytes sets the value of OutboundBytes.

func (*RTSPConn) SetRemoteAddr

func (s *RTSPConn) SetRemoteAddr(val OptString)

SetRemoteAddr sets the value of RemoteAddr.

func (*RTSPConn) SetSession

func (s *RTSPConn) SetSession(val OptNilUUID)

SetSession sets the value of Session.

func (*RTSPConn) SetTunnel

func (s *RTSPConn) SetTunnel(val OptString)

SetTunnel sets the value of Tunnel.

func (*RTSPConn) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RTSPConnList

type RTSPConnList struct {
	PageCount OptInt64   `json:"pageCount"`
	ItemCount OptInt64   `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

SetPageCount sets the value of PageCount.

func (*RTSPConnList) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RTSPRangeType

type RTSPRangeType string

Ref: #/components/schemas/RTSPRangeType

const (
	RTSPRangeTypeEmpty RTSPRangeType = ""
	RTSPRangeTypeClock RTSPRangeType = "clock"
	RTSPRangeTypeNpt   RTSPRangeType = "npt"
	RTSPRangeTypeSmpte RTSPRangeType = "smpte"
)

func (RTSPRangeType) AllValues

func (RTSPRangeType) AllValues() []RTSPRangeType

AllValues returns all RTSPRangeType values.

func (*RTSPRangeType) Decode

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

Decode decodes RTSPRangeType from json.

func (RTSPRangeType) Encode

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

Encode encodes RTSPRangeType as json.

func (RTSPRangeType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (RTSPRangeType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*RTSPRangeType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTSPRangeType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (RTSPRangeType) Validate

func (s RTSPRangeType) Validate() error

type RTSPSession

type RTSPSession struct {
	ID                             OptUUID             `json:"id"`
	Created                        OptString           `json:"created"`
	RemoteAddr                     OptString           `json:"remoteAddr"`
	State                          OptRTSPSessionState `json:"state"`
	Path                           OptString           `json:"path"`
	Query                          OptString           `json:"query"`
	User                           OptString           `json:"user"`
	Transport                      OptNilString        `json:"transport"`
	Profile                        OptNilString        `json:"profile"`
	Conns                          []uuid.UUID         `json:"conns"`
	InboundBytes                   OptUint64           `json:"inboundBytes"`
	InboundRTPPackets              OptUint64           `json:"inboundRTPPackets"`
	InboundRTPPacketsLost          OptUint64           `json:"inboundRTPPacketsLost"`
	InboundRTPPacketsInError       OptUint64           `json:"inboundRTPPacketsInError"`
	InboundRTPPacketsJitter        OptFloat64          `json:"inboundRTPPacketsJitter"`
	InboundRTCPPackets             OptUint64           `json:"inboundRTCPPackets"`
	InboundRTCPPacketsInError      OptUint64           `json:"inboundRTCPPacketsInError"`
	OutboundBytes                  OptUint64           `json:"outboundBytes"`
	OutboundRTPPackets             OptUint64           `json:"outboundRTPPackets"`
	OutboundRTPPacketsReportedLost OptUint64           `json:"outboundRTPPacketsReportedLost"`
	OutboundRTPPacketsDiscarded    OptUint64           `json:"outboundRTPPacketsDiscarded"`
	OutboundRTCPPackets            OptUint64           `json:"outboundRTCPPackets"`
	// Deprecated: schema marks this property as deprecated.
	BytesReceived OptUint64 `json:"bytesReceived"`
	// Deprecated: schema marks this property as deprecated.
	BytesSent OptUint64 `json:"bytesSent"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsReceived OptUint64 `json:"rtpPacketsReceived"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsSent OptUint64 `json:"rtpPacketsSent"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsLost OptUint64 `json:"rtpPacketsLost"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsInError OptUint64 `json:"rtpPacketsInError"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsJitter OptFloat64 `json:"rtpPacketsJitter"`
	// Deprecated: schema marks this property as deprecated.
	RtcpPacketsReceived OptUint64 `json:"rtcpPacketsReceived"`
	// Deprecated: schema marks this property as deprecated.
	RtcpPacketsSent OptUint64 `json:"rtcpPacketsSent"`
	// Deprecated: schema marks this property as deprecated.
	RtcpPacketsInError OptUint64 `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() OptUint64

GetBytesReceived returns the value of BytesReceived.

func (*RTSPSession) GetBytesSent

func (s *RTSPSession) GetBytesSent() OptUint64

GetBytesSent returns the value of BytesSent.

func (*RTSPSession) GetConns

func (s *RTSPSession) GetConns() []uuid.UUID

GetConns returns the value of Conns.

func (*RTSPSession) GetCreated

func (s *RTSPSession) GetCreated() OptString

GetCreated returns the value of Created.

func (*RTSPSession) GetID

func (s *RTSPSession) GetID() OptUUID

GetID returns the value of ID.

func (*RTSPSession) GetInboundBytes

func (s *RTSPSession) GetInboundBytes() OptUint64

GetInboundBytes returns the value of InboundBytes.

func (*RTSPSession) GetInboundRTCPPackets

func (s *RTSPSession) GetInboundRTCPPackets() OptUint64

GetInboundRTCPPackets returns the value of InboundRTCPPackets.

func (*RTSPSession) GetInboundRTCPPacketsInError

func (s *RTSPSession) GetInboundRTCPPacketsInError() OptUint64

GetInboundRTCPPacketsInError returns the value of InboundRTCPPacketsInError.

func (*RTSPSession) GetInboundRTPPackets

func (s *RTSPSession) GetInboundRTPPackets() OptUint64

GetInboundRTPPackets returns the value of InboundRTPPackets.

func (*RTSPSession) GetInboundRTPPacketsInError

func (s *RTSPSession) GetInboundRTPPacketsInError() OptUint64

GetInboundRTPPacketsInError returns the value of InboundRTPPacketsInError.

func (*RTSPSession) GetInboundRTPPacketsJitter

func (s *RTSPSession) GetInboundRTPPacketsJitter() OptFloat64

GetInboundRTPPacketsJitter returns the value of InboundRTPPacketsJitter.

func (*RTSPSession) GetInboundRTPPacketsLost

func (s *RTSPSession) GetInboundRTPPacketsLost() OptUint64

GetInboundRTPPacketsLost returns the value of InboundRTPPacketsLost.

func (*RTSPSession) GetOutboundBytes

func (s *RTSPSession) GetOutboundBytes() OptUint64

GetOutboundBytes returns the value of OutboundBytes.

func (*RTSPSession) GetOutboundRTCPPackets

func (s *RTSPSession) GetOutboundRTCPPackets() OptUint64

GetOutboundRTCPPackets returns the value of OutboundRTCPPackets.

func (*RTSPSession) GetOutboundRTPPackets

func (s *RTSPSession) GetOutboundRTPPackets() OptUint64

GetOutboundRTPPackets returns the value of OutboundRTPPackets.

func (*RTSPSession) GetOutboundRTPPacketsDiscarded

func (s *RTSPSession) GetOutboundRTPPacketsDiscarded() OptUint64

GetOutboundRTPPacketsDiscarded returns the value of OutboundRTPPacketsDiscarded.

func (*RTSPSession) GetOutboundRTPPacketsReportedLost

func (s *RTSPSession) GetOutboundRTPPacketsReportedLost() OptUint64

GetOutboundRTPPacketsReportedLost returns the value of OutboundRTPPacketsReportedLost.

func (*RTSPSession) GetPath

func (s *RTSPSession) GetPath() OptString

GetPath returns the value of Path.

func (*RTSPSession) GetProfile

func (s *RTSPSession) GetProfile() OptNilString

GetProfile returns the value of Profile.

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() OptUint64

GetRtcpPacketsInError returns the value of RtcpPacketsInError.

func (*RTSPSession) GetRtcpPacketsReceived

func (s *RTSPSession) GetRtcpPacketsReceived() OptUint64

GetRtcpPacketsReceived returns the value of RtcpPacketsReceived.

func (*RTSPSession) GetRtcpPacketsSent

func (s *RTSPSession) GetRtcpPacketsSent() OptUint64

GetRtcpPacketsSent returns the value of RtcpPacketsSent.

func (*RTSPSession) GetRtpPacketsInError

func (s *RTSPSession) GetRtpPacketsInError() OptUint64

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() OptUint64

GetRtpPacketsLost returns the value of RtpPacketsLost.

func (*RTSPSession) GetRtpPacketsReceived

func (s *RTSPSession) GetRtpPacketsReceived() OptUint64

GetRtpPacketsReceived returns the value of RtpPacketsReceived.

func (*RTSPSession) GetRtpPacketsSent

func (s *RTSPSession) GetRtpPacketsSent() OptUint64

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) GetUser

func (s *RTSPSession) GetUser() OptString

GetUser returns the value of User.

func (*RTSPSession) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RTSPSession) SetBytesReceived

func (s *RTSPSession) SetBytesReceived(val OptUint64)

SetBytesReceived sets the value of BytesReceived.

func (*RTSPSession) SetBytesSent

func (s *RTSPSession) SetBytesSent(val OptUint64)

SetBytesSent sets the value of BytesSent.

func (*RTSPSession) SetConns

func (s *RTSPSession) SetConns(val []uuid.UUID)

SetConns sets the value of Conns.

func (*RTSPSession) SetCreated

func (s *RTSPSession) SetCreated(val OptString)

SetCreated sets the value of Created.

func (*RTSPSession) SetID

func (s *RTSPSession) SetID(val OptUUID)

SetID sets the value of ID.

func (*RTSPSession) SetInboundBytes

func (s *RTSPSession) SetInboundBytes(val OptUint64)

SetInboundBytes sets the value of InboundBytes.

func (*RTSPSession) SetInboundRTCPPackets

func (s *RTSPSession) SetInboundRTCPPackets(val OptUint64)

SetInboundRTCPPackets sets the value of InboundRTCPPackets.

func (*RTSPSession) SetInboundRTCPPacketsInError

func (s *RTSPSession) SetInboundRTCPPacketsInError(val OptUint64)

SetInboundRTCPPacketsInError sets the value of InboundRTCPPacketsInError.

func (*RTSPSession) SetInboundRTPPackets

func (s *RTSPSession) SetInboundRTPPackets(val OptUint64)

SetInboundRTPPackets sets the value of InboundRTPPackets.

func (*RTSPSession) SetInboundRTPPacketsInError

func (s *RTSPSession) SetInboundRTPPacketsInError(val OptUint64)

SetInboundRTPPacketsInError sets the value of InboundRTPPacketsInError.

func (*RTSPSession) SetInboundRTPPacketsJitter

func (s *RTSPSession) SetInboundRTPPacketsJitter(val OptFloat64)

SetInboundRTPPacketsJitter sets the value of InboundRTPPacketsJitter.

func (*RTSPSession) SetInboundRTPPacketsLost

func (s *RTSPSession) SetInboundRTPPacketsLost(val OptUint64)

SetInboundRTPPacketsLost sets the value of InboundRTPPacketsLost.

func (*RTSPSession) SetOutboundBytes

func (s *RTSPSession) SetOutboundBytes(val OptUint64)

SetOutboundBytes sets the value of OutboundBytes.

func (*RTSPSession) SetOutboundRTCPPackets

func (s *RTSPSession) SetOutboundRTCPPackets(val OptUint64)

SetOutboundRTCPPackets sets the value of OutboundRTCPPackets.

func (*RTSPSession) SetOutboundRTPPackets

func (s *RTSPSession) SetOutboundRTPPackets(val OptUint64)

SetOutboundRTPPackets sets the value of OutboundRTPPackets.

func (*RTSPSession) SetOutboundRTPPacketsDiscarded

func (s *RTSPSession) SetOutboundRTPPacketsDiscarded(val OptUint64)

SetOutboundRTPPacketsDiscarded sets the value of OutboundRTPPacketsDiscarded.

func (*RTSPSession) SetOutboundRTPPacketsReportedLost

func (s *RTSPSession) SetOutboundRTPPacketsReportedLost(val OptUint64)

SetOutboundRTPPacketsReportedLost sets the value of OutboundRTPPacketsReportedLost.

func (*RTSPSession) SetPath

func (s *RTSPSession) SetPath(val OptString)

SetPath sets the value of Path.

func (*RTSPSession) SetProfile

func (s *RTSPSession) SetProfile(val OptNilString)

SetProfile sets the value of Profile.

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 OptUint64)

SetRtcpPacketsInError sets the value of RtcpPacketsInError.

func (*RTSPSession) SetRtcpPacketsReceived

func (s *RTSPSession) SetRtcpPacketsReceived(val OptUint64)

SetRtcpPacketsReceived sets the value of RtcpPacketsReceived.

func (*RTSPSession) SetRtcpPacketsSent

func (s *RTSPSession) SetRtcpPacketsSent(val OptUint64)

SetRtcpPacketsSent sets the value of RtcpPacketsSent.

func (*RTSPSession) SetRtpPacketsInError

func (s *RTSPSession) SetRtpPacketsInError(val OptUint64)

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 OptUint64)

SetRtpPacketsLost sets the value of RtpPacketsLost.

func (*RTSPSession) SetRtpPacketsReceived

func (s *RTSPSession) SetRtpPacketsReceived(val OptUint64)

SetRtpPacketsReceived sets the value of RtpPacketsReceived.

func (*RTSPSession) SetRtpPacketsSent

func (s *RTSPSession) SetRtpPacketsSent(val OptUint64)

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) SetUser

func (s *RTSPSession) SetUser(val OptString)

SetUser sets the value of User.

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 OptInt64      `json:"pageCount"`
	ItemCount OptInt64      `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

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

Ref: #/components/schemas/RTSPSessionState

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 RTSPTransport

type RTSPTransport string

Ref: #/components/schemas/RTSPTransport

const (
	RTSPTransportUDP       RTSPTransport = "udp"
	RTSPTransportMulticast RTSPTransport = "multicast"
	RTSPTransportTCP       RTSPTransport = "tcp"
	RTSPTransportAutomatic RTSPTransport = "automatic"
)

func (RTSPTransport) AllValues

func (RTSPTransport) AllValues() []RTSPTransport

AllValues returns all RTSPTransport values.

func (*RTSPTransport) Decode

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

Decode decodes RTSPTransport from json.

func (RTSPTransport) Encode

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

Encode encodes RTSPTransport as json.

func (RTSPTransport) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (RTSPTransport) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*RTSPTransport) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RTSPTransport) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (RTSPTransport) Validate

func (s RTSPTransport) Validate() error

type RecordFormat

type RecordFormat string

Ref: #/components/schemas/RecordFormat

const (
	RecordFormatFmp4   RecordFormat = "fmp4"
	RecordFormatMpegts RecordFormat = "mpegts"
)

func (RecordFormat) AllValues

func (RecordFormat) AllValues() []RecordFormat

AllValues returns all RecordFormat values.

func (*RecordFormat) Decode

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

Decode decodes RecordFormat from json.

func (RecordFormat) Encode

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

Encode encodes RecordFormat as json.

func (RecordFormat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (RecordFormat) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*RecordFormat) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecordFormat) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (RecordFormat) Validate

func (s RecordFormat) 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 OptInt64    `json:"pageCount"`
	ItemCount OptInt64    `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

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.

func (*RecordingsDeleteSegmentBadRequest) Validate

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.

func (*RecordingsDeleteSegmentInternalServerError) Validate

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.

func (*RecordingsDeleteSegmentNotFound) Validate

func (s *RecordingsDeleteSegmentNotFound) Validate() error

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.

func (*RecordingsGetBadRequest) Validate

func (s *RecordingsGetBadRequest) Validate() error

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.

func (*RecordingsGetInternalServerError) Validate

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.

func (*RecordingsGetNotFound) Validate

func (s *RecordingsGetNotFound) Validate() error

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.

func (*RecordingsListBadRequest) Validate

func (s *RecordingsListBadRequest) Validate() error

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.

func (*RecordingsListInternalServerError) Validate

type RecordingsListParams

type RecordingsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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.

func (*RtmpConnectionsGetBadRequest) Validate

func (s *RtmpConnectionsGetBadRequest) Validate() error

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.

func (*RtmpConnectionsGetInternalServerError) Validate

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.

func (*RtmpConnectionsGetNotFound) Validate

func (s *RtmpConnectionsGetNotFound) Validate() error

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.

func (*RtmpConnsKickBadRequest) Validate

func (s *RtmpConnsKickBadRequest) Validate() error

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.

func (*RtmpConnsKickInternalServerError) Validate

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.

func (*RtmpConnsKickNotFound) Validate

func (s *RtmpConnsKickNotFound) Validate() error

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.

func (*RtmpConnsListBadRequest) Validate

func (s *RtmpConnsListBadRequest) Validate() error

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.

func (*RtmpConnsListInternalServerError) Validate

type RtmpConnsListParams

type RtmpConnsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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.

func (*RtmpsConnectionsGetBadRequest) Validate

func (s *RtmpsConnectionsGetBadRequest) Validate() error

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.

func (*RtmpsConnectionsGetInternalServerError) Validate

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.

func (*RtmpsConnectionsGetNotFound) Validate

func (s *RtmpsConnectionsGetNotFound) Validate() error

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.

func (*RtmpsConnsKickBadRequest) Validate

func (s *RtmpsConnsKickBadRequest) Validate() error

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.

func (*RtmpsConnsKickInternalServerError) Validate

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.

func (*RtmpsConnsKickNotFound) Validate

func (s *RtmpsConnsKickNotFound) Validate() error

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.

func (*RtmpsConnsListBadRequest) Validate

func (s *RtmpsConnsListBadRequest) Validate() error

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.

func (*RtmpsConnsListInternalServerError) Validate

type RtmpsConnsListParams

type RtmpsConnsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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.

func (*RtspConnsGetBadRequest) Validate

func (s *RtspConnsGetBadRequest) Validate() error

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.

func (*RtspConnsGetInternalServerError) Validate

func (s *RtspConnsGetInternalServerError) Validate() error

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.

func (*RtspConnsGetNotFound) Validate

func (s *RtspConnsGetNotFound) Validate() error

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.

func (*RtspConnsListBadRequest) Validate

func (s *RtspConnsListBadRequest) Validate() error

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.

func (*RtspConnsListInternalServerError) Validate

type RtspConnsListParams

type RtspConnsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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.

func (*RtspSessionsGetBadRequest) Validate

func (s *RtspSessionsGetBadRequest) Validate() error

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.

func (*RtspSessionsGetInternalServerError) Validate

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.

func (*RtspSessionsGetNotFound) Validate

func (s *RtspSessionsGetNotFound) Validate() error

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.

func (*RtspSessionsKickBadRequest) Validate

func (s *RtspSessionsKickBadRequest) Validate() error

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.

func (*RtspSessionsKickInternalServerError) Validate

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.

func (*RtspSessionsKickNotFound) Validate

func (s *RtspSessionsKickNotFound) Validate() error

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.

func (*RtspSessionsListBadRequest) Validate

func (s *RtspSessionsListBadRequest) Validate() error

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.

func (*RtspSessionsListInternalServerError) Validate

type RtspSessionsListParams

type RtspSessionsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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.

func (*RtspsConnsGetBadRequest) Validate

func (s *RtspsConnsGetBadRequest) Validate() error

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.

func (*RtspsConnsGetInternalServerError) Validate

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.

func (*RtspsConnsGetNotFound) Validate

func (s *RtspsConnsGetNotFound) Validate() error

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.

func (*RtspsConnsListBadRequest) Validate

func (s *RtspsConnsListBadRequest) Validate() error

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.

func (*RtspsConnsListInternalServerError) Validate

type RtspsConnsListParams

type RtspsConnsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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.

func (*RtspsSessionsGetBadRequest) Validate

func (s *RtspsSessionsGetBadRequest) Validate() error

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.

func (*RtspsSessionsGetInternalServerError) Validate

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.

func (*RtspsSessionsGetNotFound) Validate

func (s *RtspsSessionsGetNotFound) Validate() error

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.

func (*RtspsSessionsKickBadRequest) Validate

func (s *RtspsSessionsKickBadRequest) Validate() error

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.

func (*RtspsSessionsKickInternalServerError) Validate

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.

func (*RtspsSessionsKickNotFound) Validate

func (s *RtspsSessionsKickNotFound) Validate() error

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.

func (*RtspsSessionsListBadRequest) Validate

func (s *RtspsSessionsListBadRequest) Validate() error

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.

func (*RtspsSessionsListInternalServerError) Validate

type RtspsSessionsListParams

type RtspsSessionsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

RtspsSessionsListParams is parameters of rtspsSessionsList operation.

type RtspsSessionsListRes

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

type SRTConn

type SRTConn struct {
	ID         OptUUID         `json:"id"`
	Created    OptString       `json:"created"`
	RemoteAddr OptString       `json:"remoteAddr"`
	State      OptSRTConnState `json:"state"`
	Path       OptString       `json:"path"`
	Query      OptString       `json:"query"`
	User       OptString       `json:"user"`
	// The total number of sent DATA packets, including retransmitted packets.
	PacketsSent OptUint64 `json:"packetsSent"`
	// The total number of received DATA packets, including retransmitted packets.
	PacketsReceived        OptUint64 `json:"packetsReceived"`
	PacketsReceivedBelated OptUint64 `json:"packetsReceivedBelated"`
	// The total number of unique DATA packets sent by the SRT sender.
	PacketsSentUnique OptUint64 `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 OptUint64 `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 OptUint64 `json:"packetsSendLoss"`
	// The total number of SRT DATA packets detected as presently missing (either reordered or lost) at
	// the receiver side.
	PacketsReceivedLoss OptUint64 `json:"packetsReceivedLoss"`
	// The total number of retransmitted packets sent by the SRT sender.
	PacketsRetrans OptUint64 `json:"packetsRetrans"`
	// The total number of retransmitted packets registered at the receiver side.
	PacketsReceivedRetrans OptUint64 `json:"packetsReceivedRetrans"`
	// The total number of sent ACK (Acknowledgement) control packets.
	PacketsSentACK OptUint64 `json:"packetsSentACK"`
	// The total number of received ACK (Acknowledgement) control packets.
	PacketsReceivedACK OptUint64 `json:"packetsReceivedACK"`
	// The total number of sent NAK (Negative Acknowledgement) control packets.
	PacketsSentNAK OptUint64 `json:"packetsSentNAK"`
	// The total number of received NAK (Negative Acknowledgement) control packets.
	PacketsReceivedNAK OptUint64 `json:"packetsReceivedNAK"`
	// The total number of sent KM (Key Material) control packets.
	PacketsSentKM OptUint64 `json:"packetsSentKM"`
	// The total number of received KM (Key Material) control packets.
	PacketsReceivedKM OptUint64 `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 OptUint64 `json:"usSndDuration"`
	// The total number of dropped by the SRT sender DATA packets that have no chance to be delivered in
	// time.
	PacketsSendDrop OptUint64 `json:"packetsSendDrop"`
	// The total number of dropped by the SRT receiver and, as a result, not delivered to the upstream
	// application DATA packets.
	PacketsReceivedDrop OptUint64 `json:"packetsReceivedDrop"`
	// The total number of packets that failed to be decrypted at the receiver side.
	PacketsReceivedUndecrypt OptUint64 `json:"packetsReceivedUndecrypt"`
	// Same as packetsSent, but expressed in bytes, including payload and all the headers (IP, TCP, SRT).
	BytesSent OptUint64 `json:"bytesSent"`
	// Same as packetsReceived, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesReceived        OptUint64 `json:"bytesReceived"`
	BytesReceivedBelated OptUint64 `json:"bytesReceivedBelated"`
	// Same as packetsSentUnique, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesSentUnique OptUint64 `json:"bytesSentUnique"`
	// Same as packetsReceivedUnique, but expressed in bytes, including payload and all the headers (IP,
	// TCP, SRT).
	BytesReceivedUnique OptUint64 `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 OptUint64 `json:"bytesReceivedLoss"`
	// Same as packetsRetrans, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesRetrans OptUint64 `json:"bytesRetrans"`
	// Same as packetsReceivedRetrans, but expressed in bytes, including payload and all the headers (IP,
	// TCP, SRT).
	BytesReceivedRetrans OptUint64 `json:"bytesReceivedRetrans"`
	// Same as packetsSendDrop, but expressed in bytes, including payload and all the headers (IP, TCP,
	// SRT).
	BytesSendDrop OptUint64 `json:"bytesSendDrop"`
	// Same as packetsReceivedDrop, but expressed in bytes, including payload and all the headers (IP,
	// TCP, SRT).
	BytesReceivedDrop OptUint64 `json:"bytesReceivedDrop"`
	// Same as packetsReceivedUndecrypt, but expressed in bytes, including payload and all the headers
	// (IP, TCP, SRT).
	BytesReceivedUndecrypt OptUint64 `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 OptUint64 `json:"packetsFlowWindow"`
	// The number of packets in flight.
	PacketsFlightSize OptUint64 `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 OptUint64 `json:"bytesAvailSendBuf"`
	// The available space in the receiver's buffer, in bytes.
	BytesAvailReceiveBuf OptUint64 `json:"bytesAvailReceiveBuf"`
	// Transmission bandwidth limit, in Mbps.
	MbpsMaxBW OptFloat64 `json:"mbpsMaxBW"`
	// Maximum Segment Size (MSS), in bytes.
	ByteMSS OptUint64 `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 OptUint64 `json:"packetsSendBuf"`
	// Instantaneous (current) value of packetsSndBuf, but expressed in bytes, including payload and all
	// headers (IP, TCP, SRT).
	BytesSendBuf OptUint64 `json:"bytesSendBuf"`
	// The timespan (msec) of packets in the sender's buffer (unacknowledged packets).
	MsSendBuf OptUint64 `json:"msSendBuf"`
	// Timestamp-based Packet Delivery Delay value of the peer.
	MsSendTsbPdDelay OptUint64 `json:"msSendTsbPdDelay"`
	// The number of acknowledged packets in receiver's buffer.
	PacketsReceiveBuf OptUint64 `json:"packetsReceiveBuf"`
	// Instantaneous (current) value of packetsRcvBuf, expressed in bytes, including payload and all
	// headers (IP, TCP, SRT).
	BytesReceiveBuf OptUint64 `json:"bytesReceiveBuf"`
	// The timespan (msec) of acknowledged packets in the receiver's buffer.
	MsReceiveBuf OptUint64 `json:"msReceiveBuf"`
	// Timestamp-based Packet Delivery Delay value set on the socket via SRTO_RCVLATENCY or SRTO_LATENCY.
	MsReceiveTsbPdDelay OptUint64 `json:"msReceiveTsbPdDelay"`
	// Instant value of the packet reorder tolerance.
	PacketsReorderTolerance OptUint64 `json:"packetsReorderTolerance"`
	// Accumulated difference between the current time and the time-to-play of a packet that is received
	// late.
	PacketsReceivedAvgBelatedTime OptUint64 `json:"packetsReceivedAvgBelatedTime"`
	// Percentage of resent data vs. sent data.
	PacketsSendLossRate OptFloat64 `json:"packetsSendLossRate"`
	// Percentage of retransmitted data vs. received data.
	PacketsReceivedLossRate OptFloat64 `json:"packetsReceivedLossRate"`
	OutboundFramesDiscarded OptUint64  `json:"outboundFramesDiscarded"`
}

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() OptUint64

GetByteMSS returns the value of ByteMSS.

func (*SRTConn) GetBytesAvailReceiveBuf

func (s *SRTConn) GetBytesAvailReceiveBuf() OptUint64

GetBytesAvailReceiveBuf returns the value of BytesAvailReceiveBuf.

func (*SRTConn) GetBytesAvailSendBuf

func (s *SRTConn) GetBytesAvailSendBuf() OptUint64

GetBytesAvailSendBuf returns the value of BytesAvailSendBuf.

func (*SRTConn) GetBytesReceiveBuf

func (s *SRTConn) GetBytesReceiveBuf() OptUint64

GetBytesReceiveBuf returns the value of BytesReceiveBuf.

func (*SRTConn) GetBytesReceived

func (s *SRTConn) GetBytesReceived() OptUint64

GetBytesReceived returns the value of BytesReceived.

func (*SRTConn) GetBytesReceivedBelated

func (s *SRTConn) GetBytesReceivedBelated() OptUint64

GetBytesReceivedBelated returns the value of BytesReceivedBelated.

func (*SRTConn) GetBytesReceivedDrop

func (s *SRTConn) GetBytesReceivedDrop() OptUint64

GetBytesReceivedDrop returns the value of BytesReceivedDrop.

func (*SRTConn) GetBytesReceivedLoss

func (s *SRTConn) GetBytesReceivedLoss() OptUint64

GetBytesReceivedLoss returns the value of BytesReceivedLoss.

func (*SRTConn) GetBytesReceivedRetrans

func (s *SRTConn) GetBytesReceivedRetrans() OptUint64

GetBytesReceivedRetrans returns the value of BytesReceivedRetrans.

func (*SRTConn) GetBytesReceivedUndecrypt

func (s *SRTConn) GetBytesReceivedUndecrypt() OptUint64

GetBytesReceivedUndecrypt returns the value of BytesReceivedUndecrypt.

func (*SRTConn) GetBytesReceivedUnique

func (s *SRTConn) GetBytesReceivedUnique() OptUint64

GetBytesReceivedUnique returns the value of BytesReceivedUnique.

func (*SRTConn) GetBytesRetrans

func (s *SRTConn) GetBytesRetrans() OptUint64

GetBytesRetrans returns the value of BytesRetrans.

func (*SRTConn) GetBytesSendBuf

func (s *SRTConn) GetBytesSendBuf() OptUint64

GetBytesSendBuf returns the value of BytesSendBuf.

func (*SRTConn) GetBytesSendDrop

func (s *SRTConn) GetBytesSendDrop() OptUint64

GetBytesSendDrop returns the value of BytesSendDrop.

func (*SRTConn) GetBytesSent

func (s *SRTConn) GetBytesSent() OptUint64

GetBytesSent returns the value of BytesSent.

func (*SRTConn) GetBytesSentUnique

func (s *SRTConn) GetBytesSentUnique() OptUint64

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() OptUUID

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() OptUint64

GetMsReceiveBuf returns the value of MsReceiveBuf.

func (*SRTConn) GetMsReceiveTsbPdDelay

func (s *SRTConn) GetMsReceiveTsbPdDelay() OptUint64

GetMsReceiveTsbPdDelay returns the value of MsReceiveTsbPdDelay.

func (*SRTConn) GetMsSendBuf

func (s *SRTConn) GetMsSendBuf() OptUint64

GetMsSendBuf returns the value of MsSendBuf.

func (*SRTConn) GetMsSendTsbPdDelay

func (s *SRTConn) GetMsSendTsbPdDelay() OptUint64

GetMsSendTsbPdDelay returns the value of MsSendTsbPdDelay.

func (*SRTConn) GetOutboundFramesDiscarded

func (s *SRTConn) GetOutboundFramesDiscarded() OptUint64

GetOutboundFramesDiscarded returns the value of OutboundFramesDiscarded.

func (*SRTConn) GetPacketsFlightSize

func (s *SRTConn) GetPacketsFlightSize() OptUint64

GetPacketsFlightSize returns the value of PacketsFlightSize.

func (*SRTConn) GetPacketsFlowWindow

func (s *SRTConn) GetPacketsFlowWindow() OptUint64

GetPacketsFlowWindow returns the value of PacketsFlowWindow.

func (*SRTConn) GetPacketsReceiveBuf

func (s *SRTConn) GetPacketsReceiveBuf() OptUint64

GetPacketsReceiveBuf returns the value of PacketsReceiveBuf.

func (*SRTConn) GetPacketsReceived

func (s *SRTConn) GetPacketsReceived() OptUint64

GetPacketsReceived returns the value of PacketsReceived.

func (*SRTConn) GetPacketsReceivedACK

func (s *SRTConn) GetPacketsReceivedACK() OptUint64

GetPacketsReceivedACK returns the value of PacketsReceivedACK.

func (*SRTConn) GetPacketsReceivedAvgBelatedTime

func (s *SRTConn) GetPacketsReceivedAvgBelatedTime() OptUint64

GetPacketsReceivedAvgBelatedTime returns the value of PacketsReceivedAvgBelatedTime.

func (*SRTConn) GetPacketsReceivedBelated

func (s *SRTConn) GetPacketsReceivedBelated() OptUint64

GetPacketsReceivedBelated returns the value of PacketsReceivedBelated.

func (*SRTConn) GetPacketsReceivedDrop

func (s *SRTConn) GetPacketsReceivedDrop() OptUint64

GetPacketsReceivedDrop returns the value of PacketsReceivedDrop.

func (*SRTConn) GetPacketsReceivedKM

func (s *SRTConn) GetPacketsReceivedKM() OptUint64

GetPacketsReceivedKM returns the value of PacketsReceivedKM.

func (*SRTConn) GetPacketsReceivedLoss

func (s *SRTConn) GetPacketsReceivedLoss() OptUint64

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() OptUint64

GetPacketsReceivedNAK returns the value of PacketsReceivedNAK.

func (*SRTConn) GetPacketsReceivedRetrans

func (s *SRTConn) GetPacketsReceivedRetrans() OptUint64

GetPacketsReceivedRetrans returns the value of PacketsReceivedRetrans.

func (*SRTConn) GetPacketsReceivedUndecrypt

func (s *SRTConn) GetPacketsReceivedUndecrypt() OptUint64

GetPacketsReceivedUndecrypt returns the value of PacketsReceivedUndecrypt.

func (*SRTConn) GetPacketsReceivedUnique

func (s *SRTConn) GetPacketsReceivedUnique() OptUint64

GetPacketsReceivedUnique returns the value of PacketsReceivedUnique.

func (*SRTConn) GetPacketsReorderTolerance

func (s *SRTConn) GetPacketsReorderTolerance() OptUint64

GetPacketsReorderTolerance returns the value of PacketsReorderTolerance.

func (*SRTConn) GetPacketsRetrans

func (s *SRTConn) GetPacketsRetrans() OptUint64

GetPacketsRetrans returns the value of PacketsRetrans.

func (*SRTConn) GetPacketsSendBuf

func (s *SRTConn) GetPacketsSendBuf() OptUint64

GetPacketsSendBuf returns the value of PacketsSendBuf.

func (*SRTConn) GetPacketsSendDrop

func (s *SRTConn) GetPacketsSendDrop() OptUint64

GetPacketsSendDrop returns the value of PacketsSendDrop.

func (*SRTConn) GetPacketsSendLoss

func (s *SRTConn) GetPacketsSendLoss() OptUint64

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() OptUint64

GetPacketsSent returns the value of PacketsSent.

func (*SRTConn) GetPacketsSentACK

func (s *SRTConn) GetPacketsSentACK() OptUint64

GetPacketsSentACK returns the value of PacketsSentACK.

func (*SRTConn) GetPacketsSentKM

func (s *SRTConn) GetPacketsSentKM() OptUint64

GetPacketsSentKM returns the value of PacketsSentKM.

func (*SRTConn) GetPacketsSentNAK

func (s *SRTConn) GetPacketsSentNAK() OptUint64

GetPacketsSentNAK returns the value of PacketsSentNAK.

func (*SRTConn) GetPacketsSentUnique

func (s *SRTConn) GetPacketsSentUnique() OptUint64

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() OptUint64

GetUsSndDuration returns the value of UsSndDuration.

func (*SRTConn) GetUser

func (s *SRTConn) GetUser() OptString

GetUser returns the value of User.

func (*SRTConn) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SRTConn) SetByteMSS

func (s *SRTConn) SetByteMSS(val OptUint64)

SetByteMSS sets the value of ByteMSS.

func (*SRTConn) SetBytesAvailReceiveBuf

func (s *SRTConn) SetBytesAvailReceiveBuf(val OptUint64)

SetBytesAvailReceiveBuf sets the value of BytesAvailReceiveBuf.

func (*SRTConn) SetBytesAvailSendBuf

func (s *SRTConn) SetBytesAvailSendBuf(val OptUint64)

SetBytesAvailSendBuf sets the value of BytesAvailSendBuf.

func (*SRTConn) SetBytesReceiveBuf

func (s *SRTConn) SetBytesReceiveBuf(val OptUint64)

SetBytesReceiveBuf sets the value of BytesReceiveBuf.

func (*SRTConn) SetBytesReceived

func (s *SRTConn) SetBytesReceived(val OptUint64)

SetBytesReceived sets the value of BytesReceived.

func (*SRTConn) SetBytesReceivedBelated

func (s *SRTConn) SetBytesReceivedBelated(val OptUint64)

SetBytesReceivedBelated sets the value of BytesReceivedBelated.

func (*SRTConn) SetBytesReceivedDrop

func (s *SRTConn) SetBytesReceivedDrop(val OptUint64)

SetBytesReceivedDrop sets the value of BytesReceivedDrop.

func (*SRTConn) SetBytesReceivedLoss

func (s *SRTConn) SetBytesReceivedLoss(val OptUint64)

SetBytesReceivedLoss sets the value of BytesReceivedLoss.

func (*SRTConn) SetBytesReceivedRetrans

func (s *SRTConn) SetBytesReceivedRetrans(val OptUint64)

SetBytesReceivedRetrans sets the value of BytesReceivedRetrans.

func (*SRTConn) SetBytesReceivedUndecrypt

func (s *SRTConn) SetBytesReceivedUndecrypt(val OptUint64)

SetBytesReceivedUndecrypt sets the value of BytesReceivedUndecrypt.

func (*SRTConn) SetBytesReceivedUnique

func (s *SRTConn) SetBytesReceivedUnique(val OptUint64)

SetBytesReceivedUnique sets the value of BytesReceivedUnique.

func (*SRTConn) SetBytesRetrans

func (s *SRTConn) SetBytesRetrans(val OptUint64)

SetBytesRetrans sets the value of BytesRetrans.

func (*SRTConn) SetBytesSendBuf

func (s *SRTConn) SetBytesSendBuf(val OptUint64)

SetBytesSendBuf sets the value of BytesSendBuf.

func (*SRTConn) SetBytesSendDrop

func (s *SRTConn) SetBytesSendDrop(val OptUint64)

SetBytesSendDrop sets the value of BytesSendDrop.

func (*SRTConn) SetBytesSent

func (s *SRTConn) SetBytesSent(val OptUint64)

SetBytesSent sets the value of BytesSent.

func (*SRTConn) SetBytesSentUnique

func (s *SRTConn) SetBytesSentUnique(val OptUint64)

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 OptUUID)

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 OptUint64)

SetMsReceiveBuf sets the value of MsReceiveBuf.

func (*SRTConn) SetMsReceiveTsbPdDelay

func (s *SRTConn) SetMsReceiveTsbPdDelay(val OptUint64)

SetMsReceiveTsbPdDelay sets the value of MsReceiveTsbPdDelay.

func (*SRTConn) SetMsSendBuf

func (s *SRTConn) SetMsSendBuf(val OptUint64)

SetMsSendBuf sets the value of MsSendBuf.

func (*SRTConn) SetMsSendTsbPdDelay

func (s *SRTConn) SetMsSendTsbPdDelay(val OptUint64)

SetMsSendTsbPdDelay sets the value of MsSendTsbPdDelay.

func (*SRTConn) SetOutboundFramesDiscarded

func (s *SRTConn) SetOutboundFramesDiscarded(val OptUint64)

SetOutboundFramesDiscarded sets the value of OutboundFramesDiscarded.

func (*SRTConn) SetPacketsFlightSize

func (s *SRTConn) SetPacketsFlightSize(val OptUint64)

SetPacketsFlightSize sets the value of PacketsFlightSize.

func (*SRTConn) SetPacketsFlowWindow

func (s *SRTConn) SetPacketsFlowWindow(val OptUint64)

SetPacketsFlowWindow sets the value of PacketsFlowWindow.

func (*SRTConn) SetPacketsReceiveBuf

func (s *SRTConn) SetPacketsReceiveBuf(val OptUint64)

SetPacketsReceiveBuf sets the value of PacketsReceiveBuf.

func (*SRTConn) SetPacketsReceived

func (s *SRTConn) SetPacketsReceived(val OptUint64)

SetPacketsReceived sets the value of PacketsReceived.

func (*SRTConn) SetPacketsReceivedACK

func (s *SRTConn) SetPacketsReceivedACK(val OptUint64)

SetPacketsReceivedACK sets the value of PacketsReceivedACK.

func (*SRTConn) SetPacketsReceivedAvgBelatedTime

func (s *SRTConn) SetPacketsReceivedAvgBelatedTime(val OptUint64)

SetPacketsReceivedAvgBelatedTime sets the value of PacketsReceivedAvgBelatedTime.

func (*SRTConn) SetPacketsReceivedBelated

func (s *SRTConn) SetPacketsReceivedBelated(val OptUint64)

SetPacketsReceivedBelated sets the value of PacketsReceivedBelated.

func (*SRTConn) SetPacketsReceivedDrop

func (s *SRTConn) SetPacketsReceivedDrop(val OptUint64)

SetPacketsReceivedDrop sets the value of PacketsReceivedDrop.

func (*SRTConn) SetPacketsReceivedKM

func (s *SRTConn) SetPacketsReceivedKM(val OptUint64)

SetPacketsReceivedKM sets the value of PacketsReceivedKM.

func (*SRTConn) SetPacketsReceivedLoss

func (s *SRTConn) SetPacketsReceivedLoss(val OptUint64)

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 OptUint64)

SetPacketsReceivedNAK sets the value of PacketsReceivedNAK.

func (*SRTConn) SetPacketsReceivedRetrans

func (s *SRTConn) SetPacketsReceivedRetrans(val OptUint64)

SetPacketsReceivedRetrans sets the value of PacketsReceivedRetrans.

func (*SRTConn) SetPacketsReceivedUndecrypt

func (s *SRTConn) SetPacketsReceivedUndecrypt(val OptUint64)

SetPacketsReceivedUndecrypt sets the value of PacketsReceivedUndecrypt.

func (*SRTConn) SetPacketsReceivedUnique

func (s *SRTConn) SetPacketsReceivedUnique(val OptUint64)

SetPacketsReceivedUnique sets the value of PacketsReceivedUnique.

func (*SRTConn) SetPacketsReorderTolerance

func (s *SRTConn) SetPacketsReorderTolerance(val OptUint64)

SetPacketsReorderTolerance sets the value of PacketsReorderTolerance.

func (*SRTConn) SetPacketsRetrans

func (s *SRTConn) SetPacketsRetrans(val OptUint64)

SetPacketsRetrans sets the value of PacketsRetrans.

func (*SRTConn) SetPacketsSendBuf

func (s *SRTConn) SetPacketsSendBuf(val OptUint64)

SetPacketsSendBuf sets the value of PacketsSendBuf.

func (*SRTConn) SetPacketsSendDrop

func (s *SRTConn) SetPacketsSendDrop(val OptUint64)

SetPacketsSendDrop sets the value of PacketsSendDrop.

func (*SRTConn) SetPacketsSendLoss

func (s *SRTConn) SetPacketsSendLoss(val OptUint64)

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 OptUint64)

SetPacketsSent sets the value of PacketsSent.

func (*SRTConn) SetPacketsSentACK

func (s *SRTConn) SetPacketsSentACK(val OptUint64)

SetPacketsSentACK sets the value of PacketsSentACK.

func (*SRTConn) SetPacketsSentKM

func (s *SRTConn) SetPacketsSentKM(val OptUint64)

SetPacketsSentKM sets the value of PacketsSentKM.

func (*SRTConn) SetPacketsSentNAK

func (s *SRTConn) SetPacketsSentNAK(val OptUint64)

SetPacketsSentNAK sets the value of PacketsSentNAK.

func (*SRTConn) SetPacketsSentUnique

func (s *SRTConn) SetPacketsSentUnique(val OptUint64)

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 OptUint64)

SetUsSndDuration sets the value of UsSndDuration.

func (*SRTConn) SetUser

func (s *SRTConn) SetUser(val OptString)

SetUser sets the value of User.

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 OptInt64  `json:"pageCount"`
	ItemCount OptInt64  `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

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

Ref: #/components/schemas/SRTConnState

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.

func (*SrtConnsGetBadRequest) Validate

func (s *SrtConnsGetBadRequest) Validate() error

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.

func (*SrtConnsGetInternalServerError) Validate

func (s *SrtConnsGetInternalServerError) Validate() error

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.

func (*SrtConnsGetNotFound) Validate

func (s *SrtConnsGetNotFound) Validate() error

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.

func (*SrtConnsKickBadRequest) Validate

func (s *SrtConnsKickBadRequest) Validate() error

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.

func (*SrtConnsKickInternalServerError) Validate

func (s *SrtConnsKickInternalServerError) Validate() error

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.

func (*SrtConnsKickNotFound) Validate

func (s *SrtConnsKickNotFound) Validate() error

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.

func (*SrtConnsListBadRequest) Validate

func (s *SrtConnsListBadRequest) Validate() error

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.

func (*SrtConnsListInternalServerError) Validate

func (s *SrtConnsListInternalServerError) Validate() error

type SrtConnsListParams

type SrtConnsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

SrtConnsListParams is parameters of srtConnsList operation.

type SrtConnsListRes

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

type WebRTCICEServer

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

Ref: #/components/schemas/WebRTCICEServer

func (*WebRTCICEServer) Decode

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

Decode decodes WebRTCICEServer from json.

func (*WebRTCICEServer) Encode

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

Encode implements json.Marshaler.

func (*WebRTCICEServer) GetClientOnly

func (s *WebRTCICEServer) GetClientOnly() OptBool

GetClientOnly returns the value of ClientOnly.

func (*WebRTCICEServer) GetPassword

func (s *WebRTCICEServer) GetPassword() OptString

GetPassword returns the value of Password.

func (*WebRTCICEServer) GetURL

func (s *WebRTCICEServer) GetURL() OptString

GetURL returns the value of URL.

func (*WebRTCICEServer) GetUsername

func (s *WebRTCICEServer) GetUsername() OptString

GetUsername returns the value of Username.

func (*WebRTCICEServer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*WebRTCICEServer) SetClientOnly

func (s *WebRTCICEServer) SetClientOnly(val OptBool)

SetClientOnly sets the value of ClientOnly.

func (*WebRTCICEServer) SetPassword

func (s *WebRTCICEServer) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*WebRTCICEServer) SetURL

func (s *WebRTCICEServer) SetURL(val OptString)

SetURL sets the value of URL.

func (*WebRTCICEServer) SetUsername

func (s *WebRTCICEServer) SetUsername(val OptString)

SetUsername sets the value of Username.

func (*WebRTCICEServer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type WebRTCSession

type WebRTCSession struct {
	ID                        OptUUID               `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"`
	User                      OptString             `json:"user"`
	InboundBytes              OptUint64             `json:"inboundBytes"`
	InboundRTPPackets         OptUint64             `json:"inboundRTPPackets"`
	InboundRTPPacketsLost     OptUint64             `json:"inboundRTPPacketsLost"`
	InboundRTPPacketsJitter   OptFloat64            `json:"inboundRTPPacketsJitter"`
	InboundRTCPPackets        OptUint64             `json:"inboundRTCPPackets"`
	OutboundBytes             OptUint64             `json:"outboundBytes"`
	OutboundRTPPackets        OptUint64             `json:"outboundRTPPackets"`
	OutboundRTCPPackets       OptUint64             `json:"outboundRTCPPackets"`
	OutboundFramesDiscarded   OptUint64             `json:"outboundFramesDiscarded"`
	// Deprecated: schema marks this property as deprecated.
	BytesReceived OptUint64 `json:"bytesReceived"`
	// Deprecated: schema marks this property as deprecated.
	BytesSent OptUint64 `json:"bytesSent"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsReceived OptUint64 `json:"rtpPacketsReceived"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsSent OptUint64 `json:"rtpPacketsSent"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsLost OptUint64 `json:"rtpPacketsLost"`
	// Deprecated: schema marks this property as deprecated.
	RtpPacketsJitter OptFloat64 `json:"rtpPacketsJitter"`
	// Deprecated: schema marks this property as deprecated.
	RtcpPacketsReceived OptUint64 `json:"rtcpPacketsReceived"`
	// Deprecated: schema marks this property as deprecated.
	RtcpPacketsSent OptUint64 `json:"rtcpPacketsSent"`
}

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() OptUint64

GetBytesReceived returns the value of BytesReceived.

func (*WebRTCSession) GetBytesSent

func (s *WebRTCSession) GetBytesSent() OptUint64

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() OptUUID

GetID returns the value of ID.

func (*WebRTCSession) GetInboundBytes

func (s *WebRTCSession) GetInboundBytes() OptUint64

GetInboundBytes returns the value of InboundBytes.

func (*WebRTCSession) GetInboundRTCPPackets

func (s *WebRTCSession) GetInboundRTCPPackets() OptUint64

GetInboundRTCPPackets returns the value of InboundRTCPPackets.

func (*WebRTCSession) GetInboundRTPPackets

func (s *WebRTCSession) GetInboundRTPPackets() OptUint64

GetInboundRTPPackets returns the value of InboundRTPPackets.

func (*WebRTCSession) GetInboundRTPPacketsJitter

func (s *WebRTCSession) GetInboundRTPPacketsJitter() OptFloat64

GetInboundRTPPacketsJitter returns the value of InboundRTPPacketsJitter.

func (*WebRTCSession) GetInboundRTPPacketsLost

func (s *WebRTCSession) GetInboundRTPPacketsLost() OptUint64

GetInboundRTPPacketsLost returns the value of InboundRTPPacketsLost.

func (*WebRTCSession) GetLocalCandidate

func (s *WebRTCSession) GetLocalCandidate() OptString

GetLocalCandidate returns the value of LocalCandidate.

func (*WebRTCSession) GetOutboundBytes

func (s *WebRTCSession) GetOutboundBytes() OptUint64

GetOutboundBytes returns the value of OutboundBytes.

func (*WebRTCSession) GetOutboundFramesDiscarded

func (s *WebRTCSession) GetOutboundFramesDiscarded() OptUint64

GetOutboundFramesDiscarded returns the value of OutboundFramesDiscarded.

func (*WebRTCSession) GetOutboundRTCPPackets

func (s *WebRTCSession) GetOutboundRTCPPackets() OptUint64

GetOutboundRTCPPackets returns the value of OutboundRTCPPackets.

func (*WebRTCSession) GetOutboundRTPPackets

func (s *WebRTCSession) GetOutboundRTPPackets() OptUint64

GetOutboundRTPPackets returns the value of OutboundRTPPackets.

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) GetRtcpPacketsReceived

func (s *WebRTCSession) GetRtcpPacketsReceived() OptUint64

GetRtcpPacketsReceived returns the value of RtcpPacketsReceived.

func (*WebRTCSession) GetRtcpPacketsSent

func (s *WebRTCSession) GetRtcpPacketsSent() OptUint64

GetRtcpPacketsSent returns the value of RtcpPacketsSent.

func (*WebRTCSession) GetRtpPacketsJitter

func (s *WebRTCSession) GetRtpPacketsJitter() OptFloat64

GetRtpPacketsJitter returns the value of RtpPacketsJitter.

func (*WebRTCSession) GetRtpPacketsLost

func (s *WebRTCSession) GetRtpPacketsLost() OptUint64

GetRtpPacketsLost returns the value of RtpPacketsLost.

func (*WebRTCSession) GetRtpPacketsReceived

func (s *WebRTCSession) GetRtpPacketsReceived() OptUint64

GetRtpPacketsReceived returns the value of RtpPacketsReceived.

func (*WebRTCSession) GetRtpPacketsSent

func (s *WebRTCSession) GetRtpPacketsSent() OptUint64

GetRtpPacketsSent returns the value of RtpPacketsSent.

func (*WebRTCSession) GetState

func (s *WebRTCSession) GetState() OptWebRTCSessionState

GetState returns the value of State.

func (*WebRTCSession) GetUser

func (s *WebRTCSession) GetUser() OptString

GetUser returns the value of User.

func (*WebRTCSession) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*WebRTCSession) SetBytesReceived

func (s *WebRTCSession) SetBytesReceived(val OptUint64)

SetBytesReceived sets the value of BytesReceived.

func (*WebRTCSession) SetBytesSent

func (s *WebRTCSession) SetBytesSent(val OptUint64)

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 OptUUID)

SetID sets the value of ID.

func (*WebRTCSession) SetInboundBytes

func (s *WebRTCSession) SetInboundBytes(val OptUint64)

SetInboundBytes sets the value of InboundBytes.

func (*WebRTCSession) SetInboundRTCPPackets

func (s *WebRTCSession) SetInboundRTCPPackets(val OptUint64)

SetInboundRTCPPackets sets the value of InboundRTCPPackets.

func (*WebRTCSession) SetInboundRTPPackets

func (s *WebRTCSession) SetInboundRTPPackets(val OptUint64)

SetInboundRTPPackets sets the value of InboundRTPPackets.

func (*WebRTCSession) SetInboundRTPPacketsJitter

func (s *WebRTCSession) SetInboundRTPPacketsJitter(val OptFloat64)

SetInboundRTPPacketsJitter sets the value of InboundRTPPacketsJitter.

func (*WebRTCSession) SetInboundRTPPacketsLost

func (s *WebRTCSession) SetInboundRTPPacketsLost(val OptUint64)

SetInboundRTPPacketsLost sets the value of InboundRTPPacketsLost.

func (*WebRTCSession) SetLocalCandidate

func (s *WebRTCSession) SetLocalCandidate(val OptString)

SetLocalCandidate sets the value of LocalCandidate.

func (*WebRTCSession) SetOutboundBytes

func (s *WebRTCSession) SetOutboundBytes(val OptUint64)

SetOutboundBytes sets the value of OutboundBytes.

func (*WebRTCSession) SetOutboundFramesDiscarded

func (s *WebRTCSession) SetOutboundFramesDiscarded(val OptUint64)

SetOutboundFramesDiscarded sets the value of OutboundFramesDiscarded.

func (*WebRTCSession) SetOutboundRTCPPackets

func (s *WebRTCSession) SetOutboundRTCPPackets(val OptUint64)

SetOutboundRTCPPackets sets the value of OutboundRTCPPackets.

func (*WebRTCSession) SetOutboundRTPPackets

func (s *WebRTCSession) SetOutboundRTPPackets(val OptUint64)

SetOutboundRTPPackets sets the value of OutboundRTPPackets.

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) SetRtcpPacketsReceived

func (s *WebRTCSession) SetRtcpPacketsReceived(val OptUint64)

SetRtcpPacketsReceived sets the value of RtcpPacketsReceived.

func (*WebRTCSession) SetRtcpPacketsSent

func (s *WebRTCSession) SetRtcpPacketsSent(val OptUint64)

SetRtcpPacketsSent sets the value of RtcpPacketsSent.

func (*WebRTCSession) SetRtpPacketsJitter

func (s *WebRTCSession) SetRtpPacketsJitter(val OptFloat64)

SetRtpPacketsJitter sets the value of RtpPacketsJitter.

func (*WebRTCSession) SetRtpPacketsLost

func (s *WebRTCSession) SetRtpPacketsLost(val OptUint64)

SetRtpPacketsLost sets the value of RtpPacketsLost.

func (*WebRTCSession) SetRtpPacketsReceived

func (s *WebRTCSession) SetRtpPacketsReceived(val OptUint64)

SetRtpPacketsReceived sets the value of RtpPacketsReceived.

func (*WebRTCSession) SetRtpPacketsSent

func (s *WebRTCSession) SetRtpPacketsSent(val OptUint64)

SetRtpPacketsSent sets the value of RtpPacketsSent.

func (*WebRTCSession) SetState

func (s *WebRTCSession) SetState(val OptWebRTCSessionState)

SetState sets the value of State.

func (*WebRTCSession) SetUser

func (s *WebRTCSession) SetUser(val OptString)

SetUser sets the value of User.

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 OptInt64        `json:"pageCount"`
	ItemCount OptInt64        `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() OptInt64

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() OptInt64

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 OptInt64)

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 OptInt64)

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

Ref: #/components/schemas/WebRTCSessionState

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.

func (*WebrtcSessionsGetBadRequest) Validate

func (s *WebrtcSessionsGetBadRequest) Validate() error

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.

func (*WebrtcSessionsGetInternalServerError) Validate

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.

func (*WebrtcSessionsGetNotFound) Validate

func (s *WebrtcSessionsGetNotFound) Validate() error

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.

func (*WebrtcSessionsKickBadRequest) Validate

func (s *WebrtcSessionsKickBadRequest) Validate() error

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.

func (*WebrtcSessionsKickInternalServerError) Validate

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.

func (*WebrtcSessionsKickNotFound) Validate

func (s *WebrtcSessionsKickNotFound) Validate() error

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.

func (*WebrtcSessionsListBadRequest) Validate

func (s *WebrtcSessionsListBadRequest) Validate() error

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.

func (*WebrtcSessionsListInternalServerError) Validate

type WebrtcSessionsListParams

type WebrtcSessionsListParams struct {
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Items per page.
	ItemsPerPage OptInt `json:",omitempty,omitzero"`
}

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