Create a voice group call when using ptt
This commit is contained in:
		
					parent
					
						
							
								9ef9680e07
							
						
					
				
			
			
				commit
				
					
						3a6346aa63
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -111,7 +111,7 @@ export async function createRoom(client, name, isPtt = false) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  await client.createGroupCall(
 | 
					  await client.createGroupCall(
 | 
				
			||||||
    room_id,
 | 
					    room_id,
 | 
				
			||||||
    GroupCallType.Video,
 | 
					    isPtt ? GroupCallType.Voice : GroupCallType.Video,
 | 
				
			||||||
    isPtt,
 | 
					    isPtt,
 | 
				
			||||||
    GroupCallIntent.Prompt
 | 
					    GroupCallIntent.Prompt
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue