Skip to content

xirsys/xmedialib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XMediaLib

XMediaLib is a greatly updated and enhanced version of Peter Lemenkov's RTPLib (or parts of) to the Elixir language.

This library is in heavy development for several upcoming Xirsys open-source projects.

Note: several elements in use by this library have not yet been added to the public trunk. You may get warnings when compiling. However, the library will compile for each of the Xirsys open-source projects.

Prerequisites

In order to run all tests (and use all codec features), you will need to compile the drivers for this library. These include:

You can compile and install for Ubutnu with:

# install libilbc
wget https://github.com/TimothyGu/libilbc/releases/download/v2.0.2/libilbc-2.0.2.tar.gz
tar -xzvf libilbc-2.0.2.tar.gz
cd libilbc-2.0.2
./configure
make && sudo make install

# install bcg729
git clone [email protected]:BelledonneCommunications/bcg729.git
cd bcg729/
cmake . -DENABLE_STATIC=YES
make && sudo make install

# install remaining libs
sudo add-apt-repository ppa:jonathonf/ffmpeg-3
sudo apt-get update
sudo apt-get install libsamplerate-dev libspandsp-dev libopus-dev libopus0 opus-tools libspeex-dev

Failing to install these libraries will disable the Codec functionality of this library.

Note: Additional help is welcome to make this process easier for different platforms.

Installation

This package can be installed by adding xmedialib to your list of dependencies in mix.exs:

def deps do
  [{:xmedialib, "~> 0.1.2"}]
end

Contact

For questions or suggestions, please email [email protected]

Copyright

Copyright (c) 2013 - 2018 Xirsys LLC

All rights reserved.

XMediaLib is licensed by Xirsys, with permission, under the Apache License Version 2.0. See LICENSE for the full license text.