3
votes

I am making a live tv streaming application for android just like dopool or IMDB or LIVE TV.I have some questions i want to ask?

Q 1: Is live tv streaming possible in android 2.1?

Q 2: Can i use default android web browser to streaming live tv By just passing the URL? If yes then i don't want to show the url in browser just want the full screen playing. and can i add option like add to favourite while playing live tv.

Q 3: Should i write the code for video player for streaming live tv? instead of using browser

Q 4: My friend made a application for window which use the crome brwoser to stream live tv in .net and he hide the address tab from brwoser so that only video will be show. so i am confused?

Q 5: Can i play flash video streaming? if yes any link or example would be great.

Q 6: I don't know how to go for this, they just give me links for tv channels and said stream it I don't know how?

Any help would be highly appreciated.

1
I suggest that you split this question into several smaller, concrete questions.Daniel Mošmondor

1 Answers

5
votes

A1: Yes, rtsp/rtp streaming is suported under 2.1 (I recall it's been there since 1.6). To see some rtsp streams (not live though, but they could be) go to http://m.youtube.com

A2: If streams is rtsp, then browser will open it in the external video player. Flash (rtmp) streams play in flash in browser (if flash is available). HTTPS progressive streams (apple) are only supported under 3.0+.

A3: No need. There is already a video player in android: MediaPlayer

A4: Yes, desktop browsers alloy opening NEW windows via javascript that have no address bar: Open new popup window without address bars in firefox & IE. There are tricks to do this in Android: Removing address bar from browser (to view on Android)

A5: Yes, if flash is installed on a particular device. But you can not rely on this as Flash is a separate product available via Market (although often comes bundled with device).

A6: What kind of links did you get? If links are rtsp:// then you can easily use MediaPlayer. Try something like this:

MediaPlayer m = new MediaPlayer(); 
m.setDataSource("rtsp://host.name.com/stream/name"); 
m.prepare(); 
m.start();