-
Notifications
You must be signed in to change notification settings - Fork 122
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
[Accepted with Revisions] SDL 0274 - Add preferred FPS to VideoStreamingCapability #913
Comments
Thank you for the proposal. I believe that it is a valid extension to the SDL API allowing head units to avoid excessive stress to the hardware. I have a few comments to the proposal:
|
1. I think he does account for this when he states:
2. This is a significant issue. If the head unit returns 30 fps to an iOS device, this can have wildly different experiences from bad to completely unusable while pegging the CPU to 100% the entire time. I agree with Kujtim's possible solution here. 3. I don't see a huge issue with the maxvalue. In practice, setting this above 144 may never happen, but it's good to not need to modify the parameter in the future. 4. The developer can also set their preferred frame rate. How should this mix with the developer's custom frame rate? |
5. Javascript Suite must be added as an affected platform as it has to add the RPC changes to be in compliance with the RPC spec that introduces these additions. |
Exactly right. sdl_ios has the ability to specify expected frame rate in videoEncoderSettings.
Understood the concern. How about specifying MOBILE_API's description as follows: <description>Preferred frame rate per second specified by head unit. Mobile application should take this value into account for capturing and encoding video frame. While preferredFPS is specified by head unit, mobile application can take account of the case where mobile hardware is constrained</description>
I don't understand what
Understood. I probably have to add Javascript Suite as the affected platform and add something to the detailed design section. |
4. It's a custom value specified in the app and sent to the library via |
Thanks for the update. So far I have no good idea, but I will investigate if developer can mix this value with preferredFPS value. |
First I want to apologize that I missed the statement to the display link. I'm afraid I missed this piece reviewing the proposal. Regarding 4. Not sure if this is too easy approach but I believe that the smallest preferred framerate should be used. The requirement overall sounds that everyone wants the framerate not higher than specified. Example: If the developers specifies 30 as the framerate but the head unit returns 24 fps then 24 should be used. Still the ultimate decision comes to the phone hardware performance. Let's say if the phone isn't able to perform more then 15 frames then there's nothing we can do about it than accept the fact. |
I think this makes sense. Thanks for the suggestion, @kshala-ford. |
The Steering Committee voted to keep this proposal in review, to allow the author time to investigate the suggested changes and respond to the comments on the review issue. |
I'm okay with that. |
Regarding JavaScript Suite, as I look into VideoStreamingParameter.js, the constructor takes the |
|
@kshala-ford, thanks for the comments, but let me confirm: If JavaScript suite won't support video streaming even in the future, I don't think we have to take account of video streaming parameters in that platform. |
@shiniwat we can’t say definitively what features will or won’t be on a given platform in the future, but we can definitively say that all platforms must have access to all RPCs. That is a requirement of the SDL project. |
Will need to be changed to:
That's the only thing that is being requested. The Javascript library must contain all RPCs and any updates to them regardless of if it uses them or not and since the proposal is making an RPC change, the JavaScript library is affected. |
Understood. @joeygrover, thanks for clarification. |
Thanks all for the comments/suggestions. So far, here's what I need to do:
|
The Steering Committee voted to accept this proposal with revisions. The revisions will include the items listed in this comment from the author. |
@shiniwat Please advise when a new PR has been entered to update the proposal to reflect the agreed upon revisions. I'll then merge the PR so the proposal is up to date, and enter issues in the respective repositories for implementation. Thanks! |
Author has updated proposal to reflect agreed upon revisions, and implementation issues have been entered: |
HMI Issues: |
Hello SDL community,
The review of "SDL 0274 - Add preferred FPS to VideoStreamingCapability" begins now and runs through January 21, 2020. The proposal is available here:
https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0274-add-preferred-FPS.md
Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:
#913
What goes into a review?
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of SDL. When writing your review, here are some questions you might want to answer in your review:
Please state explicitly whether you believe that the proposal should be accepted into SDL.
More information about the SDL evolution process is available at
https://github.com/smartdevicelink/sdl_evolution/blob/master/process.md
Thank you,
Theresa Lech
Program Manager - Livio
theresa@livio.io
The text was updated successfully, but these errors were encountered: