[vlc-devel] Android patch for network stream access

Ralf Globisch rglobisch at csir.co.za
Wed Oct 5 10:23:15 CEST 2011


Hi VLC developers,

Firstly, kudos for the nice work!

I am not sure if there is interest in the following, but I made a
patch ( see attachment)
that adds a menu option to open network streams on Android devices.
Screen shots are attached. It requires work e.g. drop downs for the
protocol, etc.
but could serve as a starting point for further development and I'd be
happy to continue
working on it.

I had been working on a version about 5 weeks old and much has
changed since then. Before submitting the patch, I checked out the
latest VLC code to update the patch and test it.

Now I am struggling with all sorts of compilation issues when trying
to build with live555,
which is no longer built by default.

In extras/contribs/distro.mak I re-added ".live"
Building gives:

make -C build-src tools
make[1]: Entering directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src'
make -C build-src
make[1]: Entering directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
(cd live; sed -e 's/=/= EXTRA_CPPFLAGS/' -e
's%EXTRA_CPPFLAGS%-I/include%' -i.orig groupsock/Makefile.head )
(cd live; ./genMakefiles armlinux && make
CC="arm-linux-androideabi-gcc
--sysroot=/home/rglobisch/Android/android-ndk-r6b//platforms/android-9/arch-arm"
CXX="arm-linux-androideabi-g++
--sysroot=/home/rglobisch/Android/android-ndk-r6b//platforms/android-9/arch-arm"
LD="arm-linux-androideabi-ld" RANLIB="arm-linux-androideabi-ranlib"
AR="arm-linux-androideabi-ar" STRIP="arm-linux-androideabi-strip")
make[2]: Entering directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src/live'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent
make rule.
cd liveMedia ; make
make[3]: Entering directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src/live/liveMedia'
arm-elf-g++ -c -Iinclude -I../UsageEnvironment/include
-I../groupsock/include -I. -O2 -DSOCKLEN_T=socklen_t -DNO_SSTREAM=1
-D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -DBSD=1 Media.cpp
make[3]: arm-elf-g++: Command not found
make[3]: *** [Media.o] Error 127
make[3]: Leaving directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src/live/liveMedia'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src/live'
make[1]: *** [.live] Error 2
make[1]: Leaving directory
`/home/rglobisch/Android/vlc2/android/vlc/extras/contrib/build-src'
make: *** [using-src] Error 2
rglobisch at rglobisch-OptiPlex-GX620:~/Android/vlc2/android/vlc/extras/contrib$

Am I missing any steps to build with live555?
Any help/pointers would be appreciated.

Regards,
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: android.patch
Type: text/x-patch
Size: 16063 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111005/0a086f6a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc_1.png
Type: image/png
Size: 28692 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111005/0a086f6a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc_2.png
Type: image/png
Size: 36450 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111005/0a086f6a/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc_3.png
Type: image/png
Size: 41737 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111005/0a086f6a/attachment-0002.png>


More information about the vlc-devel mailing list