zhanghuicuc / SimplePlayer

Android dash player with QoE optimization, based on ExoPlayer
2 stars 2 forks source link

Streaming a video on SimplePlayer #1

Open WaqasRahman opened 5 years ago

WaqasRahman commented 5 years ago

Greetings

Hope you are having a great day. I imported your project on Android studio and ran it on my mobile phone. I am new to programming in android and trying to understand how the exo player works. I tried streaming some video available on the internet on your player but could not play anything. When I press the Play button, the app stops.

When the app open, i cant read some of the text as it is in Chinese, but it probably asks us to enter the address. Should we enter the address of the mpd? Secondly when i enter the address of the mpd from ITEC data set, and press the refresh button, it gives error "One or more sample lists failed to load".

Could you kindly guide me regarding streaming a video on your app.

Regards. Waqas.

zhanghuicuc commented 5 years ago

This project is out of maintainence.

If you want to know how to optimize QoE while streaming dash, you can checkout dev-exo branch in my project. The QoE optimizition algorithm is shown in QAdaptTrackSelection.java.

If you just want to play some dash stream, I recommend you to try the latest Google ExoPlayer (https://github.com/google/ExoPlayer) which is extremely easy to use.

WaqasRahman commented 5 years ago

Thank you for your prompt response. I looked at the dev-exo branch. My understanding is that by default the client plays the video stored at local server when you ran experiments. Is it only for VOD or it can stream live videos too.

Regards Waqas

zhanghuicuc commented 5 years ago

It's able to play live streams.