Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Bagian ini membahas API inti untuk menangani data audio dan video, termasuk
kasus penggunaan seperti pemutaran, pengeditan, dan perekaman. Anda juga akan menemukan
rekomendasi tentang arsitektur aplikasi dan deskripsi perilaku platform di sini.
Jetpack Media3
Pada umumnya, Media3 adalah solusi yang kami rekomendasikan untuk membuat pengalaman
audio dan video. Mulai di sini jika Anda baru dalam mengembangkan fitur media.
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]