Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Cast): Don't pause local video until the cast connection is established #6359

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

avelad
Copy link
Member

@avelad avelad commented Mar 25, 2024

CastProxy's getInitState_() pauses the local video as part of a transfer of state to the receiver. Calling getInitState_() (via CastSender's onInitStateRequired_()) should be deferred until we establish a connection. This keeps the local video from pausing during a connection attempt.

Closes #6293

@avelad avelad added type: enhancement New feature or request priority: P3 Useful but not urgent platform: Cast Issues affecting Cast devices labels Mar 25, 2024
@avelad avelad added this to the v5.0 milestone Mar 25, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 80.00%

Copy link
Contributor

@theodab theodab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, why not.

lib/cast/cast_proxy.js Show resolved Hide resolved
@joeyparrish
Copy link
Member

The way this fixed the issue was not at all obvious to me from the diff. This needed an explanation in the PR description to be understood. I'll add one, then approve & merge.

@joeyparrish joeyparrish changed the title feat(Cast): Remove cast button video pause Mar 26, 2024
@joeyparrish joeyparrish changed the title feat(Cast): Don't pause local video until the cast connection is established Mar 26, 2024
@joeyparrish joeyparrish merged commit ac833da into shaka-project:main Mar 26, 2024
23 checks passed
@avelad avelad deleted the cast-pause branch March 27, 2024 06:37
avelad added a commit that referenced this pull request Apr 8, 2024
…lished (#6359)

CastProxy's getInitState_() pauses the local video as part of a transfer
of state to the receiver. Calling getInitState_() (via CastSender's
onInitStateRequired_()) should be deferred until we establish a
connection. This keeps the local video from pausing during a connection
attempt.

Closes #6293
avelad added a commit that referenced this pull request Apr 8, 2024
…lished (#6359)

CastProxy's getInitState_() pauses the local video as part of a transfer
of state to the receiver. Calling getInitState_() (via CastSender's
onInitStateRequired_()) should be deferred until we establish a
connection. This keeps the local video from pausing during a connection
attempt.

Closes #6293
joeyparrish pushed a commit that referenced this pull request May 7, 2024
…lished (#6359)

CastProxy's getInitState_() pauses the local video as part of a transfer
of state to the receiver. Calling getInitState_() (via CastSender's
onInitStateRequired_()) should be deferred until we establish a
connection. This keeps the local video from pausing during a connection
attempt.

Closes #6293
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label May 25, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators May 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform: Cast Issues affecting Cast devices priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: enhancement New feature or request
4 participants