add TODOs.

This commit is contained in:
Miroslav Šedivý 2021-11-28 18:41:34 +01:00
parent 846dda7e3e
commit 9be83e5160

View File

@ -88,7 +88,7 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
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)
})
}
@ -183,8 +183,6 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
// set remote candidate
await this._connection.webrtc.setCandidate(candidate)
// TODO: Return whole signal description (if answer / offer).
this.emit('connection.webrtc.sdp.candidate', 'remote', candidate)
}