more sessionId logging
This commit is contained in:
parent
bb92d2e30d
commit
9938071e1c
2 changed files with 5 additions and 2 deletions
|
@ -77,6 +77,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||
) {
|
||||
super();
|
||||
logItem.set("id", this.id);
|
||||
logItem.set("sessionId", this.options.sessionId);
|
||||
this._state = newCall ? GroupCallState.Fledgling : GroupCallState.Created;
|
||||
this._memberOptions = Object.assign({}, options, {
|
||||
confId: this.id,
|
||||
|
@ -244,7 +245,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||
this._members.remove(memberKey);
|
||||
member = undefined;
|
||||
}
|
||||
const logItem = this.logItem.child({l: "member", id: memberKey, sessionId: device.session_id});
|
||||
const logItem = this.logItem.child({l: "member", id: memberKey});
|
||||
log.set("add", true);
|
||||
log.refDetached(logItem);
|
||||
member = new Member(
|
||||
|
|
|
@ -60,7 +60,9 @@ export class Member {
|
|||
private callDeviceMembership: CallDeviceMembership,
|
||||
private readonly options: Options,
|
||||
private readonly logItem: ILogItem,
|
||||
) {}
|
||||
) {
|
||||
this.logItem.set("sessionId", this.sessionId);
|
||||
}
|
||||
|
||||
get remoteMedia(): RemoteMedia | undefined {
|
||||
return this.peerCall?.remoteMedia;
|
||||
|
|
Reference in a new issue