Add call id to GroupCallInspector

This commit is contained in:
Robert Long 2021-10-21 12:53:17 -07:00
parent 3790ce3e0e
commit 250099b81d

View file

@ -9,6 +9,7 @@ function getCallUserId(call) {
function getCallState(call) { function getCallState(call) {
return { return {
id: call.callId,
opponentMemberId: getCallUserId(call), opponentMemberId: getCallUserId(call),
state: call.state, state: call.state,
direction: call.direction, direction: call.direction,
@ -121,7 +122,7 @@ export function GroupCallInspector({ client, groupCall, show }) {
}, [toDeviceEvents]); }, [toDeviceEvents]);
return ( return (
<Resizable enable={{ top: true }} > <Resizable enable={{ top: true }}>
{show && ( {show && (
<ReactJson <ReactJson
theme="monokai" theme="monokai"