cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1431
Views
0
Helpful
7
Replies

Webex Mobile SDK, how to always displaying the call's host.

Luis Oscar
Level 1
Level 1

Hello,

I am currently using the iOS Webex SDK to allow users of my app to join a call to communicate with customer support through video chat, however it seems that more than one user can join a call. This leads to the situation in where whoever is speaking will be shown as the active speaker. 
I was wondering if its possible for a "Guest" user (iOS App User) to know which participant is the host. Doing this will allow the user interface to always display the host name. Additionally, is it possible to only show the host regardless of the number of participants? 

It seems the TeamMembership object has this information, but it doesn't seem possible to be queried by "guest" users.

Thanks!

1 Accepted Solution

At this point it might be best to create a support ticket (email devsupport@webex.com) with all the details you can share so that we can check it further. 

View solution in original post

7 Replies 7

Luis Oscar
Level 1
Level 1

Thank you for the response. 

We aren't using space meetings. 

We are currently using #2 and #4 from the code described here https://github.com/webex/webex-ios-sdk/wiki/Basic-Usage-Guide  

Our goal is to let app users (guests) focus only on the customer support representative (host). (Show only their video stream and name)

Based on the previous response, we can't get the information of the participants which would have allowed us to only display the host name, but is there a way to get the details of the meeting itself? 

Something I forgot to mention is that guest users will be using the app, while hosts will be using the web interface. I'm not very familiar with the capabilities a host has but are they able to pin themselves or something? (So that all participants only see their video stream)

Perhaps we are taking the wrong approach so I would appreciate any advice or suggestion you might have.  

Just to confirm, when you say "web interface", do you mean the webex meetings site? Or do you mean that you're using the JS/Browser SDK?

In any case, from the guest user perspective, you should be able to use the iOS SDK to only display the remote view (that being the host on the other side) and not display the localView of the guest user. You could just have the remote view shown once the guest user enters the meeting, and just automatically toggle the guest user's video to off (without giving an option to toggle it on). You may check out how remoteView is handled on our sample demo app here: https://github.com/webex/webex-ios-sdk-example. It doesn't have this use case built-in, but you should be able to take some guidance from it.


@Raffaele Lagana wrote:

Just to confirm, when you say "web interface", do you mean the webex meetings site? Or do you mean that you're using the JS/Browser SDK?

In any case, from the guest user perspective, you should be able to use the iOS SDK to only display the remote view (that being the host on the other side) and not display the localView of the guest user. You could just have the remote view shown once the guest user enters the meeting, and just automatically toggle the guest user's video to off (without giving an option to toggle it on). You may check out how remoteView is handled on our sample demo app here: https://github.com/webex/webex-ios-sdk-example. It doesn't have this use case built-in, but you should be able to take some guidance from it.


The Webex meeting site.


@Raffaele Lagana wrote:

Just to confirm, when you say "web interface", do you mean the webex meetings site? Or do you mean that you're using the JS/Browser SDK?

In any case, from the guest user perspective, you should be able to use the iOS SDK to only display the remote view (that being the host on the other side) and not display the localView of the guest user. You could just have the remote view shown once the guest user enters the meeting, and just automatically toggle the guest user's video to off (without giving an option to toggle it on). You may check out how remoteView is handled on our sample demo app here: https://github.com/webex/webex-ios-sdk-example. It doesn't have this use case built-in, but you should be able to take some guidance from it.


Sorry I didn't explain myself properly. We do want to show the guest interface, we just don't want to see other guests. 
Using a single meeting address it seems to be possible for several guests to join. In other words, when 3 or more participants are in a single meeting we want the guests to only be able to see the host but not each other. Is there a way to handle this in the SDK? (In case we can't control this, we at least wanted to only display the host name at all times, but we don't have a way to know who is the host either)

 

Ok understood. It's not something I've ever tried or tested before, but it might be possible to manipulate Multi-stream and aux streams. We have a wiki on how to use those, maybe you can achieve this with that. See the wiki for it here: https://github.com/webex/webex-ios-sdk/wiki/Multi-Stream-in-SDK-3.0-Using-Aux-Streams. There is a paragraph towards the bottom of this wiki, explaining how to hide the view of the stream. That might help.

Sorry for the late reply.

We tried using Multi Stream but it seems we aren't getting the "Call.activeSpeaker" notification event when the speaker changes. We aren't sure if this is because of our implementation or if theres a bug in the SDK.

At this point it might be best to create a support ticket (email devsupport@webex.com) with all the details you can share so that we can check it further. 

Raffaele Lagana
Cisco Employee
Cisco Employee

Only the host of the meeting or a Full Admin user within the same org as the meeting can fetch participant details. The TeamMembership object only shows details on a webex team's memberships, not sure how this can show what you're looking for. Are you using space meetings?