1

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";
4

0 回答 0