mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
signal provide remove ID.
This commit is contained in:
parent
0a75950356
commit
2c210f3cf1
@ -29,7 +29,6 @@ type SystemDisconnect struct {
|
|||||||
// Signal
|
// Signal
|
||||||
type SignalProvide struct {
|
type SignalProvide struct {
|
||||||
Event string `json:"event,omitempty"`
|
Event string `json:"event,omitempty"`
|
||||||
ID string `json:"id"` // TODO: Remove
|
|
||||||
SDP string `json:"sdp"`
|
SDP string `json:"sdp"`
|
||||||
Lite bool `json:"lite"`
|
Lite bool `json:"lite"`
|
||||||
ICE []string `json:"ice"`
|
ICE []string `json:"ice"`
|
||||||
|
@ -15,7 +15,6 @@ func (h *MessageHandlerCtx) signalProvide(session types.Session) error {
|
|||||||
return session.Send(
|
return session.Send(
|
||||||
message.SignalProvide{
|
message.SignalProvide{
|
||||||
Event: event.SIGNAL_PROVIDE,
|
Event: event.SIGNAL_PROVIDE,
|
||||||
ID: session.ID(),
|
|
||||||
SDP: sdp,
|
SDP: sdp,
|
||||||
Lite: lite,
|
Lite: lite,
|
||||||
ICE: ice,
|
ICE: ice,
|
||||||
|
Loading…
Reference in New Issue
Block a user