Skip to content

Commit

Permalink
Modify README
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansersion committed Dec 26, 2015
1 parent ddb89cb commit 0bd0137
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 5 deletions.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
# myRtsp
myRtspClient
================================================================================

This package contains a RTSP Client libraries which is based on JRTPLIB.
Under the license of Apache License V2.0.

Linux/Unix installation
--------------------------------------------------------------------------------
Now, myRtspClient installation is not supported. You can only the library
./myRtspClient/libmyRtspClient.a. And the headers is in ./myRtspClient/include.

Compiling based on different os-platform, you NEED to configure the
config.<os-platform> file.
For example:
Compiling based on x86, which configure use file 'config.linux':
$ ./genMakefiles linux
$ make

(Configure your cross compile tool in 'config.armlinux' first)
Compiling based on armlinux, which configure use file 'config.armlinux':
$ ./genMakefiles armlinux
$ make

Features
--------------------------------------------------------------------------------
Video Codec Support:
H264

Info
--------------------------------------------------------------------------------
Ansersion ansersion@sina.com
10 changes: 8 additions & 2 deletions config.armlinux
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
CROSS_COMPILE_DIR= /usr
CROSS_COMPILE= $(CROSS_COMPILE_DIR)/bin/arm-linux-gnueabi-
# Configure you cross compiling parameters here.
# If your arm-linux-gcc is installed by "apt-get", it would be:
#
# CROSS_COMPILE_DIR= /usr
# CROSS_COMPILE= $(CROSS_COMPILE_DIR)/bin/arm-linux-gnueabi-
#
CROSS_COMPILE_DIR?=
CROSS_COMPILE?=
COMPILE_OPTS = $(INCLUDES) -I. -O2
C = c
C_COMPILER = $(CROSS_COMPILE)gcc
Expand Down
4 changes: 2 additions & 2 deletions example/simple_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ using std::endl;

int main(int argc, char *argv[])
{
// string RtspUri("rtsp://127.0.0.1/ansersion");
string RtspUri("rtsp://192.168.81.145/ansersion");
string RtspUri("rtsp://127.0.0.1/ansersion");
// string RtspUri("rtsp://192.168.81.145/ansersion");
RtspClient Client;

/* Set up rtsp server resource URI */
Expand Down

0 comments on commit 0bd0137

Please sign in to comment.