mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
more sessionId logging
This commit is contained in:
parent
bb92d2e30d
commit
9938071e1c
@ -77,6 +77,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
logItem.set("id", this.id);
|
logItem.set("id", this.id);
|
||||||
|
logItem.set("sessionId", this.options.sessionId);
|
||||||
this._state = newCall ? GroupCallState.Fledgling : GroupCallState.Created;
|
this._state = newCall ? GroupCallState.Fledgling : GroupCallState.Created;
|
||||||
this._memberOptions = Object.assign({}, options, {
|
this._memberOptions = Object.assign({}, options, {
|
||||||
confId: this.id,
|
confId: this.id,
|
||||||
@ -244,7 +245,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||||||
this._members.remove(memberKey);
|
this._members.remove(memberKey);
|
||||||
member = undefined;
|
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.set("add", true);
|
||||||
log.refDetached(logItem);
|
log.refDetached(logItem);
|
||||||
member = new Member(
|
member = new Member(
|
||||||
|
@ -60,7 +60,9 @@ export class Member {
|
|||||||
private callDeviceMembership: CallDeviceMembership,
|
private callDeviceMembership: CallDeviceMembership,
|
||||||
private readonly options: Options,
|
private readonly options: Options,
|
||||||
private readonly logItem: ILogItem,
|
private readonly logItem: ILogItem,
|
||||||
) {}
|
) {
|
||||||
|
this.logItem.set("sessionId", this.sessionId);
|
||||||
|
}
|
||||||
|
|
||||||
get remoteMedia(): RemoteMedia | undefined {
|
get remoteMedia(): RemoteMedia | undefined {
|
||||||
return this.peerCall?.remoteMedia;
|
return this.peerCall?.remoteMedia;
|
||||||
|
Loading…
Reference in New Issue
Block a user