Skip to content

Commit

Permalink
Add PlaybackSpeed into Media.Played (COVESA#499)
Browse files Browse the repository at this point in the history
* Add PlaybackSpeed into Media.Played

- It needs to add Playback Speed into Media.Played branch because it's important feature to change playback speed on some media services as audio book, youtube video

* the restrictions of PlaybackSpeed

the restrictions of PlaybackSpeed

* Additional descriptions for meaning of the values

Add text below for better understanding. 
 comment: 1 means normal speed.
           <1 means slower playback than normal.
           >1 means faster playback than normal.

* Revised with the meeting result

- Aligned work with https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate
  • Loading branch information
wonsuk73 authored and jdacoello committed Feb 15, 2023
1 parent d198cc2 commit 65cf0be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/Cabin/Infotainment.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ Media.Played.URI:
type: sensor
description: User Resource associated with the media

Media.Played.PlaybackRate:
datatype: float
type: actuator
description: Current playback rate of media being played.
comment: The normal playback rate is multiplied by this value to obtain the current rate, so a value of 1.0 indicates normal speed.
Values of lower than 1.0 make the media play slower than normal.
Values of higher than 1.0 make the media play faster than normal.

Media.DeclinedURI:
datatype: string
type: sensor
Expand Down

0 comments on commit 65cf0be

Please sign in to comment.