Saturday, January 25, 2014
android VideoView when online video broadcast network to realize how fast forward back function?
I used getDuration () always get the total time, but with canSeekForward () and canSeekBackward () are true return; using seekTo () does not always fast-forward and rewind, regardless seekTo () how much value, just pause Click on it to continue playing. Also seeking to explain getCurrentPosition (), the value of nothing in terms of the law of how I got ah?
Reply:
Solving ah, take the film on the server yourself on the line, taking network online streaming to die.
Reply:
Should not ah, no one has done? Help me ah.
Reply:
We look to the wing ah.
Reply:
Depends on what you are on-demand or broadcast live, on-demand can fast forward, rewind, fast forward and rewind live not.
getDuration If it returns 0, the general said broadcast.
getCurrentPosition is to return the current playback point in time.
Reply:
Is broadcast, but left in the server side, getDuration returned a few hours is 0, but canSeekBackward () but it is true of. getCurrentPosition is the number right from the beginning of the current broadcast millisecond?
Reply:
Get, the only answer to give to friends.
Reply:
Talk about how to get the thing, all learn together
Reply:
Solving, and ultimately how to get the?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment