Livestream

package
v0.0.0-...-dc4703b Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Msg_Type_name = map[int32]string{
		0: "PLAY",
		1: "STOP",
		2: "KEEPALIVE",
	}
	Msg_Type_value = map[string]int32{
		"PLAY":      0,
		"STOP":      1,
		"KEEPALIVE": 2,
	}
)

Enum value maps for Msg_Type.

View Source
var File_livestream_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Msg

type Msg struct {
	Timestamp   uint32   `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Type        Msg_Type `protobuf:"varint,2,opt,name=type,proto3,enum=Livestream.Msg_Type" json:"type,omitempty"`
	Streamid    string   `protobuf:"bytes,3,opt,name=streamid,proto3" json:"streamid,omitempty"`
	Ip          string   `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	AudioPort   string   `protobuf:"bytes,5,opt,name=audioPort,proto3" json:"audioPort,omitempty"`
	VideoPort   string   `protobuf:"bytes,6,opt,name=videoPort,proto3" json:"videoPort,omitempty"`
	VideoSource string   `protobuf:"bytes,7,opt,name=videoSource,proto3" json:"videoSource,omitempty"`
	// contains filtered or unexported fields
}

func (*Msg) Descriptor deprecated

func (*Msg) Descriptor() ([]byte, []int)

Deprecated: Use Msg.ProtoReflect.Descriptor instead.

func (*Msg) GetAudioPort

func (x *Msg) GetAudioPort() string

func (*Msg) GetIp

func (x *Msg) GetIp() string

func (*Msg) GetStreamid

func (x *Msg) GetStreamid() string

func (*Msg) GetTimestamp

func (x *Msg) GetTimestamp() uint32

func (*Msg) GetType

func (x *Msg) GetType() Msg_Type

func (*Msg) GetVideoPort

func (x *Msg) GetVideoPort() string

func (*Msg) GetVideoSource

func (x *Msg) GetVideoSource() string

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) ProtoReflect

func (x *Msg) ProtoReflect() protoreflect.Message

func (*Msg) Reset

func (x *Msg) Reset()

func (*Msg) String

func (x *Msg) String() string

type Msg_Type

type Msg_Type int32
const (
	Msg_PLAY      Msg_Type = 0
	Msg_STOP      Msg_Type = 1
	Msg_KEEPALIVE Msg_Type = 2
)

func (Msg_Type) Descriptor

func (Msg_Type) Descriptor() protoreflect.EnumDescriptor

func (Msg_Type) Enum

func (x Msg_Type) Enum() *Msg_Type

func (Msg_Type) EnumDescriptor deprecated

func (Msg_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Msg_Type.Descriptor instead.

func (Msg_Type) Number

func (x Msg_Type) Number() protoreflect.EnumNumber

func (Msg_Type) String

func (x Msg_Type) String() string

func (Msg_Type) Type

Jump to

Keyboard shortcuts

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