Skip to content

Conversation

Yasir761
Copy link

@Yasir761 Yasir761 commented Oct 5, 2025

…made some changes in icon padding and text, this PR is related to issue #102 and #115

@Yasir761 Yasir761 requested a review from konsalex as a code owner October 5, 2025 08:18
Copy link

netlify bot commented Oct 5, 2025

Deploy Preview for hoppdocs ready!

Name Link
🔨 Latest commit 281cd04
🔍 Latest deploy log https://app.netlify.com/projects/hoppdocs/deploys/68e527d9b86d460008b8f0a6
😎 Deploy Preview https://deploy-preview-119--hoppdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link

CLAassistant commented Oct 5, 2025

CLA assistant check
All committers have signed the CLA.

@Yasir761
Copy link
Author

Yasir761 commented Oct 6, 2025

@konsalex, can you please review my PR? Thank you.

Copy link
Contributor

@iparaskev iparaskev left a comment

Choose a reason for hiding this comment

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

This is not really the direction we want to take. What we want to achieve here is the following:

  • When the camera window is not open (which means no camera tracks exist) keep the implementation as is.
  • When the camera window is open, disable ListeToRemoteAudio from call-center and enable it in the camera window.

</div>
</div>
<ListenToRemoteAudio />
{/* <ListenToRemoteAudio /> */} diable to solve the issue related to sync audio playback
Copy link
Contributor

Choose a reason for hiding this comment

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

We shouldn't commit commented out lines.

}

function CameraIcon() {
function CameraIcon({ micEnabled }: { micEnabled: boolean }) {
Copy link
Contributor

Choose a reason for hiding this comment

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

No need for this. We don't want to change the way we capture the audio and camera. We only want to change the way the audio is played.

</div>
<ListenToRemoteAudio />
{/* Render remote audio only if camera is NOT enabled */}
{!callTokens?.hasCameraEnabled && <ListenToRemoteAudio />} diable to solve the issue related to sync audio playback
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not 100% correct, hasCameraEnabled is set when the current user is publishing their local camera. We want to disable this when the camera window is open, which could also happen if another participant is publishing their camera. We could update CallState to keep track of the camera window is opened or not.

@Yasir761
Copy link
Author

Yasir761 commented Oct 9, 2025

@konsalex, can you review it?

@iparaskev
Copy link
Contributor

@Yasir761 I don't think all of my comments have been addressed. You are still using hasCameraEnabled for disabling the audio track which is not correct. Also you haven't added the audio tracks to the camera window. Could you update your PR please?

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.

3 participants