sonyxperiadev / MultimediaForAndroidLibrary

88 stars 33 forks source link

About Streaming playback #11

Open grapevine23 opened 9 years ago

grapevine23 commented 9 years ago

Using the MAL, and are streaming playing large Contents. But, it is not able to play well.

It has come up about 30Mbps in NW speed measurement using Ping. But, in selectRepresentations method of DefaultDASHRepresentationSelector class, and try logging availableBandwidth, it has become to about 2M.

TCP retransmission have wondered what are you frequent, but too slow. I wonder does not restrict the communication speed in the MAL. Or would the performance of the AOSP.

I want you to tell me. Best regards.

grapevine23 commented 9 years ago

I've tried various. Since Contents seemed those Segment at 500ms, in DASHSession.onDownloadNext, if sending a MSG_DOWNLOAD_NEXT every 1ms, it came to Streaming playback goes well.

So I want to hear. By sending a MSG_DOWNLOAD_NEXT every 1ms, wonder no adverse effect on the MAL.

I want to hear another. Segment of DASHContens, also conceivable to be divided into 500ms or less, or would be planned to be modified to be played even less Sement in MAL future.

NakayamaAyako commented 9 years ago

Hi, Sorry for late reply.

Thank you for your comment. your question is that MAL performance is not good in DASH Contents.

We also got similar question and confirmed, then we would like to share. If possible, could you check the following point?

  1. Is your streaming server setting "Range request" on ? if server "Range request" is NOT on, MAL doesn't work efficiency.
  2. How many sidxes does your segment file have ? if "1 sidx" , it works well. However if "not 1 sedx (many sidxes)", it doesn't work (MAL doesn't support many sidxes in one file right now as spec.

Actually, we don't have plan of changing 500ms currently.

grapevine23 commented 9 years ago

Thank you for answer It has correspond to the range Try to one for sidx

With respect to DASH, or would get to tell me if there are other restrictions. In particular I want to share the set value of the mpd. For example, I wonder minBufferTime can accommodate up to many seconds. MAL of Buffer limit is I want you to tell me if any.