Feeding Media player from non-rtsp/non-file source

by Arun » Tue, 09 Feb 2010 10:41:42 GMT

Sponsored Links
 I've mpeg4 source that is not accessible on rtsp protocol. It is not
in a file too. Is there any other data source I can specify to Media
Player? All I know is that it is mpeg4 encoded data as it can be
played with media player when it is fed from RTSP server or played
from files.

Thanks for your help.


Feeding Media player from non-rtsp/non-file source

by Arun » Tue, 09 Feb 2010 15:18:42 GMT

 Thanks Mark for the response. can I get more details on how we can do
that over HTTP? I've tried that something like "http://
www.tinytube.net/watch/youtube/B4lSAMuhDdg?". but. I needed to
download it and write it into a temp file in order to play it. You
also mention "some". So, are there any special formatting needed? Any
pointers appreciated!


Sponsored Links

Other Threads

1. Android 2.2 - Portable Hot Spot - WifiManager class

I'm looking at how Android supports wifi portable hot spot
functionality with a view to writing simple home screen widget that
allows people to turn the phone's wifi hotspot on and off without
digging into the device settings.

There was nothing obvious at developer.android.com so I dug through my
copy of the Android source code and found that the WifiManager class
(android.net.wifi.WifiManager) provides the basics to allow the state
to be queried. So as well as 'getWifiState()' there is
'getWifiApState()' and a matching set of state constants.

However, in my bang-up-to-date Eclipse IDE, this class has none of the
Ap methods or constants. Can anyone shed any light on this?



2. Having camera store snapped pictures

Hey all -

I am working on a program that opens up the camera on a button click,
snaps a photo and takes that photo and stores it in a new class
(listview.java) that will be accessed from the main menu.  My code to
snap a pic is:

        protected void onActivityResult(int requestCode, int resultCode,
Intent data) {
                if (resultCode == RESULT_CANCELED) {
                        showToast(this, "Scan Cancelled");
                if (requestCode == CAMERA_PIC_REQUEST) {
                        Bitmap thumbnail = (Bitmap) 
                        ImageView image = (ImageView) 


how do I go about saving that new bmp file to that different class?

I tried to put photoResultView in my listview.java class as so:

                TextView label = (TextView) rowView.findViewById(R.id.label);
                // Change the icon for pics snapped, tester for later 
                if (names[position].startsWith("pic7")
                                || names[position].startsWith("Slut8")) {
                        ImageView imageView = (ImageView) rowView

but the program crashes everytime I try and save the pic I snapped -
anyone have any ideas or tutorials for doing this?



3. how to enable iptables in froyo

4. usb keyboard in froyo

5. Install aplikasi di sdcard

6. select query problem.

7. Fwd: Kurikulum Android dari Meruvian Education