Skip to content

Fix remote-playback-id prose and optional state.source when remoting - #389

Open
baylesj wants to merge 1 commit into
w3c:mainfrom
baylesj:baylesj/issue-385-remoting-id-and-source
Open

baylesj wants to merge 1 commit into
w3c:mainfrom
baylesj:baylesj/issue-385-remoting-id-and-source

Conversation

@baylesj

@baylesj baylesj commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Addresses #385.

application.bs recommends a 128-bit version 4 UUID for remote-playback-id even though application_messages.cddl defines remote-playback-id = uint (64-bit CBOR unsigned integer), and still marks state.source unconditionally required in remote-playback-start-response after #265 made sources optional when starting media remoting.

This PR updates remote-playback-id to follow the same state-token scoping rules as streaming-session-id (and drops the unused UUID anchor entry), and requires state.source in the initial remote-playback-start-response only when sources is non-empty.

application.bs recommends a 128-bit UUIDv4 for remote-playback-id even
though application_messages.cddl defines remote-playback-id as a 64-bit
CBOR uint, and still marks state.source unconditionally required in
remote-playback-start-response after w3c#265 made sources optional for
media remoting. Scope remote-playback-id to state-token like
streaming-session-id and require state.source only when sources is
non-empty.

Fixes w3c#385
@baylesj
baylesj requested a review from markafoltz November 24, 2026 00:38
@baylesj
baylesj marked this pull request as ready for review November 24, 2026 00:38

This branch has not been deployed

No deployments
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.

1 participant