How to optimize media streaming with ExoPlayer

  Рет қаралды 25,959

Android Developers

Android Developers

Күн бұрын

This workshop guides you through using the new Jetpack Media3 APIs to build a simple media app using ExoPlayer for progressive and adaptive streaming playback. Learn about the advantages of using ExoPlayer and the features it offers.
Resources:
Codelab source code → goo.gle/3j6awET
AndroidX Media3 → goo.gle/3J6QEvP
ExoPlayer blog → goo.gle/3j9TnKA
Media streaming with ExoPlayer → goo.gle/3sr6kET
Speaker: Nevin Mital
Watch more:
All Google I/O 2022 Sessions → goo.gle/IO22_A...
Android and Play at Google I/O 2022 playlist → goo.gle/IO22_A...
All Google I/O 2022 workshops → goo.gle/IO22_W...
Subscribe to Android Developers → goo.gle/Androi...
#GoogleIO #Featured #Jetpack #AndroidDevelopers

Пікірлер: 26
@gofudgeyourselves9024
@gofudgeyourselves9024 2 жыл бұрын
I wish they had showed this with Jetpack compose
@MaisUmSomente
@MaisUmSomente Жыл бұрын
Very nice example and explanation, took off some of my doubts out.
@manurodriguez8725
@manurodriguez8725 2 жыл бұрын
16:01 You did not show how to implement the 'watch next overlay feature'
@g8tu83
@g8tu83 2 жыл бұрын
I have a problem with the fullscreen button after changed from PlayerView to StyledPlayerView. In the display area it shows up correctly but in the build it doesn't. It isn't the only icon missing, only the settings icon is there. Do you know what causes this error?
@irsathkareem7513
@irsathkareem7513 2 жыл бұрын
How to use custom controller in exoplayer in jetpack compose especially???????
@need5868
@need5868 Жыл бұрын
good lesson
@aasheeshnain6993
@aasheeshnain6993 Жыл бұрын
in MVVM architecture where should we keep exoplayer - in UI/ViewModel or in Repository layer ? As in all samples I have found it in UI (Fragment/Activity) but when recreating UI we need to recreate Exo also. (*samples were not following MVVM) By Keeping in repository, ExoPlayer can be treated as source of data for UI ( this will bring UI things in Repository level - but may be by releasing properly this can be handled ) Need Suggestions for same :)
@essammosbah7685
@essammosbah7685 Жыл бұрын
Don't over complicate it bro
@kshitijofthejune
@kshitijofthejune Жыл бұрын
Yes I am in college I also get confusion while implementing the MVVM and new features..
@MaisUmSomente
@MaisUmSomente Жыл бұрын
I would inject the constructor and keep its instance in some service and manage the player in the viewmodel, like this.
@karthikaganesan300
@karthikaganesan300 5 ай бұрын
There is a mismatch between the code and the device execution at last of the implementation. That means, events.contains code, not changing the video to audio at position 5 seconds. Instead, it for media next item transmission, for the second player, seeking to 5 seconds.. plz confirm
@ailekzavy
@ailekzavy 5 ай бұрын
Hi. I have "fromUri" in red and its unresolved reference ...can you help me please Thanks for advance
@bey6229
@bey6229 4 ай бұрын
What is your latency in ms ?
@howtocode7593
@howtocode7593 25 күн бұрын
how to make mpd file? for dash url
@vijaypanday7290
@vijaypanday7290 Жыл бұрын
So how do I let the exoplayer play a vid from a link in my Realtime database with the subtitle link to my Realtime database. I can't seem to get the subtitle. The movie plays with the eventlistener, but the sub will not play. The link to the sub is correct in the logcat so it does see the sub, it just doesn't play it
@rakesh12379
@rakesh12379 Жыл бұрын
don't we have the documentations for implementation in java ?
@user-iq7zp2kq2k
@user-iq7zp2kq2k 10 ай бұрын
Hi everyone, how can I add a video preview
@virendraverma5039
@virendraverma5039 Жыл бұрын
How to encrypt and decrypt video and play in exoplayer
@rakeshrajput537
@rakeshrajput537 2 жыл бұрын
how to convert youtube url into the dash url ?
@teknoarticle1785
@teknoarticle1785 2 жыл бұрын
Bunun java ile gösterimi yok mu? ben java ile çalışıyorum.
@akshat860
@akshat860 Ай бұрын
Chatur??
@need5868
@need5868 Жыл бұрын
I want code source for this project
@anudeepananth
@anudeepananth 2 жыл бұрын
You guys are promoting jetpack compose a lot but then use xml for this? Common...
@n-o-i-d
@n-o-i-d 2 жыл бұрын
Large corporation, separate teams, not everyone there is on the same page.
@robchr
@robchr Жыл бұрын
Also Compose has great interoperability with XML. Use that until it's provided as a Composable.
@Alchemist10241
@Alchemist10241 Жыл бұрын
The code is unreadable in smaller screens, next time think of that too.
What's next for AndroidX Media and ExoPlayer
17:36
Android Developers
Рет қаралды 31 М.
Lazy layouts in Compose
24:32
Android Developers
Рет қаралды 92 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 34 МЛН
Building feature-rich media apps with ExoPlayer (Google I/O '18)
39:22
Android Developers
Рет қаралды 53 М.
Performance best practices for Jetpack Compose
21:17
Android Developers
Рет қаралды 84 М.
Fragments: The good (non-deprecated) parts
17:51
Android Developers
Рет қаралды 17 М.
How to Build a Camera App With CameraX - Taking Photos
29:35
Philipp Lackner
Рет қаралды 39 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 788 М.
Media on Android: Components and tricks
28:40
Touchlab
Рет қаралды 7 М.
Playing Video in a RecyclerView with ExoPlayer
48:02
CodingWithMitch
Рет қаралды 66 М.