mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Merge pull request #1019 from vector-im/bwindels/log-1013
Extra logging for call issue
This commit is contained in:
commit
bcc8e3a6c1
@ -164,8 +164,9 @@ export class PeerCall implements IDisposable {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
listen("negotiationneeded", () => {
|
listen("negotiationneeded", () => {
|
||||||
|
const signalingState = this.peerConnection.signalingState;
|
||||||
const promiseCreator = () => {
|
const promiseCreator = () => {
|
||||||
return logItem.wrap("onNegotiationNeeded", log => {
|
return logItem.wrap({l: "onNegotiationNeeded", signalingState}, log => {
|
||||||
return this.handleNegotiation(log);
|
return this.handleNegotiation(log);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user