音声と動画の概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このセクションでは、音声データと動画データを処理する主要な API と、再生、編集、録音などのユースケースについて説明します。また、アプリ アーキテクチャに関する推奨事項や、プラットフォームの動作の説明も記載されています。
ほとんどの場合、音声と動画のエクスペリエンスを構築するには Media3 をおすすめします。メディア機能の開発を初めて行う場合は、ここから始めてください。
Jetpack Media3 について
再生ユースケースの実装に使用する Jetpack Media3 ライブラリと主要な API について説明します。
Media3 MediaSession に移動
Media3 に含まれる、機能が豊富で拡張可能なメディア プレーヤー API である ExoPlayer
について詳しく説明します。
Media3 ExoPlayer に移動
Media3 の Transformer
モジュールについて学びます。これは、メディア編集のユースケース向けの強力で高性能な API のセットです。
Media3 Transformer に移動
アプリで動画と再生コントロールを表示するためのデフォルトの UI コンポーネントについて学びます。
Media3 UI に移動
デバイス間で再生を転送して共有体験を実現する方法について説明します。
Jetpack MediaRouter に移動
形式のサポートや音量調節 API など、Android プラットフォーム自体に付属するメディア API と動作について学びます。
[プラットフォームの API と動作] に移動
MediaCompat API は更新されなくなりましたが、このセクションのガイドは残されています。
以前のメディア API に移動
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# Audio and video overview\n\nThis section covers the core APIs for handling audio and video data, including\nuse-cases like playback, editing, and recording. You'll also find\nrecommendations on app architecture and descriptions of platform behaviors here.\n| **Tip:** Check out the [Media Developer Center](/media) for best practices and guidance on creating a best-in-class multidevice app.\n\nJetpack Media3\n--------------\n\nIn most cases, Media3 is our recommended solution for building audio and video\nexperiences. Start here if you're new to developing media features.\n\n[Go to About Jetpack Media3](/guide/topics/media/media3)\n\n### Media3 MediaSession\n\nMeet the Jetpack Media3 library and key APIs for implementing playback\nuse-cases.\n\n[Go to Media3 MediaSession](/guide/topics/media/session/mediasession)\n\n### Media3 ExoPlayer\n\nDive deep into `ExoPlayer`, a feature rich and extensible media player API\nincluded in Media3.\n\n[Go to Media3 ExoPlayer](/guide/topics/media/exoplayer)\n\n### Media3 Transformer\n\nExplore the `Transformer` module from Media3, a set of powerful and performant\nAPIs for media editing use-cases.\n\n[Go to Media3 Transformer](/guide/topics/media/transformer)\n\n### Media3 UI\n\nLearn about the default UI components to display video and playback controls in\nyour app.\n\n[Go to Media3 UI](/guide/topics/media/ui/overview)\n\nJetpack MediaRouter\n-------------------\n\nLearn about routing playback between devices to create a shared experience.\n\n[Go to Jetpack MediaRouter](/guide/topics/media/routing)\n\nPlatform APIs and behaviors\n---------------------------\n\nRead about media APIs and behaviors that come with the Android platform itself,\nsuch as format support and volume control APIs.\n\n[Go to Platform APIs and behaviors](/guide/topics/media/platform)\n\nLegacy media APIs\n-----------------\n\nThe MediaCompat APIs are no longer updated, but the guides are preserved in this\nsection.\n\n[Go to Legacy media APIs](/guide/topics/media/legacy)"]]