No RTSP streaming via Wireles LAN on G1????

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

No RTSP streaming via Wireles LAN on G1????

Postby ParanoidAndroid » Fri Mar 20, 2009 2:49 pm

I have difficulties to stream a video file via RTSP using wireless LAN inside the browser. It works fine over the cellular network (WLAN deactivated). But if WLAN is activated the player the starts loading the clip but eventually displays an alert window stating that video playback is not possible.
I encountered this issue on m.youtube.com and also on another site.

Is it a bug? Maybe it is the T-Mobile branding?
ParanoidAndroid
Freshman
Freshman
 
Posts: 6
Joined: Fri Mar 20, 2009 2:46 pm

Top

Postby ParanoidAndroid » Fri Mar 27, 2009 9:26 am

Can comebody please confirm that rtsp streaming via WLAN is possible? Maybe you have some example code.

This is what I get when streaming via WLAN:

03-25 19:56:41.837: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:0
03-25 19:56:42.040: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:42.237: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:42.447: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:42.649: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:42.854: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:43.059: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:43.257: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:43.464: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:43.664: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:43.867: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:44.067: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:44.269: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:44.470: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:44.671: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:44.874: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:45.070: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:45.277: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:45.478: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:45.680: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:45.884: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:46.084: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:46.289: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:46.489: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:46.688: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:46.900: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:47.101: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:47.305: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:47.508: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:47.710: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:47.915: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:48.119: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:48.307: DEBUG/dalvikvm(290): GC freed 607 objects / 38544
bytes in 82ms
03-25 19:56:48.317: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:48.517: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:48.723: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:48.917: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:49.127: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:49.328: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:49.531: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:49.733: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:49.937: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:50.137: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:50.338: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:50.543: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:50.748: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:50.953: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:51.157: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:51.363: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:51.560: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:51.770: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:51.974: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:52.177: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:52.378: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:52.584: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:52.789: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:52.989: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:53.195: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:53.337: DEBUG/dalvikvm(100): GC freed 1824 objects / 92168
bytes in 108ms
03-25 19:56:53.399: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:53.597: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:53.797: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:54.000: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:54.207: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:54.408: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:54.609: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:54.807: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:55.012: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:55.209: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:55.417: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:55.619: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:55.822: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:56.019: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:56.224: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:56.427: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:56.627: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:56.830: DEBUG/MediaPlayerDemo(1020): onBufferingUpdate
percent:1
03-25 19:56:56.847: ERROR/MediaPlayer(1020): Error (-1,0)
03-25 19:56:56.847: DEBUG/MediaPlayerDemo(1020): onCompletion called
03-25 19:56:56.986: WARN/PlayerDriver(32):
PVMFInfoErrorHandlingComplete
ParanoidAndroid
Freshman
Freshman
 
Posts: 6
Joined: Fri Mar 20, 2009 2:46 pm

Postby g_maurice » Tue Apr 14, 2009 12:05 pm

Hi,

Don't know whether RTSP streaming via WLAN is possible or not. :(
I know there is a problem with the emulator in this area, but you probably already know.

I'm about to begin an application to display video on android phones myself.
I was planning to base my implementation on:

http://davanum.wordpress.com/2007/12/29 ... mote-urls/

I'm interested to know whether you solved your problem, and if yes the solution.
Can I also ask where you based your implementation on, or did you just start coding by using the API?

Maurice
g_maurice
Once Poster
Once Poster
 
Posts: 1
Joined: Sat May 17, 2008 10:44 pm

Postby ParanoidAndroid » Tue Apr 14, 2009 6:33 pm

See http://code.google.com/p/android/issues/detail?id=2302

I hope there will be a fix in 1.5

I think built the player based on some really good examples I found in this forum and on the google developer groups. However, I modified most of it to suite my needs. E.g. I added some state handling since the media palyer does not really know states.
ParanoidAndroid
Freshman
Freshman
 
Posts: 6
Joined: Fri Mar 20, 2009 2:46 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests