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

Implement SDL-0237 Add Feature to Disable "Video Streaming Backgrounded String" Feature #1357

Conversation

t-yoshii
Copy link

@t-yoshii t-yoshii commented Jul 23, 2019

Fixes #1304

This PR is ready for review.

Risk

This PR makes minor API changes.

Testing Plan

We tested with our internal devboard

Summary

Add an option for app developer to disable the "Video Streaming Backgrounded String (SDL-0118)" feature.

Changelog

Breaking Changes
  • Add parameter showVideoBackgroundDisplay to SDLStreamingMediaConfiguration class to disable the "video streaming backgrounded string (SDL-0118)" feature. The default value of this parameter is true and "Video Streaming Backgrounded String" will be sent (Current behaviour as of sdl_ios v6.2). If this parameter is set to false, backgroundingPixelBuffer will not be sent.

CLA

@NicoleYarroch NicoleYarroch added this to In progress in v6.4 via automation Jul 23, 2019
@NicoleYarroch NicoleYarroch added this to the 6.4.0 milestone Jul 23, 2019
@NicoleYarroch NicoleYarroch added enhancement proposal Accepted SDL Evolution Proposal labels Jul 23, 2019
@joeljfischer joeljfischer changed the title implement proposal SDL-0237 Implement SDL-0237 Add Feature to Disable "Video Streaming Backgrounded String" Feature Jul 23, 2019
@joeljfischer joeljfischer self-requested a review July 23, 2019 17:15
Copy link
Contributor

@joeljfischer joeljfischer left a comment

Choose a reason for hiding this comment

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

One small change, plus please make sure tests are updated.

SmartDeviceLink/SDLStreamingVideoLifecycleManager.m Outdated Show resolved Hide resolved
v6.4 automation moved this from In progress to Review in progress Jul 23, 2019
@t-yoshii t-yoshii removed their assignment Jul 25, 2019
/**
When YES, the StreamingMediaManager will send a black screen with "Video Backgrounded String". Defaults to YES.
*/
@property (assign, nonatomic) BOOL showVideoBackgroundDisplay;
Copy link
Contributor

Choose a reason for hiding this comment

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

@t-yoshii After more thought and using this, I think this approach won't work. It does not give apps the ability to modify if they show the background display after connection time, which is necessary to support requirements for all OEMs (some OEMs require the display, and others require that it not be there). I think we'll need to have a proposal revision to change this. Let me know if you'd like me to do it or if you'd like to do it yourself.

Copy link
Author

Choose a reason for hiding this comment

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

Oh, you mean that the showVideoBackgroundDisplay is set at the initialization of lifecycle managers, however, HU type is known after RAI (later than initialization of lifecycle managers.)?
That's a good point.

I would like to hear your fix plan.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have submitted a proposal revision smartdevicelink/sdl_evolution#796

Copy link
Author

Choose a reason for hiding this comment

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

@joeljfischer
I read your proposal and agree with the change. Thank you.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hello @t-yoshii, the proposal revision has been accepted! Would you like to make the changes in this PR, or submit a new PR, or I can submit a PR when I have time.

Copy link
Author

Choose a reason for hiding this comment

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

@joeljfischer ,
I updated the PR to reflect the revision. Could you please review?

Thanks

v6.4 automation moved this from Review in progress to Reviewer approved Aug 9, 2019
@joeljfischer joeljfischer changed the base branch from master to develop August 9, 2019 14:18
@joeljfischer joeljfischer merged commit 81e0c29 into smartdevicelink:develop Aug 9, 2019
v6.4 automation moved this from Reviewer approved to Done Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Accepted SDL Evolution Proposal
Projects
No open projects
v6.4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants