mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add TODOs.
This commit is contained in:
parent
846dda7e3e
commit
9be83e5160
@ -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…
Reference in New Issue
Block a user