mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
top video when tabbed out...
This commit is contained in:
@@ -328,6 +328,13 @@ export default function MiniSummaryContent() {
|
||||
snapshotFeed={null}
|
||||
audioSessionInfo={isActive ? activeAudio : null}
|
||||
forceMute={!isActive}
|
||||
/*
|
||||
/mini intentionally keeps every carousel stream warm so
|
||||
rotation never waits for WHEP negotiation. Opting out
|
||||
preserves that behavior despite the shared player's
|
||||
normal offscreen-video bandwidth gate.
|
||||
*/
|
||||
pauseVideoWhenHidden={false}
|
||||
label={rover.name || rover.id}
|
||||
sensors={frames[rover.id]?.sensors || null}
|
||||
/>
|
||||
@@ -338,6 +345,8 @@ export default function MiniSummaryContent() {
|
||||
snapshotFeed={snapshotFeeds[rover.id] || null}
|
||||
audioSessionInfo={isActive ? activeAudio : null}
|
||||
forceMute={!isActive}
|
||||
/* Keep /mini snapshot rotation behavior identical to its live-video path. */
|
||||
pauseVideoWhenHidden={false}
|
||||
label={rover.name || rover.id}
|
||||
sensors={frames[rover.id]?.sensors || null}
|
||||
/>
|
||||
|
||||
@@ -100,6 +100,8 @@ export default function InfoColumn({
|
||||
videoMode={videoMode}
|
||||
snapshotFeed={snapshotFeed}
|
||||
audioSessionInfo={null}
|
||||
/* All /mini previews retain their existing always-mounted media behavior. */
|
||||
pauseVideoWhenHidden={false}
|
||||
label={rover.name || rover.id}
|
||||
sensors={frame?.sensors || null}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user