Home --> Documentations --> PJMEDIA Reference

Various types of classes that provide timing. More...


 Master Port
 Thread based media clock provider.
 Sound Device Port
 Media Port Connection Abstraction to the Sound Device.
 Video media port
 Video media port.
 Clock Generator
 Interface for generating clock.

Detailed Description

The media clock/timing extends the media port concept that is explained in Media Ports Framework. When clock is present in the ports interconnection, media will flow automatically (and with correct timing too!) from one media port to another.

There are few objects in PJMEDIA that are able to provide clock/timing to media ports interconnection:

  • Sound Device Port
    The sound device makes a good candidate as the clock source, and PJMEDIA Portable Sound Hardware Abstraction is designed so that it is able to invoke operations according to timing driven by the sound hardware clock (this may sound complicated, but actually it just means that the sound device abstraction provides callbacks to be called when it has/wants media frames).
    See Sound Device Port for more details.
  • Master Port
    The master port uses Clock Generator as the clock source. By using Master Port, it is possible to interconnect passive media ports and let the frames flow automatically in timely manner.
    Please see Master Port for more details.


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.