signal provide remove ID.

This commit is contained in:
Miroslav Šedivý 2020-11-30 17:33:34 +01:00
parent 0a75950356
commit 2c210f3cf1
2 changed files with 0 additions and 2 deletions

View File

@ -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"`

View File

@ -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,