Merge pull request #1019 from vector-im/bwindels/log-1013

Extra logging for call issue
This commit is contained in:
Bruno Windels 2023-02-07 20:14:48 +01:00 committed by GitHub
commit bcc8e3a6c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,8 +164,9 @@ export class PeerCall implements IDisposable {
});
});
listen("negotiationneeded", () => {
const signalingState = this.peerConnection.signalingState;
const promiseCreator = () => {
return logItem.wrap("onNegotiationNeeded", log => {
return logItem.wrap({l: "onNegotiationNeeded", signalingState}, log => {
return this.handleNegotiation(log);
});
};