# Flutter Support

ข้อมูลเวอร์ชันของ Flutter, Dart และแพลตฟอร์มที่ ByteArk Player SDK for Flutter รองรับ

# เวอร์ชันที่รองรับ

รายการ เวอร์ชัน
Flutter 3.22.0 ขึ้นไป
Dart SDK 3.5.0 ขึ้นไป

# แพลตฟอร์มที่รองรับ

ByteArk Player SDK for Flutter ครอบ Native SDK ของ iOS และ Android โดยใช้ Method/Event channel ดังนั้นรองรับเฉพาะแพลตฟอร์มที่ Native SDK รองรับ

แพลตฟอร์ม สถานะ
iOS iOS 14.0 ขึ้นไป (iPhone และ iPad)
Android Android 5.0 (API level 21) ขึ้นไป — สมาร์ตโฟนและแท็บเล็ต
Flutter Web ไม่รองรับ
Flutter Desktop (macOS / Windows / Linux) ไม่รองรับ

# Playback engine

แพลตฟอร์ม Playback engine
iOS AVPlayer (AVFoundation)
Android ExoPlayer 2.18.1

# Streaming format ที่รองรับ

Format iOS Android
HLS (HTTP Live Streaming) รองรับ รองรับ
MPEG-DASH ไม่รองรับ รองรับ
Progressive (MP4) รองรับ รองรับ

# DRM ที่รองรับ

DRM iOS Android
Apple FairPlay รองรับ (ดู Apple FairPlay) ไม่รองรับ
Google Widevine ไม่รองรับ รองรับ (ดู Google Widevine)
HLS ClearKey รองรับโดยค่าเริ่มต้น (ดู HLS ClearKey) รองรับโดยค่าเริ่มต้น

Note

Flutter SDK จะส่ง DRM configuration ผ่าน ByteArkPlayerItem.drm ไปยัง Native SDK ที่เหมาะกับแพลตฟอร์มที่กำลังรันอยู่ คุณสามารถระบุทั้ง Widevine และ FairPlay ใน ByteArkDrm ได้พร้อมกัน Player จะเลือกใช้ระบบที่ถูกต้องตามแพลตฟอร์ม