Skip to content Skip to sidebar Skip to footer

How To Get Video From Web Socket Url In Android?

I want to get a video mp4 file from web socket URL in android, The URL look like the following example: 'ws://xxxx.xxxx.xxxx.com/mp4 I have no idea if its possible in exoplayer

Solution 1:

Take a look at okhttp from 3.5.0 they support websockets. Then you can OkHttpDataSource with ExoPlayer.


Post a Comment for "How To Get Video From Web Socket Url In Android?"