JRTPLIB library compilation on Linux

Source: Internet
Author: User
JRTPLIB library compilation on the Linux platform-general Linux technology-Linux programming and kernel information. The following is a detailed description. 1. Introduction to jrtplib
RTP is currently the best solution to the problem of real-time transmission of streaming media. To program real-time transmission on the Linux platform, you can consider using open-source RTP libraries, such as LIBRTP and JRTPLIB. JRTPLIB is an object-oriented RTP database, which fully complies with the RFC1889 design and is a very good choice in many cases. JRTPLIB is a RTP Library implemented in C ++, this library uses the Socket mechanism for network communication, so it can run on Windows, Linux, FreeBSD, Solaris, Unix, and VxWorks.

2. jrtplib Compilation
(1) Compile this library on PC Linux.
The following uses Readhat 9.0 and the kernel version is 2.4. The jrtplib library is generally used with the jthread library. When the jrtplib library is used independently, ensure that the GCC compiler is installed on the host system. The steps are as follows: Go to the installation directory configure; make install. Put the include file of this library under/usr/local/include after installation. When used together with the jthread library, compile jthread first, put the include file compiled by this library under/usr/local/include, and then compile the jrtplib library.

(2) The jrtplib library is used for cross-Compilation of ARM9.
Jrtplib is related to the platform. The cross-Compilation of the jrtplib library specifies that the ARM compilation tool chain is arm-linux, while the arm-elf tool chain for cross-Compilation of ARM7 is implemented on the ARM9. When compiling with arm-linux-gcc, You need to perform cross-compilation scenario analysis for this library. After multiple successful compilation attempts. Before configuring configure, enter two statements in the shell environment: export config_BUILD_CC = gcc export config_TARGET_CC = arm-linux-gcc. configure and use./configure -- host = arm-linux. Add the header file stdio. h to rtperrors. h. Otherwise, the compilation may fail.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.