API演示视频流无法正常工作

时间:2013-05-16 09:44:24

标签: java android video-streaming

Api Demo要求编辑从网络流式传输视频的路径。我编辑了如下所示的路径,在博客上建议修复问题的路径,但它没有工作,并提出错误(1,-1004)。我找不到任何其他答案,任何想法?我正在使用Galaxy S 2.3.3

case STREAM_VIDEO:
   /*
    * TODO: Set path variable to progressive streamable mp4 or
    * 3gpp format URL. Http protocol should be used.
    * Mediaplayer can only play "progressive streamable
    * contents" which basically means: 1. the movie atom has to
    * precede all the media data atoms. 2. The clip has to be
    * reasonably interleaved.
    * 
    */
    path = "http://www.pocketjourney.com/downloads/pj/video/famous.3gp";

0 个答案:

没有答案