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

Livekit GUI improvement #801

Merged
merged 3 commits into from
Oct 26, 2024
Merged

Livekit GUI improvement #801

merged 3 commits into from
Oct 26, 2024

Conversation

pit2710
Copy link
Collaborator

@pit2710 pit2710 commented Oct 17, 2024

This pull request improves the video chat GUI. The cameras can now be selected in the SettingsMenu. A status panel of the shared video has been added at the bottom left of the screen.

Refactored LivekitVideoManager.cs:

  • Changed NetworkBehaviour to MonoBehaviour
  • Removed RepublishVideo method
  • Updated camera methods:
    • Last selected camera saved in PlayerPrefs
    • Unpublished video if camera changed
    • Camera activates when video is published
    • Camera deactivates when video is unpublished
  • Added StatusPanel for publish status

Modified SEENewWorld:

  • Removed LivekitVideoManager object

Updated SettingsMenu prefab:

  • Centered exit button
  • Added VideochatStatusPanel as first child:
    • Added RawImage for status image (assigned to LivekitVideoManager script)
    • Added Text for status display (assigned to LivekitVideoManager script)
  • Added VideochatPanel as child:
    • Added Dropdown (assigned to LivekitVideoManager script)

@pit2710 pit2710 force-pushed the livekit-gui-improvement branch 2 times, most recently from 546e544 to 54286ae Compare October 17, 2024 15:21
Refactored `LivekitVideoManager.cs`:
- Changed `NetworkBehaviour` to `MonoBehaviour`
- Removed `RepublishVideo` method
- Updated camera methods:
  - Last selected camera saved in `PlayerPrefs`
  - Unpublished video if camera changed
  - Camera activates when video is published
  - Camera deactivates when video is unpublished
- Added `StatusPanel` for publish status

Modified `SEENewWorld`:
- Removed `LivekitVideoManager` object

Updated `SettingsMenu` prefab:
- Centered exit button
- Added `VideochatStatusPanel` as first child:
  - Added `RawImage` for status image (assigned to `LivekitVideoManager` script)
  - Added `Text` for status display (assigned to `LivekitVideoManager` script)
- Added `VideochatPanel` as child:
  - Added `Dropdown` (assigned to `LivekitVideoManager` script)
Copy link
Collaborator

@falko17 falko17 left a comment

Choose a reason for hiding this comment

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

Just one small comment, so I'll approve already. The failing tests are not due to your changes and also happen in master, they are fixed in #800.

Assets/SEE/Tools/Livekit/LivekitVideoManager.cs Outdated Show resolved Hide resolved
pit2710 and others added 2 commits October 24, 2024 17:15
- Removed redundant check for available devices in camera selection
- Added functionality to save selected camera to PlayerPrefs in OpenSelectedCamera method
@falko17 falko17 merged commit 96dc2bc into master Oct 26, 2024
6 of 8 checks passed
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.

2 participants