Issue with playing audio or video from Remote URL (RTSP/HTTP)

by Mark Murphy » Thu, 05 Nov 2009 00:31:56 GMT

Sponsored Links

At least for HTTP streaming of MP4 content, you need to have your 'moov'
atom before your 'mdat' atom. This may happen automatically when you
create your MP4 files, or you may need to lightly twiddle them (e.g.,
MP4Box -hint on Linux).

vidtry handles HTTP streaming: 

I wrote that in part as a proof of concept for an app I wrote for a
consulting customer. They have a large library of MP4 files which they
needed to touch up for the issue listed above, and playback basically
did not work in the emulator, but it works fine on devices. The vidtry
sample does more than just play back video, and it uses MediaPlayer
rather than VideoView, but hopefully it will help.

You may be interested in viewing the following presentation from the
2009 Google I/O conference: 

Mark Murphy (a Commons Guy)  | 

Android Development Wiki: 


Other Threads

1. Ngeflame ah

Jadi panas gak boss HH nya

#cari yg ice mencair

-- Jus\j_r00tMB300 Preclair 2.1 v1.3\
Sent from my Android phone with K-9 Mail. Please excuse my brevity.


2. WTHELP : incredible restart trus..

Entah knapa sjak pagi incredible ga bsa booting. So saya mau coba untuk
reflash romnya... pas mo masuk ke recovery, ehh restart lg.. saya coba pilih
factory reset.. sama jg dya restart.. mohon pencerahan suhu2 skalian.. many
thanks in advance..


3. Layout templates repository

4. Notification ringtone keeps on repeating.

5. Gamine 0.3 (3D game engine)

6. [WTShare] SantaDroid

7. nexian jurney