log signalingState on negotiationneeded

This commit is contained in:
Bruno Windels 2023-02-07 20:07:16 +01:00
parent a49c9c17c0
commit 3ff91639c6

View File

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