Add call id to GroupCallInspector
This commit is contained in:
parent
3790ce3e0e
commit
250099b81d
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue