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

feat: Group Video Call #3450

Merged
merged 38 commits into from May 25, 2018
Merged

feat: Group Video Call #3450

merged 38 commits into from May 25, 2018

Conversation

AndyLnd
Copy link
Contributor

@AndyLnd AndyLnd commented May 25, 2018

No description provided.

Gregor Herdmann and others added 30 commits May 9, 2018 11:27
* Add black background

* Move the black background to the video calling wrapper
* new video screen buttons

* buttons done

* fix indentation

* removed empty class
* Prepare video grid preview

* Handle local video in the grid

* Restore video thumbnail

* Rescale videos when the grid is being rendered

* added maximize overlay, removed maximize from title bar

* Force initial computation of the grid

* add preview of self in call ui

* this is fine

* Add tests on the thumbnail dispatching

* Add uie names and values to grid elements

* Add a comment on minimize state handling
* feat: clear inactive streams when participant connection is closed

* use the getReceivers method to know which streams to remove

* Refactor retrieving media stream tracks to remove
@@ -257,30 +254,40 @@ z.calling.entities.CallEntity = class CallEntity {

/**
* Join the call.
* @returns {undefined} No return value
* @param {z.media.MediaType} [mediaType=z.media.MediaType.AUDIO] - Media type of the call
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the reason for [mediaType=z.media.MediaType.AUDIO]?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh yeah, the default value has moved to the method _joinGroupCall.
https://github.com/wireapp/wire-webapp/pull/3450/files#diff-4816db425e94bac1930aae4a710ce13bR283

You're right, we should restore the default value for this function also :)

data-bind="click: clickedOnShareScreen, css: {'toggled': selfStreamState.screenSend(), 'button-round-dark': !showRemoteParticipant(), 'disabled': disableToggleScreen()}"
data-uie-name="do-call-controls-toggle-screen"></div>
<!-- /ko -->
<div id="video-controls" class="video-controls" data-bind="css: {'hide-controls-hidden': !showRemoteParticipant()}">
Copy link
Contributor

Choose a reason for hiding this comment

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

Note for later: Not sure this condition is still relevant {'hide-controls-hidden': !showRemoteParticipant()}.

@@ -1031,6 +926,12 @@ z.calling.CallingRepository = class CallingRepository {
amplify.publish(z.event.WebApp.WARNING.SHOW, z.viewModel.WarningsViewModel.TYPE.UNSUPPORTED_OUTGOING_CALL);
throw new z.calling.CallError(z.calling.CallError.TYPE.NOT_SUPPORTED);
}

const isVideoCall = mediaType === z.media.MediaType.AUDIO_VIDEO;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should check all the possible type that can be considered a video.

  • AUDIO_VIDEO
  • VIDEO
  • SCREEN

@atomrc atomrc merged commit 8efc794 into dev May 25, 2018
@gregor gregor deleted the edge branch May 30, 2018 15:01
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

Successfully merging this pull request may close these issues.

None yet

3 participants