Add logging to diagnose no-video bug (#7721)
Log in/outbound RTP stats so we can see ifn we're sending & receiving video, and log when we successfully play the video element.
This commit is contained in:
@@ -643,6 +643,16 @@ export default class CallHandler extends EventEmitter {
|
||||
`bytes received: ${pair.bytesReceived}, bytes sent: ${pair.bytesSent}, `,
|
||||
);
|
||||
}
|
||||
|
||||
logger.debug("Outbound RTP:");
|
||||
for (const s of stats.filter(item => item.type === 'outbound-rtp')) {
|
||||
logger.debug(s);
|
||||
}
|
||||
|
||||
logger.debug("Inbound RTP:");
|
||||
for (const s of stats.filter(item => item.type === 'inbound-rtp')) {
|
||||
logger.debug(s);
|
||||
}
|
||||
}
|
||||
|
||||
private setCallState(call: MatrixCall, status: CallState): void {
|
||||
|
||||
Reference in New Issue
Block a user