Hi,

I am trying to do something similar, could you elaborate on how you got 
your code to work using the HEAD request method. Thanks!



On Tuesday, August 3, 2010 2:49:14 PM UTC-7, Sam wrote:
>
> Thanks for the advice. It worked perfectly! 
>
> On Aug 3, 4:21 pm, Mark Murphy <[email protected]> wrote: 
> > On Tue, Aug 3, 2010 at 3:58 PM, Sam <[email protected]> wrote: 
> > > 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/commonsguyhttp://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to