Fix InCallView
This commit is contained in:
		
					parent
					
						
							
								dec47d21c0
							
						
					
				
			
			
				commit
				
					
						be45c0319e
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -62,7 +62,7 @@ export function InCallView({
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for (const callFeed of screenshareFeeds) {
 | 
					    for (const callFeed of screenshareFeeds) {
 | 
				
			||||||
      const userMediaItem = items.find(
 | 
					      const userMediaItem = participants.find(
 | 
				
			||||||
        (item) => item.callFeed.userId === callFeed.userId
 | 
					        (item) => item.callFeed.userId === callFeed.userId
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,7 +70,7 @@ export function InCallView({
 | 
				
			||||||
        userMediaItem.presenter = true;
 | 
					        userMediaItem.presenter = true;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      items.push({
 | 
					      participants.push({
 | 
				
			||||||
        id: callFeed.stream.id,
 | 
					        id: callFeed.stream.id,
 | 
				
			||||||
        callFeed,
 | 
					        callFeed,
 | 
				
			||||||
        focused: true,
 | 
					        focused: true,
 | 
				
			||||||
| 
						 | 
					@ -147,7 +147,7 @@ export function InCallView({
 | 
				
			||||||
          {({ item, ...rest }) => (
 | 
					          {({ item, ...rest }) => (
 | 
				
			||||||
            <VideoTileContainer
 | 
					            <VideoTileContainer
 | 
				
			||||||
              key={item.id}
 | 
					              key={item.id}
 | 
				
			||||||
              callFeed={item.callFeed}
 | 
					              item={item}
 | 
				
			||||||
              getAvatar={renderAvatar}
 | 
					              getAvatar={renderAvatar}
 | 
				
			||||||
              {...rest}
 | 
					              {...rest}
 | 
				
			||||||
            />
 | 
					            />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue