Documentation ¶
Index ¶
- Variables
- func DRPCRegisterPeerBroker(mux drpc.Mux, impl DRPCPeerBrokerServer) error
- type DRPCPeerBrokerClient
- type DRPCPeerBrokerDescription
- type DRPCPeerBrokerServer
- type DRPCPeerBrokerUnimplementedServer
- type DRPCPeerBroker_NegotiateConnectionClient
- type DRPCPeerBroker_NegotiateConnectionStream
- type Exchange
- func (*Exchange) Descriptor() ([]byte, []int)deprecated
- func (x *Exchange) GetIceCandidate() string
- func (m *Exchange) GetMessage() isExchange_Message
- func (x *Exchange) GetSdp() *WebRTCSessionDescription
- func (*Exchange) ProtoMessage()
- func (x *Exchange) ProtoReflect() protoreflect.Message
- func (x *Exchange) Reset()
- func (x *Exchange) String() string
- type Exchange_IceCandidate
- type Exchange_Sdp
- type WebRTCSessionDescription
- func (*WebRTCSessionDescription) Descriptor() ([]byte, []int)deprecated
- func (x *WebRTCSessionDescription) GetSdp() string
- func (x *WebRTCSessionDescription) GetSdpType() int32
- func (*WebRTCSessionDescription) ProtoMessage()
- func (x *WebRTCSessionDescription) ProtoReflect() protoreflect.Message
- func (x *WebRTCSessionDescription) Reset()
- func (x *WebRTCSessionDescription) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_peerbroker_proto_peerbroker_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterPeerBroker ¶
func DRPCRegisterPeerBroker(mux drpc.Mux, impl DRPCPeerBrokerServer) error
Types ¶
type DRPCPeerBrokerClient ¶
type DRPCPeerBrokerClient interface { DRPCConn() drpc.Conn NegotiateConnection(ctx context.Context) (DRPCPeerBroker_NegotiateConnectionClient, error) }
func NewDRPCPeerBrokerClient ¶
func NewDRPCPeerBrokerClient(cc drpc.Conn) DRPCPeerBrokerClient
type DRPCPeerBrokerDescription ¶
type DRPCPeerBrokerDescription struct{}
func (DRPCPeerBrokerDescription) NumMethods ¶
func (DRPCPeerBrokerDescription) NumMethods() int
type DRPCPeerBrokerServer ¶
type DRPCPeerBrokerServer interface {
NegotiateConnection(DRPCPeerBroker_NegotiateConnectionStream) error
}
type DRPCPeerBrokerUnimplementedServer ¶
type DRPCPeerBrokerUnimplementedServer struct{}
func (*DRPCPeerBrokerUnimplementedServer) NegotiateConnection ¶
func (s *DRPCPeerBrokerUnimplementedServer) NegotiateConnection(DRPCPeerBroker_NegotiateConnectionStream) error
type Exchange ¶
type Exchange struct { // Types that are assignable to Message: // *Exchange_Sdp // *Exchange_IceCandidate Message isExchange_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
func (*Exchange) Descriptor
deprecated
func (*Exchange) GetIceCandidate ¶
func (*Exchange) GetMessage ¶
func (m *Exchange) GetMessage() isExchange_Message
func (*Exchange) GetSdp ¶
func (x *Exchange) GetSdp() *WebRTCSessionDescription
func (*Exchange) ProtoMessage ¶
func (*Exchange) ProtoMessage()
func (*Exchange) ProtoReflect ¶
func (x *Exchange) ProtoReflect() protoreflect.Message
type Exchange_IceCandidate ¶
type Exchange_IceCandidate struct {
IceCandidate string `protobuf:"bytes,2,opt,name=ice_candidate,json=iceCandidate,proto3,oneof"`
}
type Exchange_Sdp ¶
type Exchange_Sdp struct {
Sdp *WebRTCSessionDescription `protobuf:"bytes,1,opt,name=sdp,proto3,oneof"`
}
type WebRTCSessionDescription ¶
type WebRTCSessionDescription struct { SdpType int32 `protobuf:"varint,1,opt,name=sdp_type,json=sdpType,proto3" json:"sdp_type,omitempty"` Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` // contains filtered or unexported fields }
func (*WebRTCSessionDescription) Descriptor
deprecated
func (*WebRTCSessionDescription) Descriptor() ([]byte, []int)
Deprecated: Use WebRTCSessionDescription.ProtoReflect.Descriptor instead.
func (*WebRTCSessionDescription) GetSdp ¶
func (x *WebRTCSessionDescription) GetSdp() string
func (*WebRTCSessionDescription) GetSdpType ¶
func (x *WebRTCSessionDescription) GetSdpType() int32
func (*WebRTCSessionDescription) ProtoMessage ¶
func (*WebRTCSessionDescription) ProtoMessage()
func (*WebRTCSessionDescription) ProtoReflect ¶
func (x *WebRTCSessionDescription) ProtoReflect() protoreflect.Message
func (*WebRTCSessionDescription) Reset ¶
func (x *WebRTCSessionDescription) Reset()
func (*WebRTCSessionDescription) String ¶
func (x *WebRTCSessionDescription) String() string
Click to show internal directories.
Click to hide internal directories.