identifiers

package
v0.0.0-...-b09c24f Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ServerNodePrefix = "node:"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientID

type ClientID string

ClientID is the remote client ID that's connected to the server.

func (ClientID) IsServer

func (c ClientID) IsServer() bool

func (ClientID) String

func (c ClientID) String() string

type ClientIDs

type ClientIDs []ClientID

func (ClientIDs) Len

func (c ClientIDs) Len() int

func (ClientIDs) Less

func (c ClientIDs) Less(i, j int) bool

func (ClientIDs) Swap

func (c ClientIDs) Swap(i, j int)

type PeerID

type PeerID string

PeerID is the ID of the remote peer that published the track. In other words it's the ID of the origin of this track.

type RoomID

type RoomID string

func (RoomID) String

func (r RoomID) String() string

type TrackID

type TrackID struct {
	// ID corresponds to track label.
	ID string `json:"id"`
	// Stream corresponds to stream ID.
	StreamID string `json:"streamId"`
}

Jump to

Keyboard shortcuts

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