Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

VideoLocalView does not resume after re-enabling video #33

Open
nemesisridiculii opened this issue Aug 14, 2023 · 2 comments
Open

VideoLocalView does not resume after re-enabling video #33

nemesisridiculii opened this issue Aug 14, 2023 · 2 comments

Comments

@nemesisridiculii
Copy link

I'm trying to show the local user's status (camera preview, mute status, etc.) using , but I'm running into the following issues:

  1. If I disable video (using LocalToggleVideoButton) and then re-enable it, I get a blank display. I don't see my video anymore and I don't see my initials either.
  2. I never see any audio activity. I see a mute indicator, but clicking this does nothing.
@dubeyShivank
Copy link
Contributor

Hey there!
Sorry about the experience with VideoLocalView. We haven't encountered this issue ourselves - you can see a sample implementation here but I'm keen to understand this better.

Could I ask you for your browser version and OS please?

As a workaround until we find out the actual root cause, you can use LocalVideo.

@nemesisridiculii
Copy link
Author

I'm running FIrefox 116.0.2 (64-bit) on Ubuntu Linux 23.04. I thought this also happened to me in Chromium, but I was not able to reproduce that just now, so maybe I'm mistaken. (Chromium version 115.0.5790.170 (Official Build) snap (64-bit) ).

As a quick and dirty test, I added the VideoLocalView to the comms videocall demo app and got the same result. Here is the patch that reproduces it:

diff --git a/src/routes/Conference/Conference.tsx b/src/routes/Conference/Conference.tsx
index bd728ea..9efa08f 100644
--- a/src/routes/Conference/Conference.tsx
+++ b/src/routes/Conference/Conference.tsx
@@ -35,6 +35,7 @@ import {
   Modal,
   useCommsContext,
   isEdgeOrChromeBrowser,
+	VideoLocalView,
 } from '@dolbyio/comms-uikit-react';
 import useConferenceCreate from '@hooks/useConferenceCreate';
 import { usePageRefresh } from '@hooks/usePageRefresh';
@@ -337,6 +338,7 @@ export const Conference = () => {
                         : undefined
                     }
                   />
+									<VideoLocalView/>
                   {isOneParticipant && <OneParticipant />}
                 </Space>
               </Space>

LocalVideo works for me, so I'll use that. Thanks.

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

No branches or pull requests

2 participants