Versions in this module Expand all Collapse all v1 v1.0.2 May 6, 2023 Changes in this version + var File_pb_message_proto protoreflect.FileDescriptor + var PacketType_name = map[int32]string + var PacketType_value = map[string]int32 + type BinaryFrame struct + Content []byte + Src string + func (*BinaryFrame) Descriptor() ([]byte, []int) + func (*BinaryFrame) ProtoMessage() + func (x *BinaryFrame) GetContent() []byte + func (x *BinaryFrame) GetSrc() string + func (x *BinaryFrame) ProtoReflect() protoreflect.Message + func (x *BinaryFrame) Reset() + func (x *BinaryFrame) String() string + type CmdPullRequest struct + ClientId string + Id string + Params string + func (*CmdPullRequest) Descriptor() ([]byte, []int) + func (*CmdPullRequest) ProtoMessage() + func (x *CmdPullRequest) GetClientId() string + func (x *CmdPullRequest) GetId() string + func (x *CmdPullRequest) GetParams() string + func (x *CmdPullRequest) ProtoReflect() protoreflect.Message + func (x *CmdPullRequest) Reset() + func (x *CmdPullRequest) String() string + type CmdPullResponse struct + Codec *Codec + Message string + Success bool + func (*CmdPullResponse) Descriptor() ([]byte, []int) + func (*CmdPullResponse) ProtoMessage() + func (x *CmdPullResponse) GetCodec() *Codec + func (x *CmdPullResponse) GetMessage() string + func (x *CmdPullResponse) GetSuccess() bool + func (x *CmdPullResponse) ProtoReflect() protoreflect.Message + func (x *CmdPullResponse) Reset() + func (x *CmdPullResponse) String() string + type Codec struct + PPS []byte + SPS []byte + func (*Codec) Descriptor() ([]byte, []int) + func (*Codec) ProtoMessage() + func (x *Codec) GetPPS() []byte + func (x *Codec) GetSPS() []byte + func (x *Codec) ProtoReflect() protoreflect.Message + func (x *Codec) Reset() + func (x *Codec) String() string + type DataHeartbeat struct + Id string + Timestamp int64 + Version string + func (*DataHeartbeat) Descriptor() ([]byte, []int) + func (*DataHeartbeat) ProtoMessage() + func (x *DataHeartbeat) GetId() string + func (x *DataHeartbeat) GetTimestamp() int64 + func (x *DataHeartbeat) GetVersion() string + func (x *DataHeartbeat) ProtoReflect() protoreflect.Message + func (x *DataHeartbeat) Reset() + func (x *DataHeartbeat) String() string + type MediaFrame struct + Content []byte + IsKeyFrame bool + func (*MediaFrame) Descriptor() ([]byte, []int) + func (*MediaFrame) ProtoMessage() + func (x *MediaFrame) GetContent() []byte + func (x *MediaFrame) GetIsKeyFrame() bool + func (x *MediaFrame) ProtoReflect() protoreflect.Message + func (x *MediaFrame) Reset() + func (x *MediaFrame) String() string + type Packet struct + Data *anypb.Any + Type PacketType + func (*Packet) Descriptor() ([]byte, []int) + func (*Packet) ProtoMessage() + func (x *Packet) GetData() *anypb.Any + func (x *Packet) GetType() PacketType + func (x *Packet) ProtoReflect() protoreflect.Message + func (x *Packet) Reset() + func (x *Packet) String() string + type PacketType int32 + const PacketType_PacketType_BinaryFrame + const PacketType_PacketType_CodecFrame + const PacketType_PacketType_Heartbeat + const PacketType_PacketType_MediaFrame + const PacketType_PacketType_PullCmd + func (PacketType) Descriptor() protoreflect.EnumDescriptor + func (PacketType) EnumDescriptor() ([]byte, []int) + func (PacketType) Type() protoreflect.EnumType + func (x PacketType) Enum() *PacketType + func (x PacketType) Number() protoreflect.EnumNumber + func (x PacketType) String() string