Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6066557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:30:49+00:00 2026-05-23T09:30:49+00:00

I want to play video content from HttpResponse object. The content is downloading from

  • 0

I want to play video content from HttpResponse object. The content is downloading from a streaming sever.

My requirement is to create a HTTP POST request to the server. Request contains the URL of video, username and password of the user for authentication purpose.

I wish to know how can we create a HTTP POST request and play/download the video.

Kindly provide some hints, steps/code to proceed.

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:30:49+00:00Added an answer on May 23, 2026 at 9:30 am

    I am not 100% sure, but I think that you can’t stream most of the video due to the way the format stores the meta data of the video. That’s why you tube has to convert your video files instead of just showing them in any format.
    There are protocols that encapsulate this metadata and allows you to stream any video (that’s what youtube mobile does). You should take a look at RTSP: http://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol

    If you use an rtsp link in a videoView it should stream the video flawlessly. The point is that your problem is server and not client related.

    As an exercise you could grab an rtsp link from m.youtube.com and just pass to a videoView using setVideoPath and it should work.

    If can’t change the server implementation then you probably them I guess your solutions are:

    1) Download and decode the video yourself, you would have to handle all the metadata and ensure that the video does work though. You could, theoretically, compile ffmpeg for android to help you with that, but I couldn’t compile it to android with the network option on. That is a lot of work.

    2) Write your own implementation of RTSP or other streaming protocol. Download the video in a thread and them create a local server in the device to stream that video file to a videoView instance. I actually have this working on an app. Android doesn’t support the specific protocol that the client’s servers use and I had to get it working. It took me a full month to do this. I can’t post any example code because it’s all the client’s, but I could give you some further info on this if you are interested.

    Either way, if you can’t change the server/format of the video then you should prepare for a whole lot of work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to play video from a URL. How do I do this?
I want to play a video, so I'm using action_view like this. intent.setAction(android.content.Intent.ACTION_VIEW); Does
I want to play video file from /data/data/package_name/files in Android. I used Eclipse IDE
I want to be able to play video files that were downloaded from a
I have list of video files in datagridview object, and I want to play
i want to play a video within a UIView using MPMoviePlayerController. After pressing a
I want to develop a j2me application that will play a video file(.mp4) by
if i have a video of 70 Seconds and i want to play it
I'm using MPMoviePlayerController to play a video. When a call comes, i want to
I want to build a component, where the user can play a video in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.