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
feat: Group Video Call #3450
Conversation
* 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
* add show switch conditions * feat: toggle device buttons * coe style fixes
@@ -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 |
There was a problem hiding this comment.
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]
?
There was a problem hiding this comment.
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()}"> |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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
No description provided.