Hi,
today's I've started to use RTSP as a protocol to transmit video stream from camera on the phone to everyone.
I've found a software that use RTSP and camera on Android OS.
It's from spex66 under the link https://github.com/spex66/RTSP-Camera-for-Android.
What is it?
It is RTSP protocol use on Android phone.
What does it do?
It uses camera from my phone. Application get the data from camera and host server on protocol RTSP and listen to clients to connect on specified port. Every client gets a video stream with data from camera.
What is the advantage of spex66 software is, that it uses a jni support and it's probably more efficient than code written directly in java.
The application has also server and client support. So easily you get the video stream and transfer it over network. The next step is yours. You do not have to worry about compressing because it's encode with h264 or h263 codec.
That is all about RTSP software from spex66. Thank's.
Monday, 7 July 2014
Sunday, 23 March 2014
Gradle automated build system
I was looking for automatated build system and finally found the Gradle solution which is a younger product than Apache Maven build tool.
Friday, 7 March 2014
Thursday, 6 March 2014
Czysta architektura aplikacji
Kolejny ciekawy anglojęzyczny artykuł na temat architektury aplikacji.
Jak dobrze zaprojektować swoją aplikację, polecam bardzo.
"Raz na jakiś, podczas różnych dyskusji pojawia się pytanie czym jest lub też czym powinna się cechować dobra architektura. Ciężko udzielić na to jednoznacznej
odpowiedzi, niemniej jednak przez te kilkadziesiąt lat specjaliści doszli do kilku ustaleń. Polecam lekturę dość lekkiego (i krótkiego!) wpisu jednego z bardziej znanych speców od architektury - niech on będzie początkiem do dalszej eksploracji tematu
http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html" autor: M.W.
Saturday, 30 November 2013
Android tools
XML data binding tool
http://simple.sourceforge.net
SQLlite with Android
http://www.codeproject.com/Articles/119293/Using-SQLite-Database-with-Android
Monday, 18 November 2013
Java IO efficient way to read files
The best efficient way is:
FileChannel with direct ByteBuffer and byte array gets
FileInputStream f = new FileInputStream( name );
FileChannel ch = f.getChannel( );
ByteBuffer bb = ByteBuffer.allocateDirect( BIGSIZE );
byte[] barray = new byte[SIZE];
long checkSum = 0L;
int nRead, nGet;
while ( (nRead=ch.read( bb )) != -1 )
{
if ( nRead == 0 )
continue;
bb.position( 0 );
bb.limit( nRead );
while( bb.hasRemaining( ) )
{
nGet = Math.min( bb.remaining( ), SIZE );
bb.get( barray, 0, nGet );
for ( int i=0; i<nGet; i++ )
checkSum += barray[i];
}
bb.clear( );
}
http://nadeausoftware.com/articles/2008/02/java_tip_how_read_files_quickly#Benchmarks
Monday, 3 September 2012
Sposoby pozyskiwania energi elektrycznej
Pozyskiwanie energi elektrycznej, aktualny stan wiedzy
http://elektronikab2b.pl/biznes/2345-zaskakujace-sposoby-pozyskiwania-energii
http://elektronikab2b.pl/biznes/2345-zaskakujace-sposoby-pozyskiwania-energii
Subscribe to:
Posts (Atom)