Skip to content

Flatten video/audio in StartScreencast command options#1124

Open
nvborisenko wants to merge 1 commit into
w3c:mainfrom
nvborisenko:screencast-options-flatten
Open

Flatten video/audio in StartScreencast command options#1124
nvborisenko wants to merge 1 commit into
w3c:mainfrom
nvborisenko:screencast-options-flatten

Conversation

@nvborisenko
Copy link
Copy Markdown

@nvborisenko nvborisenko commented May 22, 2026

This pull request refactors how screencast stream options are handled in the index.bs specification. The main change is the removal of the streamOptions object in favor of passing video and audio parameters directly at the top level of the command parameters. This simplifies the parameter structure and the logic for handling screencast options.

Screencast parameter structure simplification:

  • Removed the nested streamOptions object from StartScreencastParameters, and now video and audio options are provided directly as top-level parameters.
  • Updated the screencast stream construction steps to reference video and audio directly from command parameters, simplifying the logic for handling width, height, frameRate, and audio options.

Preview | Diff

@nvborisenko
Copy link
Copy Markdown
Author

audio here might be complex object instead of simple bool (codec, bitrate, etc). But this is different story.

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