plan about video on download(VOD) framework

by ZhangJieJing » Tue, 04 Aug 2009 01:29:53 GMT

Sponsored Links
 Hello  Everyone,

I'm a developer of android product, I'm working for the online play without
broswer, like some P2P stream player on our device, I heard someone said
that Google's Android Team have some play on that, I want to know is this
true?  or I must make a framework to P2P stream video play.

Can anyone give some suggestion about how to share memory with the player
The Normal P2P interface is like p2p_read_request(int fd, char *buf, size_t
request_size, time_t block_time);
fd: this is just the id of cache, maybe some is the file descriptor.
buf: is requesting bufer pointer. the download lib will full fill this
request_size: is the size of request. the player can get this memory and
play, in some all-in-one player.
block_time, this is the longest time will waiting.

since we have multi p2p download lib from different vendor, so I start a
server to handle all of this.
But I can't find a good way to share memory to the player (they are in
different process).
the cache is controled by download lib.

Best regards,
Zhang Jiejing


Other Threads

1. Receiver Intent Filter to listen for MUTE and UNMUTE?

I am writing my very first android app and have been learning over the
last few days, so bear with me. What I want to do is simple: I am on
conference calls a lot with my Motorola Droid X with a wired headset
that has a mute/unmute button on it. I go on and off mute constantly
but since my Droid screen is off during the call I always have to
light up the screen to see whether I am on mute or not before I start

So what I want to do is simply listen for MUTE/UNMUTE (doesn't matter
whether or not I have the wired headset plugged in) and when it mutes/
unmutes I want to light up the LED indicator with a Purple (or
whatever) color flashing indicator.

My problem is that I cannot for the life of me figure out, in my
AndroidManifest.xml file, exactly what action I should be listening
for so that my BroadcastReceiver can act on it.  I've tried several,
such as "android.intent.action.PHONE_STATE" but that didn't work.  For
testing purposes, I know my code is working because I set the action
to "" and my code fires off when
turning on/off the wifi.  So it's just a matter of finding the right
action to listen for.  Any help?

Code from AndroidManifest.xml:
                <receiver android:name="MuteIntentReceiver">
android:name="" />

Code from
public class MuteIntentReceiver extends BroadcastReceiver {
        public void onReceive(Context context, Intent intent) {
                AudioManager audioMgr = (AudioManager)

                if (audioMgr.isMicrophoneMute())
                        // code goes here
                        // code goes here



2. Local ftp issue

Hi ,
I want to ftp a file from /data/data/ to
my system using FTPClient. I am using XAMPP server which contain
filezilla. Can any one please tel me what is the ftp port number in
android .( similar to for apache  )


3. Android Client Server Communication Confusion

4. Something similar to CALayer core animation in Android?

5. Embedded web server

6. How to create an email account in android programatically?

7. Propagating exception caught in GL render thread