Skip to main content Module player Copy item path Source pub use autoplay::AutoplayDecision ;pub use autoplay::AutoplaySettings ;pub use backend::NullBackend ;pub use backend::PlayerBackend ;pub use backend::PlayerError ;pub use events::PlayerEventEmitter ;pub use events::PlayerStatusEvent ;pub use events::TauriEventEmitter ;pub use legacy_player::LegacyPlayer ;pub use media::MediaItem ;pub use media::MediaSource ;pub use media::MediaType ;pub use media::QueueContext ;pub use media::SubtitleTrack ;pub use media_player::MediaPlayer ;pub use media_player::OpenRequest ;pub use media_player::Phase ;pub use queue::QueueManager ;pub use queue::RepeatMode ;pub use seek::determine_video_seek_strategy ;pub use seek::VideoSeekStrategy ;pub use session::MediaSessionManager ;pub use session::MediaSessionType ;pub use sleep_timer::SleepTimerMode ;pub use sleep_timer::SleepTimerState ;pub use state::EndReason ;pub use state::PlayerState ;pub use track_switch::determine_audio_track_switch_strategy ;pub use track_switch::AudioTrackSwitchStrategy ;pub use mpv_backend::MpvBackend ;autoplay backend background_policy What playback should do when the app stops being visible. events Player events for frontend communication via Tauri events. jni_guard Panic containment for the Android JNI boundary. legacy_player A MediaPlayer over the old PlayerBackend trait. lock_order A declared lock hierarchy for [PlayerController], and a tripwire that
enforces it. media media_player The MediaPlayer contract: one API, interchangeable engines. mpv_backend mpv_command The two things every libmpv handle in this process must get right before it
is handed a URL. mpv_player MediaPlayer over libmpv.mpv_render mpv’s render API into a framebuffer we own (UR-080 / DR-231, IR-033). mpv_tracks Subtitle and audio-track selection on mpv, by position , the way the
frontend asks for it. native_video Whether this process renders video natively — one answer, three consumers
(UR-080 / DR-231, DR-235).
Whether this process renders video natively, answered once. queue seek Video seek strategy decision logic. session sleep_timer state stream_end Telling a finished stream apart from a truncated one. track_switch Audio-track switch strategy decision logic. video_surface The native video surface mpv renders into (UR-080 / DR-231). BackgroundAudioResume Where playback stands when a background-audio handoff returns to the
foreground. See PlayerController::background_audio_resume . LockscreenMetadata Metadata for the lockscreen / media notification. PlayerController Central player controller that coordinates playback ReporterSink 🔒 The production sink: hands each operation to the PlaybackReporter. RESUME_BACKOFF_STEP_SECS 🔒 Seconds added per attempt before retrying a stream that failed with an error. PlaybackReportSink Where the player’s playback reports go. completion_report_position 🔒 The position to report when a stream ends naturally. set_lockscreen_position_offset Set the base offset (seconds) added to positions reported to the Android
lockscreen scrubber. Used by the background-audio handoff: the audio stream
starts at the handoff point (StartTimeTicks), so ExoPlayer’s position is
relative and must be shifted back to absolute to match the full duration.
Pass 0.0 to clear on exit. No-op off Android. update_lockscreen_metadata Push now-playing metadata to the Android lockscreen. No-op off Android, so the
session poller can call it unconditionally and stay platform-agnostic.