File Replay
Local file replay stream control interface.
Provides control over some local file stream, allowing to control playback.
Every client that requests a reference on a local file replay stream is given its own dedicated instance of that stream. Multiple, independent stream may thus be open from the same file.
The stream is stopped and released as soon as the reference that provides it is closed. All open sinks are closed as a consequence.
Types
Source
Link copied to clipboard
Identifies a source for media replay.
Functions
default Video Track Of
Link copied to clipboard
Creates a source for streaming the default video track from a local file.
open Sink
Link copied to clipboard
Opens a sink from this stream.
play State
Link copied to clipboard
Informs about current playback state.
source
Link copied to clipboard
Informs about the configured source for this file replay stream.
state
Link copied to clipboard
Informs about current stream state.
video Track Of
Link copied to clipboard
open fun videoTrackOf(@NonNull file: File, @NonNull trackName: String): FileReplay.Source
Content copied to clipboard
Creates a source for streaming a specific video track from a local file.
Properties
TRACK_THERMAL_UNBLENDED
Link copied to clipboard