> I have a VideoView and I set a VideoURI that is basically
> http://foo.com/videoName?authentication=xyz
> When the url is hit, some authentication is processed, then the url
> gets redirected to rtsp://foo2.com/videoName.3gp for example.
>
> The VideoView seems to not be able to follow the redirect to play the
> video. If I use the rtsp directly I can play the video though.
>
> Anyone ran into something similiar or have a solution?
You could try using HttpClient to do a HEAD request or something to
get the redirected URL, then feed that to VideoView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment