Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying connection states #42

Closed
emcho opened this issue Feb 20, 2014 · 6 comments
Closed

Displaying connection states #42

emcho opened this issue Feb 20, 2014 · 6 comments
Assignees
Milestone

Comments

@emcho
Copy link
Member

emcho commented Feb 20, 2014

OK, this is very important. We need to be able to tell users about their join progress. The idea is that when a user is joining a conference now, they are only seeing an avatar for an indefinitely long time and there's no way for them to know if that's because a join is in progress or because it has failed. We need to be able to tell this to users.

@fippo Could you please add an API that sends notifications for join states? Maybe something that would allow progress tracking would be nice. I mean, in addition to the status message, the API can also say that we are at (very roughly) X% of getting there. Like for example: joining the room is 30%, getting an offer is 60%, sending our first candidate is 80%, getting audio is 90% and getting video is 100%. All this is about showing to a user their own state.

Showing to a user (focus?) the states of other participants would be a little bit trickier (but not much). Telling one participant about the state of another one would be trickiest because we'd basically have only joining the room (30%) getting their remote SSRC (70%?) and getting a video stream for a 100%

How does this sound? Keep in mind that this is just a sketch suggestion so please let me know if you have other ideas.

@yanas once @fippo is ready, could you please glue that into the GUI? I think this would help a lot for all the cases where people are still unable to join.

What do you guys think?

@emcho emcho added this to the March milestone Feb 20, 2014
@emcho emcho added the Prio1 label Feb 20, 2014
@fippo
Copy link
Member

fippo commented Feb 21, 2014

There are three usecases here...

First is getting feedback joining the room:
1/ allow camera access
2/ connect to the xmpp server
3/ join the room
There is a break after this since we might be the only person in the room. How about displaying this on the large screen area?

The second one is a continuation of this, telling about your connection to the bridge:
4/ receive a session-initiate (or on the focus, allocate a conference)
5/ send a session-accept
6/ end of ice candidates / icegathering state goes to completed
7/ ice connection state change to connected. You want to announce this (through presence)
8/ you get audio (not sure about the best way to check this... probably involves getting the audio track from the stream and checking the time)
9/ you get video

The last is displaying the status of a remote participant:
1/ the received an offer
2/ they announced their SSRCs
3/ they sent an answer
4/ they sent all ice candidates
5/ their ice connection state is connected
6/ they receive audio (getstats + audiooutputlevel > 0)
7/ they receive video (getstats + ...)

I wonder how effective it would be to just announce and display the ice connection state?

@fippo
Copy link
Member

fippo commented Feb 22, 2014

https://github.com/ESTOS/strophe.jingle/blob/master/examples/muc.js#L315 (and line 382) show how to get iceconnectionstatechanges btw. I think they're also hooked up in app.js somewhere...

@emcho emcho assigned paweldomas and unassigned fippo Feb 22, 2014
@emcho
Copy link
Member Author

emcho commented Feb 22, 2014

@paweldomas , @fippo will be mostly off next week so I am reassigning this to you if you don't mind. We can chat about it during the week.

@bgrozev bgrozev closed this as completed Mar 29, 2018
@raghbendranayak
Copy link

Hi Guys,
I have installed Jitsi meet at my own server and its working fine but My requirement is something below
User A will create an account with us in order to access live streaming classes.
Teaching class
User can chat (text)
User sets up their camera
When class begins: User’s main view is the presenter
User can still chat with group
User can receive help from the Support Instructor (SI)
User can only see the main presenter not all joined users also can hear to main presenter not all users.

Support Instructors need to enter the class management dashboard
SI can chat (text) to users
SI can talk to user through audio – One at a time and only that one user can hear the audio of the SI.

Is this possible in Jitsi meet and where I need to customization because when I install it I got only Jitsi meet code.

I follow this video to install jitsi meet.
https://www.youtube.com/watch?v=8KR0AhDZF2A

Please help me or provide some guidance on same so that I can achieve this.

@damencho
Copy link
Member

@raghbendranayak I have no idea how you choose this ticket to write in to it, but use the community forum for questions and problems. https://community.jitsi.org

@raghbendranayak
Copy link

Thanks for the guidance, let me post there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants