Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.media.playback/player.fidl
Plays media.
Creates a source that reads from a URL.
Creates a source that reads from a file.
Creates a source that reads from a SeekingReader
.
Creates a source that allows the client to provide independent elementary streams to the player. duration_ns, can_pause, can_seek and metadata are all included in the SourceStatus and, when the ElementarySource
is used by the player, in the PlayerStatus
as well. can_pause
and can_seek
, when false, constrain the capabilities of the player.
Sets the source for this player to use. If source is null, the player becomes idle.
Transitions to the specified source when playback of the current source reaches transition_pts. The new source starts playback at start_pts. If a transition is already pending, it will be discarded in favor of the new transition.
Cancels a pending transition, returning the source. If no transition is pending, the request channel is closed.
Sets an HTTP URL to read from. The provided headers are added to each HTTP request issued to the URL.
Sets a file channel to read from.
Starts playback.
Pauses playback.
Provides current status immediately after binding and whenever status changes thereafter.
Seeks to the specified position, specified in nanoseconds.
Creates a video view.
Binds to the gain control for this player.
Adds a new binding to this player.
Defined in fuchsia.media.playback/seeking_reader.fidl
Defined in fuchsia.media.playback/source_manager.fidl
Manages sources on behalf of a Player.
Creates a source that reads from a URL.
Creates a source that reads from a file.
Creates a source that reads from a SeekingReader
.
Creates a source that allows the client to provide independent elementary streams to the player. duration_ns, can_pause, can_seek and metadata are all included in the SourceStatus and, when the ElementarySource
is used by the player, in the PlayerStatus
as well. can_pause
and can_seek
, when false, constrain the capabilities of the player.
Sets the source for this player to use. If source is null, the player becomes idle.
Transitions to the specified source when playback of the current source reaches transition_pts. The new source starts playback at start_pts. If a transition is already pending, it will be discarded in favor of the new transition.
Cancels a pending transition, returning the source. If no transition is pending, the request channel is closed.
Defined in fuchsia.media.playback/source_manager.fidl
A source of content that may be used by a player.
Defined in fuchsia.media.playback/source_manager.fidl
Source
variant for providing elementary streams directly to the player.
Adds an elementary stream. The elementary stream can be removed by closing the SimpleStreamSink
. ticks_per_second_numerator
and ticks_per_second_denominator
indicate the units that will be used for Streampacket
timestamp values. For nanoseconds units, for example, ticks_per_second_numerator
should be 1000000000 and ticks_per_second_denominator
should be 1. To use units of frames for 48k audio, ticks_per_second_numerator
should be 48000 and ticks_per_second_denominator
should be 1.
Adds a new binding to this ElementarySource
. By using this method, the client can obtain an additional channel through which to communicate to this ElementarySource
even after a channel is consumed by a call to SourceManager.SetSource
.
Defined in fuchsia.media.playback/player.fidl
Player status information.
Defined in fuchsia.media.playback/problem.fidl
Models a problem preventing intended operation.
A Problem
is generally surfaced as part of a component's status, probably as an optional field. Absence of a Problem
means that nothing is preventing intended operation. When a problem is exposed, the client can take action automatically or present relevant UI. If a problem can be resolved by some action, the client may take that action automatically or enlist the user somehow in the resolution. In either case, the problem goes away when the issue that caused it to be exposed is resolved. By design, there is no general means of dismissing a problem.
Defined in fuchsia.media.playback/source_manager.fidl
Source status information.