XVideoPlayerController.network constructor

XVideoPlayerController.network(
  1. Uri uri
)

Stream from a network URL. The native side hands the URI straight to Media3 (Android, MediaItem.fromUri) / AVURLAsset (Apple) / Media Foundation's media engine (Windows), each of which streams http(s) natively — no extra setup.

Implementation

XVideoPlayerController.network(Uri uri) : _uri = uri.toString();