Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ExoPlayer を使用して再生中に HLS ストリームのビデオの品質を手動で変更する方法はありますか? ユーザーが高品質、低品質、適応品質を切り替えることができるように、設定を微調整できるようにしたいと考えています。
Google Developers による紹介ビデオ () と ExoPlayer 自身のドキュメントによると、DashChunkSource をインスタンス化するときに FormatEvaluator を指定できます。
FormatEvaluator の独自のサブクラスを定義し、ユーザーが (UI を介して) 品質を指定できるようにプロパティを追加することをお勧めします。