Streaming live video from Axis Encoder (Via VLC) to Android

by Jez » Fri, 30 Apr 2010 13:41:46 GMT

Sponsored Links
 In my setup I have a live stream source connected which an Axis
encoder (250S) receives and encodes to MPEG2 which I then receive
VLC and re-stream out as an RTSP stream.

I'm attempting to display this LIVE video source using the Media
demo that comes with the Android SDK, i've also attempted to use a
http link in the Android emulator browser.

But to no avail, I don't ever see a video playing.

Can anyone confirm if the android emulator is able to play this type
of video source and if the
real android device say an HTC Hero could play this using RTSP.


Is there some fundamential thing i'm missing here ?



Other Threads

1. Android build failure on CentOS5.2


It appears that you may be missing libhistory which is a part of the
readline library.  Try doing a 'yum install readline' on the command



2. Getting user's confirmation in OnPreferenceChangeListener


I have a checkbox preference which, when set for the first time, may
trigger a long-running operation.  I want to get the user's explicit
consent before starting this operation.  However, if the user hits
cancel, then the preference should remain unchecked.

I'm using a preference activity and register an onPreferenceChanged()
handler for the checkbox preference in question, which shows an alert
dialog (and returns true, so the preference *will* be set before the
dialog pops up).

I tried doing something like this in the AlertDialog that asks for
user confirmation, to revert that preference change if he clicks

.setNegativeButton(R.string.cancel_button, new
DialogInterface.OnClickListener() {
        public void onClick (DialogInterface dialog, int which) {
                Editor e = getPreferenceScreen().getEditor();
                e.putBoolean("foo_enable", false);

but it doesn't quite have the desired effect: the "foo_enabled"
preference remains checked.

AFAIK there are no blocking modal dialogs in Android.  Should I
perhaps be using something other than onPreferenceChanged() for this?
Any suggestions would be appreciated!


3. Can ListActivity include other controls?

4. Unable to stop activity - NPE

5. MediaScanner

6. android-developers - 84 new messages in 56 topics - abridged

7. Android SDK v1.1 due soon?