Language:
  • Francais
  • English

Skip to main content

  • Features
  • Screenshots
  • Getting started
  • Download
  • Contacts
  • Code review
  • Contribute
  • F.A.Q
  • Links
  • Commercial support

Welcome / Code review / mediastreamer2

Code review

  • mediastreamer2
  • oRTP
  • liblinphone

mediastreamer2

mediastreamer2 is a powerful engine to make audio and video streams.
It is licensed under the GPL.
Commercial licenses and support can be ordered from antisip .

Here is a short introduction about mediastreamer2 design:
- each processing entity is contained within a MSFilter object. MSFilter(s) have inputs and/or outputs.
For example MSRtpRecv is a MSFilter that receives RTP packets from the network, unpacketize them and post them on its only output.
MSSpeexDec is a MSFilter that takes everything on its input assuming these are speex encoded packets, and decodes them and put the result on its output.
MSFileRec is a MSFilter that takes everything on its input and write it to wav file (assuming the input is 16bit linear pcm).

MSFilters can be connected together to become filter chain. If we assemble the three above examples, we obtain a processing chain that receives RTP packet, decode them and write the uncompressed result into a wav file.

Currently mediastreamer2 contains elementary bricks to do the following features:

  • Read/Write from to an alsa device, an oss device, a windows waveapi device
  • Send and receive RTP packets
  • Encode and decode the following formats: speex, G711, GSM, H263, theora.
  • Read and write from/to a wav file
  • Read YUV pictures from a webcam (provided that it has video4linux driver)
  • Display YUV pictures (using SDL library)
  • Dual tones generation
  • Echo cancelation, using the extraordinary echo canceler algorithm from the speex library

Mediastreamer2 can be extended with dynamic plugins.

A quick start little API is available to create audio and video stream, as simple as:
AudioStream *as=audio_stream_start(.../*list of parameters*/);
audio_stream_stop(as);

Right menu

News

Linphone-2.0.0 is out

After months of development, linphone-2.0.0 is finally out. It is a major since linphone upgraded its SIP stack to eXosip2, bringing lots of improvements, new features, and increased interoperability.

It finally also solves the compilation issues with libosip-2.2.x series, and the recurrent warnings concerning the use of deprecated functions of ffmpeg.


Easy start of linphone on windows

This article explains how to pack linphone together with its config file inside a auto-expand file so that you can share it with friends that aren't familiar with IP telephony, proxies and so on.

An interesting use-case is to have it on a USB key you bring with you to use in an internet cafe.


Antisip & Belledonne Communications partnership for commercial support

Antisip and Belledonne Communications (company created by the author of linphone) had and have today a strong partnership in the development of mediastreamer2, the multimedia streaming engine of linphone.


Copyright 2007 Linphone.org - Hosting & Design Choup.net
Powered by eZ Publish™ Content Management System.