log track length

This commit is contained in:
Bruno Windels 2022-04-07 16:54:36 +02:00
parent 1dc46127c3
commit bade40acc6

View file

@ -108,7 +108,7 @@ export class PeerCall implements IDisposable {
});
},
onRemoteTracksChanged(tracks: Track[]) {
outer.logItem.wrap("onRemoteTracksChanged", log => {
outer.logItem.wrap({l: "onRemoteTracksChanged", length: tracks.length}, log => {
outer.options.emitUpdate(outer, undefined);
});
},