Problem
Stream indexes are hardcoded to 0 throughout the integration, preventing the use of multiview and picture-in-picture features. SDVoE devices support multiple stream indexes (0, 1, 2, etc.) for different purposes, but the integration currently only uses index 0.
Current State
Hardcoded Locations:
const.py
DEFAULT_STREAM_INDEX = 0 # Hardcoded default
select.py - Video source select entity
# All join/leave calls use index 0
await self.coordinator.api.async_join_subscription(
transmitter_id=source_device_id,
receiver_id=self._device_id,
stream_type="HDMI",
tx_index=0, # HARDCODED
rx_index=0, # HARDCODED
)
sensor.py - Source sensors search only for index 0
for subscription in subscriptions:
if (subscription.get("stream_type") == "HDMI" and
subscription.get("stream_index") == 0): # HARDCODED
Impact
Feature Blocking:
Proposed Solution
Make stream index configurable throughout the integration. Default to 0 for backward compatibility.
Priority
🟡 Medium
References
Problem
Stream indexes are hardcoded to 0 throughout the integration, preventing the use of multiview and picture-in-picture features. SDVoE devices support multiple stream indexes (0, 1, 2, etc.) for different purposes, but the integration currently only uses index 0.
Current State
Hardcoded Locations:
const.pyselect.py- Video source select entitysensor.py- Source sensors search only for index 0Impact
Feature Blocking:
Proposed Solution
Make stream index configurable throughout the integration. Default to 0 for backward compatibility.
Priority
🟡 Medium
References