H264 live streaming error on specific devices

by John Lauser » Fri, 14 Jan 2011 21:18:50 GMT

Sponsored Links
 Hello all,

Thanks in advance for any help you can provide.

Our application has a live video component that we use to stream our
TV channel. While testing on the Samsung Transform, I noticed that
when calling the live stream the audio can be heard but the video
never shows. When calling the stream from a gen 1 droid or DroidX,
everything works fine and both the audio and video play correctly . I
hooked the transform up to DDMS and noticed the following error
repeated about every second...

ERROR/PVOMXVidDecNode : Ln 1541 OMX_EventError nData1 -2147479541
nData2 0

The device details are:
Samsung Transform
Android OS: 2.1-update1
Build: ECLAIR.DI11

The live stream details:
H264 Baseline w/ AAC Audio 16kbps sample rate 44.1khz

Is the video decoder error specific to the device's capabilities or
could the way we have the h264 stream set up cause it? Both of the
droid devices that play it fine are running 2.2 if that helps at all.

Thanks again



Other Threads

1. Relationship between Activities & Dialogs: Recommended usage suggestions.

I have a requirement for showing dialogs in my application. Alert dialogs
fulfill by needs for now.

I wish to discuss..and conceptually understand in the process, the exact
relationship between the Activity that is being displayed at a given point
of time...and the Dialog that pops up on the screen.

The Android documentation provides us with 2 options regarding this:

1. To bind the dialog with the activity, making the current activity the
'owner' of this dialog for managing its state. In this case, we create the
Dialog in the onCreateDialog callback.

2. To create a dialog 'outside' of the activity's context, where the
activity is no longer the owner of this dialog.

I wish to understand what extra liabilities will the developer face if I
follow Option # 2?

My requirement is for option 2 above. I wish to display a dialog for an
incoming call. However, the user may be at any 'page' (activity) of my
application when the call is received. Hence, i cannot predict the activity
that would be displaying at that instant, when i need to display the dialog
for the incoming call.

My questions are as follows:

a) Who manages the Dialog state in case of Option 2 and how ?

b) What if the user flips the screen when the dialog is being displayed by
following Option 2 above ?

c) Can any user defined object (Eg: CallManager in my case) be assigned the
owner of the Dialog being displayed ?

Any insight/answers are very much appreciated....

Thanks for the help

Best Regards



2. IP camera

I want know about IP camera in Android. Please mention details if
known to you..

3. Some few ques about android browser?

4. Does anyone has the documentation of window manager?

5. Is it possible for me to create a custom window like android:windowNoTitle

6. Switching Activity.

7. OpenGL ES flickering problems - double buffered?