Reputation: 482
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 , and if so then how is it possible in a web socket url (Not Http).
I would be happy to receive any example to this problem
Upvotes: 0
Views: 814
Reputation: 1212
Take a look at okhttp from 3.5.0 they support websockets. Then you can OkHttpDataSource with ExoPlayer.
Upvotes: 2