diff --git a/go.mod b/go.mod index 36a17811..581eae05 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( go.uber.org/zap v1.27.0 google.golang.org/grpc v1.68.1 google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 - google.golang.org/protobuf v1.35.2 + google.golang.org/protobuf v1.36.0 ) require ( diff --git a/go.sum b/go.sum index b69f993d..ca754af8 100644 --- a/go.sum +++ b/go.sum @@ -310,8 +310,8 @@ google.golang.org/grpc v1.68.1 h1:oI5oTa11+ng8r8XMMN7jAOmWfPZWbYpCFaMUTACxkM0= google.golang.org/grpc v1.68.1/go.mod h1:+q1XYFJjShcqn0QZHvCyeR4CXPA+llXIeUIfIe00waw= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 h1:F29+wU6Ee6qgu9TddPgooOdaqsxTMunOoj8KA5yuS5A= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1/go.mod h1:5KF+wpkbTSbGcR9zteSqZV6fqFOWBl4Yde8En8MryZA= -google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io= -google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ= +google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/grpc_backend.pb.go b/grpc_backend.pb.go index f6381357..03c77627 100644 --- a/grpc_backend.pb.go +++ b/grpc_backend.pb.go @@ -39,11 +39,10 @@ const ( ) type GetSessionCountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSessionCountRequest) Reset() { @@ -84,11 +83,10 @@ func (x *GetSessionCountRequest) GetUrl() string { } type GetSessionCountReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSessionCountReply) Reset() { diff --git a/grpc_internal.pb.go b/grpc_internal.pb.go index 4449f777..7e4dc524 100644 --- a/grpc_internal.pb.go +++ b/grpc_internal.pb.go @@ -39,9 +39,9 @@ const ( ) type GetServerIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServerIdRequest) Reset() { @@ -75,11 +75,10 @@ func (*GetServerIdRequest) Descriptor() ([]byte, []int) { } type GetServerIdReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServerId string `protobuf:"bytes,1,opt,name=serverId,proto3" json:"serverId,omitempty"` unknownFields protoimpl.UnknownFields - - ServerId string `protobuf:"bytes,1,opt,name=serverId,proto3" json:"serverId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetServerIdReply) Reset() { diff --git a/grpc_mcu.pb.go b/grpc_mcu.pb.go index 08f97e1a..59ef5fca 100644 --- a/grpc_mcu.pb.go +++ b/grpc_mcu.pb.go @@ -39,12 +39,11 @@ const ( ) type GetPublisherIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` + StreamType string `protobuf:"bytes,2,opt,name=streamType,proto3" json:"streamType,omitempty"` unknownFields protoimpl.UnknownFields - - SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` - StreamType string `protobuf:"bytes,2,opt,name=streamType,proto3" json:"streamType,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPublisherIdRequest) Reset() { @@ -92,13 +91,12 @@ func (x *GetPublisherIdRequest) GetStreamType() string { } type GetPublisherIdReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PublisherId string `protobuf:"bytes,1,opt,name=publisherId,proto3" json:"publisherId,omitempty"` + ProxyUrl string `protobuf:"bytes,2,opt,name=proxyUrl,proto3" json:"proxyUrl,omitempty"` + Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` unknownFields protoimpl.UnknownFields - - PublisherId string `protobuf:"bytes,1,opt,name=publisherId,proto3" json:"publisherId,omitempty"` - ProxyUrl string `protobuf:"bytes,2,opt,name=proxyUrl,proto3" json:"proxyUrl,omitempty"` - Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPublisherIdReply) Reset() { diff --git a/grpc_sessions.pb.go b/grpc_sessions.pb.go index e9fc9b82..f47e8fb0 100644 --- a/grpc_sessions.pb.go +++ b/grpc_sessions.pb.go @@ -39,11 +39,10 @@ const ( ) type LookupResumeIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ResumeId string `protobuf:"bytes,1,opt,name=resumeId,proto3" json:"resumeId,omitempty"` unknownFields protoimpl.UnknownFields - - ResumeId string `protobuf:"bytes,1,opt,name=resumeId,proto3" json:"resumeId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LookupResumeIdRequest) Reset() { @@ -84,11 +83,10 @@ func (x *LookupResumeIdRequest) GetResumeId() string { } type LookupResumeIdReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` unknownFields protoimpl.UnknownFields - - SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LookupResumeIdReply) Reset() { @@ -129,13 +127,12 @@ func (x *LookupResumeIdReply) GetSessionId() string { } type LookupSessionIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomSessionId string `protobuf:"bytes,1,opt,name=roomSessionId,proto3" json:"roomSessionId,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RoomSessionId string `protobuf:"bytes,1,opt,name=roomSessionId,proto3" json:"roomSessionId,omitempty"` // Optional: set if the session should be disconnected with a given reason. DisconnectReason string `protobuf:"bytes,2,opt,name=disconnectReason,proto3" json:"disconnectReason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LookupSessionIdRequest) Reset() { @@ -183,11 +180,10 @@ func (x *LookupSessionIdRequest) GetDisconnectReason() string { } type LookupSessionIdReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` unknownFields protoimpl.UnknownFields - - SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LookupSessionIdReply) Reset() { @@ -228,13 +224,12 @@ func (x *LookupSessionIdReply) GetSessionId() string { } type IsSessionInCallRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` + RoomId string `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"` + BackendUrl string `protobuf:"bytes,3,opt,name=backendUrl,proto3" json:"backendUrl,omitempty"` unknownFields protoimpl.UnknownFields - - SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` - RoomId string `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"` - BackendUrl string `protobuf:"bytes,3,opt,name=backendUrl,proto3" json:"backendUrl,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IsSessionInCallRequest) Reset() { @@ -289,11 +284,10 @@ func (x *IsSessionInCallRequest) GetBackendUrl() string { } type IsSessionInCallReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + InCall bool `protobuf:"varint,1,opt,name=inCall,proto3" json:"inCall,omitempty"` unknownFields protoimpl.UnknownFields - - InCall bool `protobuf:"varint,1,opt,name=inCall,proto3" json:"inCall,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IsSessionInCallReply) Reset() { @@ -334,12 +328,11 @@ func (x *IsSessionInCallReply) GetInCall() bool { } type GetInternalSessionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoomId string `protobuf:"bytes,1,opt,name=roomId,proto3" json:"roomId,omitempty"` + BackendUrl string `protobuf:"bytes,2,opt,name=backendUrl,proto3" json:"backendUrl,omitempty"` unknownFields protoimpl.UnknownFields - - RoomId string `protobuf:"bytes,1,opt,name=roomId,proto3" json:"roomId,omitempty"` - BackendUrl string `protobuf:"bytes,2,opt,name=backendUrl,proto3" json:"backendUrl,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetInternalSessionsRequest) Reset() { @@ -387,13 +380,12 @@ func (x *GetInternalSessionsRequest) GetBackendUrl() string { } type InternalSessionData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` + InCall uint32 `protobuf:"varint,2,opt,name=inCall,proto3" json:"inCall,omitempty"` + Features []string `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"` unknownFields protoimpl.UnknownFields - - SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` - InCall uint32 `protobuf:"varint,2,opt,name=inCall,proto3" json:"inCall,omitempty"` - Features []string `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"` + sizeCache protoimpl.SizeCache } func (x *InternalSessionData) Reset() { @@ -448,12 +440,11 @@ func (x *InternalSessionData) GetFeatures() []string { } type VirtualSessionData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` + InCall uint32 `protobuf:"varint,2,opt,name=inCall,proto3" json:"inCall,omitempty"` unknownFields protoimpl.UnknownFields - - SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` - InCall uint32 `protobuf:"varint,2,opt,name=inCall,proto3" json:"inCall,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VirtualSessionData) Reset() { @@ -501,12 +492,11 @@ func (x *VirtualSessionData) GetInCall() uint32 { } type GetInternalSessionsReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` InternalSessions []*InternalSessionData `protobuf:"bytes,1,rep,name=internalSessions,proto3" json:"internalSessions,omitempty"` VirtualSessions []*VirtualSessionData `protobuf:"bytes,2,rep,name=virtualSessions,proto3" json:"virtualSessions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetInternalSessionsReply) Reset() { @@ -554,11 +544,10 @@ func (x *GetInternalSessionsReply) GetVirtualSessions() []*VirtualSessionData { } type ClientSessionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ClientSessionMessage) Reset() { @@ -599,11 +588,10 @@ func (x *ClientSessionMessage) GetMessage() []byte { } type ServerSessionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServerSessionMessage) Reset() { diff --git a/session.pb.go b/session.pb.go index ee104774..17afb313 100644 --- a/session.pb.go +++ b/session.pb.go @@ -40,13 +40,12 @@ const ( ) type SessionIdData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Sid uint64 `protobuf:"varint,1,opt,name=Sid,proto3" json:"Sid,omitempty"` + Created *timestamp.Timestamp `protobuf:"bytes,2,opt,name=Created,proto3" json:"Created,omitempty"` + BackendId string `protobuf:"bytes,3,opt,name=BackendId,proto3" json:"BackendId,omitempty"` unknownFields protoimpl.UnknownFields - - Sid uint64 `protobuf:"varint,1,opt,name=Sid,proto3" json:"Sid,omitempty"` - Created *timestamp.Timestamp `protobuf:"bytes,2,opt,name=Created,proto3" json:"Created,omitempty"` - BackendId string `protobuf:"bytes,3,opt,name=BackendId,proto3" json:"BackendId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SessionIdData) Reset() {