native_cast_player 0.1.0 copy "native_cast_player: ^0.1.0" to clipboard
native_cast_player: ^0.1.0 copied to clipboard

PlatformiOS

Native video player with YouTube-style AirPlay casting on iOS: AVPlayer external playback, paused-frame keep-alive for third-party TVs. Chromecast planned.

Changelog #

0.1.0 #

Initial release.

  • iOS video playback with a 100% native pipeline: AVPlayer + AVPlayerItem + AVPlayerLayer rendered through a platform view (CastVideoView), driven from Dart over platform channels (CastPlayerController).
  • YouTube-style AirPlay via external playback: URL hand-off to the receiver, AVRoutePickerView cast button (CastButton), "Playing on TV" state exposed as CastPlayerValue.isExternalPlaybackActive + route name.
  • Paused frame stays on the TV: pause never touches the audio session, the player item, or the player layer.
  • Silent native keep-alive defeats the ~30s paused-session idle timeout of third-party AirPlay receivers (Samsung and friends) — the failure mode reported in plug-and-pay/flutter-native-video-player#54.
  • Frame-accurate seeking, playback speed control that survives pause/resume, buffering/position/duration/error event stream, audio interruption and route-loss handling, background playback during casting.
0
likes
150
points
6
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Native video player with YouTube-style AirPlay casting on iOS: AVPlayer external playback, paused-frame keep-alive for third-party TVs. Chromecast planned.

Repository (GitHub)
View/report issues

Topics

#video #player #airplay #cast #ios

License

MIT (license)

Dependencies

flutter

More

Packages that depend on native_cast_player

Packages that implement native_cast_player