Problem while streaming amr file

by Zhubham » Fri, 29 May 2009 02:18:07 GMT


Sponsored Links
 Hi,

I am trying to stream a "hinted" AMR narrowband file through darwin
streaming server.

(i) This is not getting streamed at all..... RTSP Describe is followed
by Teardown. I use the api demo apk and c that it is failing @ prepare
(). I am able to stream this file through QuickTime Pro.

(ii) However, If i stream an MPEG-4 + AMR narrowband file there is no
problem at all.

can anyone suggest something on this.

Thanks.
--~--~---------~--~----~------------~-------~--~----~



Problem while streaming amr file

by Zhubham » Fri, 29 May 2009 10:06:42 GMT


 Would like to add (the ones in capital):

I am trying to stream a "hinted" AMR narrowband file (CONVERTED TO 3gp
FORMAT) through darwin streaming server. THE TARGET USED IS OMAP
3430.

(i) This is not getting streamed at all..... RTSP Describe is followed
by Teardown. I use the api demo apk and c that it is failing @ prepare
(). I am able to stream this file through QuickTime Pro (IN PC).
(ii) However, If i stream an MPEG-4 + AMR narrowband file there is no
problem at all.

can anyone suggest something on this.

Thanks.


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Trouble using NPN_PluginThreadAsyncCall and NPN_InvokeDefault to call back the browser from a native thread

I am developing an NPAPI plugin to process browser script.  Platform
is a build of the 1.6 Android source on Ubuntu, target is the browser
on the emulator supplied with the SDK.

Some of the JavaScript functions are asynchronous, passing in success/
failure callback functions as parameters. These are to be called back
by us when an async process has completed.

To achieve this we use the following code:

browser->invokeDefault(NP context, NPObject* onSuccessCbObject,
NPVARIANT args[] , int numargs, NPVARIANT * retVal);

This works well when called in the main plugin thread - the script
runs in the browser as expected.

However we need to implement this as an asynchronous callback. Firstly
we tried spawning a new pThread to run the above code - which
invariably crashed the browser.

So I tried using the NPN_PluginThreadAsyncCall function which seems to
allow a worker thread to run a function in the main browser UI thread.
This is called as follows:

browser->pluginthreadasynccall(  void (*func)(void *) , void *
userData)

The function we pass to this API contains the call to invokeDefault as
described above. When this is called the browser crashes immediately
(signal 11).

I am sure that all data passed to the function is valid, and the
lifetime of objects passed between threads are protected by reference
counting to ensure nothing is deleted prematurely. remove the call to
invokeDefault from the thread function, and everything completes and
cleans up as expected. But as soon as invokeDefault is called the
program crashes straight away.

Any ideas what might be going on?  Is there something else I should be
doing, or a preferred way to implement callbacks to a browser.

Many thanks - Julian.

2. Support for multiple monitors

Hi,

I was just wondering if Android had support for multiple monitors,
i.e. a displayport monitor and a standard vga/dvi/hdmi monitor?

Many thanks,

Owen

3. android create avd -target xxx -name my_avd

4. Is it possible to do automatic installations of the Android SDK?

5. dx --junit

6. Android Developer needed

7. Analog Clock