Skip to content

Commit

Permalink
fix: added WebexMeetingInfo to inmeeting component (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsarika authored Oct 10, 2024
1 parent 0835fb3 commit 5bed35c
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 61 deletions.
3 changes: 2 additions & 1 deletion src/components/WebexInMeeting/WebexInMeeting.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {TABLET, DESKTOP, DESKTOP_LARGE} from '../breakpoints';
import {Modal} from '../generic';
import WebexMeetingGuestAuthentication from '../WebexMeetingGuestAuthentication/WebexMeetingGuestAuthentication';
import WebexMeetingHostAuthentication from '../WebexMeetingHostAuthentication/WebexMeetingHostAuthentication';

import WebexMeetingInfo from '../WebexMeetingInfo/WebexMeetingInfo';
/**
* Webex In-Meeting component displays the remote stream plus
* the local stream at the bottom right corner.
Expand Down Expand Up @@ -85,6 +85,7 @@ export default function WebexInMeeting({
</Modal>
)}
<div style={{maxWidth}} className={sc('media-container')}>
<WebexMeetingInfo className={sc('info')} meetingID={meetingID} />
<WebexRemoteMedia className={sc('remote-media-in-meeting')} layout={layout} meetingID={meetingID} />
<WebexLocalMedia className={sc('local-media-in-meeting')} meetingID={meetingID} mediaType={localMediaType} />
{localShare?.stream && <Banner className={sc('share-banner')}>You&apos;re sharing your screen</Banner>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`Storyshots Meetings/Webex In-Meeting All Media 1`] = `
Array [
<div
className="wxc wxc-in-meeting wxc-in-meeting--remote-sharing"
className="wxc wxc-in-meeting"
style={
Object {
"height": "100%",
Expand All @@ -20,27 +20,38 @@ Array [
}
>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting wxc-remote-media--remote-video-n-share"
className="wxc wxc-meeting-info wxc-in-meeting__info"
>
<div
className="wxc wxc-spinner"
style={
Object {
"height": 38,
"width": 38,
}
}
/>
</div>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting"
>
<Draggable
bounds="parent"
<div
className="wxc wxc-badge wxc-remote-media__connecting-badge"
style={Object {}}
>
<video
autoPlay={true}
className="wxc-remote-media__video wxc-remote-media__remote-video"
muted={true}
playsInline={true}
<div
className="wxc wxc-spinner wxc-remote-media__connecting-spinner"
style={
Object {
"height": 16,
"width": 16,
}
}
/>
</Draggable>
<video
autoPlay={true}
className="wxc-remote-media__video wxc-remote-media__remote-share"
muted={true}
playsInline={true}
/>
<audio
autoPlay={true}
/>
<span>
Connecting
</span>
</div>
</div>
<div
className="wxc wxc-local-media wxc-in-meeting__local-media-in-meeting wxc-local-media--no-media"
Expand Down Expand Up @@ -116,12 +127,39 @@ Array [
}
>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting"
className="wxc wxc-meeting-info wxc-in-meeting__info"
>
<audio
autoPlay={true}
<div
className="wxc wxc-spinner"
style={
Object {
"height": 38,
"width": 38,
}
}
/>
</div>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting"
>
<div
className="wxc wxc-badge wxc-remote-media__connecting-badge"
style={Object {}}
>
<div
className="wxc wxc-spinner wxc-remote-media__connecting-spinner"
style={
Object {
"height": 16,
"width": 16,
}
}
/>
<span>
Connecting
</span>
</div>
</div>
<div
className="wxc wxc-local-media wxc-in-meeting__local-media-in-meeting wxc-local-media--no-media"
>
Expand Down Expand Up @@ -195,6 +233,19 @@ Array [
}
}
>
<div
className="wxc wxc-meeting-info wxc-in-meeting__info"
>
<div
className="wxc wxc-spinner"
style={
Object {
"height": 38,
"width": 38,
}
}
/>
</div>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting"
>
Expand Down Expand Up @@ -289,22 +340,39 @@ Array [
}
}
>
<div
className="wxc wxc-meeting-info wxc-in-meeting__info"
>
<div
className="wxc wxc-spinner"
style={
Object {
"height": 38,
"width": 38,
}
}
/>
</div>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting"
>
<Draggable
bounds="parent"
<div
className="wxc wxc-badge wxc-remote-media__connecting-badge"
style={Object {}}
>
<video
autoPlay={true}
className="wxc-remote-media__video wxc-remote-media__remote-video"
muted={true}
playsInline={true}
<div
className="wxc wxc-spinner wxc-remote-media__connecting-spinner"
style={
Object {
"height": 16,
"width": 16,
}
}
/>
</Draggable>
<audio
autoPlay={true}
/>
<span>
Connecting
</span>
</div>
</div>
<div
className="wxc wxc-local-media wxc-in-meeting__local-media-in-meeting wxc-local-media--no-media"
Expand Down Expand Up @@ -363,7 +431,7 @@ Array [
exports[`Storyshots Meetings/Webex In-Meeting Remote Share 1`] = `
Array [
<div
className="wxc wxc-in-meeting wxc-in-meeting--remote-sharing"
className="wxc wxc-in-meeting"
style={
Object {
"height": "100%",
Expand All @@ -380,27 +448,38 @@ Array [
}
>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting wxc-remote-media--remote-video-n-share"
className="wxc wxc-meeting-info wxc-in-meeting__info"
>
<Draggable
bounds="parent"
<div
className="wxc wxc-spinner"
style={
Object {
"height": 38,
"width": 38,
}
}
/>
</div>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting"
>
<div
className="wxc wxc-badge wxc-remote-media__connecting-badge"
style={Object {}}
>
<video
autoPlay={true}
className="wxc-remote-media__video wxc-remote-media__remote-video"
muted={true}
playsInline={true}
<div
className="wxc wxc-spinner wxc-remote-media__connecting-spinner"
style={
Object {
"height": 16,
"width": 16,
}
}
/>
</Draggable>
<video
autoPlay={true}
className="wxc-remote-media__video wxc-remote-media__remote-share"
muted={true}
playsInline={true}
/>
<audio
autoPlay={true}
/>
<span>
Connecting
</span>
</div>
</div>
<div
className="wxc wxc-local-media wxc-in-meeting__local-media-in-meeting wxc-local-media--no-media"
Expand Down Expand Up @@ -475,19 +554,39 @@ Array [
}
}
>
<div
className="wxc wxc-meeting-info wxc-in-meeting__info"
>
<div
className="wxc wxc-spinner"
style={
Object {
"height": 38,
"width": 38,
}
}
/>
</div>
<div
className="wxc wxc-remote-media wxc-in-meeting__remote-media-in-meeting"
>
<Draggable
bounds="parent"
<div
className="wxc wxc-badge wxc-remote-media__connecting-badge"
style={Object {}}
>
<video
autoPlay={true}
className="wxc-remote-media__video wxc-remote-media__remote-video"
muted={true}
playsInline={true}
<div
className="wxc wxc-spinner wxc-remote-media__connecting-spinner"
style={
Object {
"height": 16,
"width": 16,
}
}
/>
</Draggable>
<span>
Connecting
</span>
</div>
</div>
<div
className="wxc wxc-local-media wxc-in-meeting__local-media-in-meeting wxc-local-media--no-media"
Expand Down

0 comments on commit 5bed35c

Please sign in to comment.