Revert "fix(qconnect): suppress local playback automation when connected"
This reverts commit b5ab4cd148.
This commit is contained in:
1 file changed
+2
-6
@@ -196,13 +196,9 @@ export function isQconnectPeerRendererActive(
|
||||
|
||||
export function shouldQconnectSuppressLocalPlaybackAutomation(
|
||||
connected: boolean,
|
||||
_sessionSnapshot: QconnectSessionSnapshot | null | undefined
|
||||
sessionSnapshot: QconnectSessionSnapshot | null | undefined
|
||||
): boolean {
|
||||
// When QConnect is connected, the server is the authority for track
|
||||
// transitions — regardless of whether QBZ is the local renderer or a peer
|
||||
// is rendering. Suppress gapless interception, auto-advance, and
|
||||
// resume-from-stop so the frontend never fights the server.
|
||||
return connected;
|
||||
return connected && isQconnectPeerRendererActive(sessionSnapshot);
|
||||
}
|
||||
|
||||
export function resolveQconnectPlayNextAuthoritativeTrackId(params: {
|
||||
|
||||
Reference in new issue
Block a user