diff --git a/src/Conference.jsx b/src/Conference.jsx index ea5d7bba..256b7ead 100644 --- a/src/Conference.jsx +++ b/src/Conference.jsx @@ -206,7 +206,7 @@ class Conference extends React.Component { let big = 0; for (let i = 0; i < streams.length; i++) { let item = streams[i]; - if (item.mid == id) { + if (item.id == id) { big = i; break; } @@ -238,7 +238,7 @@ class Conference extends React.Component { )} {streams.map((item, index) => { return index == 0 ? ( - + ) : ( "" ); @@ -272,8 +272,8 @@ class Conference extends React.Component { {streams.map((item, index) => { return index > 0 ? (