GithubHelp home page GithubHelp logo

zhangfang / ortp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from belledonnecommunications/ortp

0.0 1.0 0.0 21.24 MB

Linphone.org mirror for ortp (git://git.linphone.org/ortp.git)

Home Page: http://linphone.org

License: GNU General Public License v3.0

CMake 2.75% Shell 0.55% Makefile 0.95% C 88.24% C++ 5.93% M4 1.57%

ortp's Introduction

pipeline status

oRTP

oRTP is a C library implementing the RTP protocol (rfc3550). It is available for most unix clones (primilarly Linux and HP-UX), and Microsoft Windows.

For additional information, please visit oRTP's homepage on linphone.org.

License

Copyright © Belledonne Communications

oRTP is dual licensed, and is available either :

  • under a GNU/GPLv3 license, for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE.txt file for details).

  • under a proprietary license, for a fee, to be used in closed source applications. Contact Belledonne Communications for any question about costs and services.

Prior to version 1.0.0, oRTP was licensed under LGPLv2. Due to inclusion of new code licensed under GPLv2, oRTP has become GPLv2, and later in version 1.1.0, GPLv3. For the sake of clarity, all source files headers were updated to mention the GPLv3 only. oRTP versions prior to 1.0.0 of course remain LGPLv2.

Dependencies

bctoolbox[1]: portability layer

Compilation

Autotools procedure is deprecated. Use CMake to configure the source code.

cmake . -DCMAKE_INSTALL_PREFIX=<prefix> -DCMAKE_PREFIX_PATH=<search_paths>

make
make install

Options:

  • CMAKE_INSTALL_PREFIX=<string> : install prefix
  • CMAKE_PREFIX_PATH=<string> : column-separated list of prefixes where to search for dependencies
  • ENABLE_SHARED=NO : do not build the shared library
  • ENABLE_STATIC=NO : do not build the static library
  • ENABLE_STRICT=NO : build without strict compilation flags (-Wall -Werror)
  • ENABLE_TESTS=YES : build tester binaries
  • ENABLE_DOC=NO : do not generate the documentation
  • ENABLE_DEBUG_LOGS=YES : turn on debug-level logs

Note for packagers:

Our CMake scripts may automatically add some paths into research paths of generated binaries. To ensure that the installed binaries are striped of any rpath, use -DCMAKE_SKIP_INSTALL_RPATH=ON while you invoke cmake.

Rpm packaging ortp rpm can be generated with cmake3 using the following command: mkdir WORK cd WORK cmake3 ../ make package_source rpmbuild -ta --clean --rmsource --rmspec ortp--.tar.gz

How do you I test ?

There are shorts and easy to understand programs given with the library. There are good example to understand how to use oRTP api.

  • rtpsend : sends a stream from a file on disk.
  • rtprecv : receives a stream and writes it to disk.
  • mrtpsend: sends multiple streams from a file on disk to a range of remote port.
  • mrtprecv: receives mutiple streams on a range of local ports and writes them on disk.

Is there some documentation ?

See the doxygen generated API documentation in docs/html. Program examples are a very good starting point.


[1] git://git.linphone.org/bctoolbox.git or http://www.linphone.org/releases/sources/bctoolbox

ortp's People

Contributors

bagage avatar viish avatar ledjlale avatar jeannotlapin avatar fgrisez avatar mickhopes avatar smorlat avatar peppsac avatar sanavak avatar gberaudo avatar wescoeur avatar datbewar avatar andreagianarda avatar chickenkiller avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.