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

Add a 'waiting for video' state to media tiles #752

Merged
merged 6 commits into from
Nov 16, 2022
Merged

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Nov 15, 2022

This will show if the call is waiting for media to connect (in practice doesn't actually seem to happen all that often) but also show if the media connection is lost, with the js-sdk change.

Requires matrix-org/matrix-js-sdk#2880
Fixes: #669

This will show if the call is waiting for media to connect (in practice
doesn't actually seem to happen all that often) but also show if the
media connection is lost, with the js-sdk change.

Requires matrix-org/matrix-js-sdk#2880
Fixes: #669
@dbkr dbkr added the T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements label Nov 15, 2022
@dbkr dbkr requested a review from a team as a code owner November 15, 2022 16:15
src/room/InCallView.tsx Show resolved Hide resolved
@@ -231,11 +292,19 @@ export function InCallView({
focused: true,
isLocal: screenshareFeed.isLocal(),
presenter: false,
connectionState: ConnectionState.CONNECTED, // by definition since the screen shares arrived on the same connection
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the connection dropped later?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True - have passed through the connection state of the relevant user (although we don't display it for screenshares anyway).

src/room/InCallView.tsx Show resolved Hide resolved
src/room/InCallView.tsx Show resolved Hide resolved
Copy link
Member

@robintown robintown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/video-grid/VideoTile.tsx Outdated Show resolved Hide resolved
Co-authored-by: Robin <robin@robin.town>
@dbkr dbkr merged commit b92acd4 into main Nov 16, 2022
@dbkr dbkr deleted the dbkr/waiting_for_media branch December 21, 2022 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add waiting state for media tile
3 participants