mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-29 10:26:22 +02:00
add TODOs.
This commit is contained in:
parent
846dda7e3e
commit
9be83e5160
1 changed files with 1 additions and 3 deletions
|
@ -88,7 +88,7 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
|
||||||
this._remoteLog.warn(`unsupported negotiation type`, { type })
|
this._remoteLog.warn(`unsupported negotiation type`, { type })
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Pass type as well.
|
// TODO: Return whole signal description (if answer / offer).
|
||||||
this.emit('connection.webrtc.sdp', 'local', sdp)
|
this.emit('connection.webrtc.sdp', 'local', sdp)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -183,8 +183,6 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
|
||||||
|
|
||||||
// set remote candidate
|
// set remote candidate
|
||||||
await this._connection.webrtc.setCandidate(candidate)
|
await this._connection.webrtc.setCandidate(candidate)
|
||||||
|
|
||||||
// TODO: Return whole signal description (if answer / offer).
|
|
||||||
this.emit('connection.webrtc.sdp.candidate', 'remote', candidate)
|
this.emit('connection.webrtc.sdp.candidate', 'remote', candidate)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue