實時通信庫 libre/librem/restund/baresip

http://www.creytiv.com/php

源碼下載html

libre

Toolkit library for asynchronous network IO with protocol stacks including SIP, SDP, RTP, STUN, TURN, ICE, BFCP and DNS.git

librem

Toolkit library for real-time audio and video processinggithub

restund

Modular STUN/TURN server.bash

這是一個STUN/TURN服務器。STUN是一種NAT穿透技術,用於幫助處在內網的主機肯定本身的公網IP和端口,從而與別的主機創建直接鏈接(WebRTC中PeerConnection)。TURN是STUN的加強版,能夠在沒法穿透NAT進行直連的狀況下提供數據的轉發。服務器

baresip

Modular SIP Useragent.app

Distros and 3rd parties using Creytiv Softwareless

==============================================socket

libre

Libre is a portable and generic library for real-time communications with async IO support and a complete SIP stack with support for SDP, RTP/RTCP, STUN/TURN/ICE, BFCP and DNS Client.async

Features

  • SIP Stack (RFC 3261)
  • SDP
  • RTP and RTCP
  • SRTP
  • DNS-Client
  • STUN/TURN/ICE
  • BFCP
  • HTTP-stack with client/server
  • Websockets
  • Jitter-buffer
  • Async I/O (poll, epoll, select)
  • UDP/TCP/TLS/DTLS transport

Subversion

URL for public read-only subversion access: https://svn.creytiv.com/re/trunk (username: anon, password: anon)

Building and installation

To build libre we are using GNU Make. External dependencies are automatically detected by the makefile.

$ cd re
$ make
$ sudo make install

Examples and Demonstration

A separate redemo package is available in download directory.

Here you will find examples on how to use the libre toolkit, including demonstations on how to create a basic UDP and TCP server with less than 100 and 200 lines of C-code respectively. Additionally you will find a basic SIP user-agent example. All the demo programs are built by simply typing make from the redemo directory.

Design Goals

  • Portable POSIX source code (ANSI C89 and ISO C99 standard)
  • Intelligent and user friendly APIs
  • Robust, fast, low memory footprint
  • RFC compliance
  • IPv4 and IPv6 support

Documentation

Doxygen API documentation can be found here.

Applications using libre

================================================================

restund

Restund is a modular and flexible STUN and TURN Server, with IPv4 and IPv6 support.

Features

  • Authentication module
  • Binding module
  • MySQL module
  • Statistics module
  • Status module
  • Syslog module
  • TURN module

Download

Latest and previous releases of restund can be downloaded here.

Building and installation

To build restund core and the modules we are using GNU Make. External dependencies are automatically detected by the makefile. libre must be installed first.

To build restund with default options:

$ cd restund
$ make
$ sudo make install

A sample configuration file can be found in the etc directory of the restund package.

相關文章
相關標籤/搜索