also log payload when receiving to_device call message, help debug with thirdroom
This commit is contained in:
parent
c1c08e9eb0
commit
1a0b11ff7e
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ export class PeerCall implements IDisposable {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleIncomingSignallingMessage<B extends MCallBase>(message: SignallingMessage<B>, partyId: PartyId): Promise<void> {
|
handleIncomingSignallingMessage<B extends MCallBase>(message: SignallingMessage<B>, partyId: PartyId): Promise<void> {
|
||||||
return this.logItem.wrap({l: "receive", id: message.type, callId: message.content.call_id}, async log => {
|
return this.logItem.wrap({l: "receive", id: message.type, callId: message.content.call_id, payload: message}, async log => {
|
||||||
switch (message.type) {
|
switch (message.type) {
|
||||||
case EventType.Invite:
|
case EventType.Invite:
|
||||||
if (this.callId !== message.content.call_id) {
|
if (this.callId !== message.content.call_id) {
|
||||||
|
|
Reference in a new issue