Skip to content

gh #67 add amlogic & vdevice player config#68

Merged
hari22yuva merged 1 commit intodevelopfrom
feature/gh67_Add_amlogic_vdevice_player_configs
Dec 2, 2025
Merged

gh #67 add amlogic & vdevice player config#68
hari22yuva merged 1 commit intodevelopfrom
feature/gh67_Add_amlogic_vdevice_player_configs

Conversation

@hari22yuva
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 24, 2025 17:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds player configurations for two new platforms: amlogic_polaris and vdevice. These configurations follow the existing structure in the utPlayerConfig.yml file, defining gstreamer player settings including prerequisites, play/stop commands, and mixer input configurations.

  • Added amlogic_polaris platform configuration with Westeros and GStreamer prerequisites
  • Added vdevice platform configuration with minimal prerequisites
  • Both platforms use gst-play-1.0 as the player command and share similar mixer input configurations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

play_command: gst-play-1.0 # Player command to play the stream
stop_command: "\x03" # CNTRL-C
primary_mixer_input_config: ""
secondary_mixer_input_config: '--audiosink "amlhalasink direct-mode=0"'
Copy link

Copilot AI Nov 24, 2025

Choose a reason for hiding this comment

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

The vdevice configuration uses amlhalasink (Amlogic HAL audio sink) in the secondary mixer input config. This seems incorrect for a virtual device platform, as amlhalasink is specific to Amlogic hardware. Consider using a generic audio sink like alsasink or autoaudiosink, or leaving it empty if no secondary mixer is needed for virtual devices.

Suggested change
secondary_mixer_input_config: '--audiosink "amlhalasink direct-mode=0"'
secondary_mixer_input_config: ""

Copilot uses AI. Check for mistakes.
Comment on lines +69 to +75
- export XDG_RUNTIME_DIR=/run/user/0
- export LD_PRELOAD=libwesteros_gl.so.0.0.0
- export WESTEROS_GL_GRAPHICS_MAX_SIZE=1920x1080
- export WESTEROS_GL_MODE=3840x2160x60
- export WAYLAND_DISPLAY=main0
- rm -rf /run/user/0
- mkdir -p /run/user/0
Copy link

Copilot AI Nov 24, 2025

Choose a reason for hiding this comment

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

The runtime directory /run/user/0 is being removed and recreated (lines 74-75) after it has already been set as XDG_RUNTIME_DIR (line 69). This ordering could cause issues if any process tries to use the directory between line 69 and line 75. Consider moving the export XDG_RUNTIME_DIR=/run/user/0 statement to after the directory is created (after line 75).

Suggested change
- export XDG_RUNTIME_DIR=/run/user/0
- export LD_PRELOAD=libwesteros_gl.so.0.0.0
- export WESTEROS_GL_GRAPHICS_MAX_SIZE=1920x1080
- export WESTEROS_GL_MODE=3840x2160x60
- export WAYLAND_DISPLAY=main0
- rm -rf /run/user/0
- mkdir -p /run/user/0
- export LD_PRELOAD=libwesteros_gl.so.0.0.0
- export WESTEROS_GL_GRAPHICS_MAX_SIZE=1920x1080
- export WESTEROS_GL_MODE=3840x2160x60
- export WAYLAND_DISPLAY=main0
- rm -rf /run/user/0
- mkdir -p /run/user/0
- export XDG_RUNTIME_DIR=/run/user/0

Copilot uses AI. Check for mistakes.
@hari22yuva hari22yuva force-pushed the feature/gh67_Add_amlogic_vdevice_player_configs branch from e77acd9 to 68d8e9a Compare November 27, 2025 11:39
@hari22yuva hari22yuva self-assigned this Nov 27, 2025
@hari22yuva hari22yuva requested a review from Copilot November 27, 2025 15:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hari22yuva hari22yuva force-pushed the feature/gh67_Add_amlogic_vdevice_player_configs branch from 68d8e9a to 43e7d3a Compare November 28, 2025 12:20
@hari22yuva hari22yuva merged commit d165924 into develop Dec 2, 2025
3 checks passed
@hari22yuva hari22yuva deleted the feature/gh67_Add_amlogic_vdevice_player_configs branch December 2, 2025 11:32
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants