feat: add Chromecast playback support

This commit is contained in:
2026-10-13 17:31:37 +02:00
parent 74b4bfe6c1
commit bb777b0ecd
22 changed files with 3299 additions and 115 deletions
+3
View File
@@ -71,6 +71,9 @@ bool player_seek(Player *player, double seconds);
// Pauses playback and selects the adjacent decoded presentation frame.
bool player_step_frame(Player *player, int direction);
bool player_close(Player *player);
// Receiver-confirmed Cast facts replace decoder facts in progress reporting until
// the next open/close. The local decoder must be paused before submitting them.
bool player_report_remote_state(Player *player, const PlayerState *state);
// Synchronous, thread-safe gain; survives open, seek, and close. Zero mutes.
// Rejects null handles and non-finite/out-of-range values without changing gain.
bool player_set_volume(Player *player, float normalized0to1);