-
Notifications
You must be signed in to change notification settings - Fork 121
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 0109 - SetAudioStreamingIndicator RPC #334
Comments
If the purpose of this proposal is to ensure that the play / pause button is being displayed properly, then this new rpc is redundant since the HMI can use the setMediaClockTimer RPC to properly display the correct status of play or pause. If it is desired to have more options for the possible state of playback (stopped, buffering, etc), then I would suggest adding the new enum to the onHMIStatus notification instead of creating a whole new RPC. Also onHMIStatus already has a parameter related to audio streaming (audioStreamingState) so defining playback level within this RPC would make sense and would avoid the need to define a new RPC. |
The |
I would like to see a few changes to this proposal based on Alternatives 2 and @JackLivio comments. First, I believe that the proposed solution may be missing a "buffering" element? Second, I don't believe this proposal really gives anything new with the audio indicator only being play/pause, play, pause, and stop. As @JackLivio noted, all of these can be done by the head unit observing the media clock timer's Instead, I think alternative 2, but adding an |
Just to be clear. In order to be able to indicate the action of the play/pause button
But we can use the RPC and add the Buffering is not an indicator but a playback status. This information should be provided by the playback status enum instead. An option would be to add this parameter as well but it‘s not important to actually solve the problem of not knowing the action of the play/pause button for a user. |
The Steering Committee voted to defer this proposal, keeping it in review until our next meeting on 2017-11-21, to allow the author more time to respond to the questions in the comments, and give members additional time to review. |
I would suggest using the first alternative that has the app send |
@joeygrover I think the issue with that is that the app may not want a pause button, but instead, a stop button to be displayed while @kshala-ford I think |
@joeygrover: @joeljfischer is right with Pause and Stop while We'll have the same problem with Pause and Stop when adding Buffering to the list. Again: It's a playback status; not an indicator. All three indicators (Play, Pause, Stop) would apply while buffering. Best practice on a button press while buffering should be to pause or stop the playback but some media players actually start to play whatever was buffered until that moment. |
@kshala-ford Okay, then my only requested change is to put the indicator struct you have defined into |
<function name="SetMediaClockTimer" messagetype="request">
<param name="audioStreamingIndicator" type="AudioStreamingIndicator" mandatory="false" />
:
</function> ? I'm OK with that . |
Yep, that's what I'm thinking. |
The Steering Committee voted to accept this proposal with the revisions outlined in the last comment from kshala-ford: <function name="SetMediaClockTimer" messagetype="request">
<param name="audioStreamingIndicator" type="AudioStreamingIndicator" mandatory="false" />
:
</function> The Steering Committee also discussed the scenario when a head unit doesn't receive an update from the app, and it was determined that the head unit would fall back to old behavior in this case. |
@kshala-ford 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! |
@kshala-ford checking in on this. Can you please advise once PR with revisions has been entered? Thanks! |
Hello SDL community,
The review of "SetAudioStreamingIndicator RPC" begins now and runs through November 14, 2017. The proposal is available here:
https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0109-set-audio-streaming-indicator.md
Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:
#334
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
[email protected]
The text was updated successfully, but these errors were encountered: