BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJMEDIA Reference

PJMEDIA and PJMEDIA-CODEC Examples

PJMEDIA and PJMEDIA-CODEC Examples

Please find below some PJMEDIA related examples that may help in giving some more info:

  • page_pjmedia_samples_sndtest_c
    This program performs some tests to the sound device to get some quality parameters (such as sound jitter and clock drifts).
    Screenshots on WinXP:
    sndtest.jpg

    sndtest screenshot on WinXP

  • Samples: Remote Streaming
    This example mainly demonstrates how to stream media (in this case a AVI File Player) to remote peer using RTP.
  • Samples: Using SIP and Custom RTP/RTCP to Monitor Quality
    This is a useful program (integrated with PJSIP) to actively measure the network quality/impairment parameters by making one or more SIP calls (or receiving one or more SIP calls) and display the network impairment of each stream direction at the end of the call. The program is able to measure network quality parameters such as jitter, packet lost/reorder/duplicate, round trip time, etc.
    Note that the remote peer MUST support RTCP so that network quality of each direction can be calculated. Using siprtp for both endpoints is recommended.
    Screenshots on WinXP:
    siprtp.jpg

    siprtp screenshot on WinXP

  • Samples: Sine Wave/Dual-Tone Generation
    This is a simple program to generate a tone and write the samples to a raw PCM file. The main purpose of this file is to analyze the quality of the tones/sine wave generated by PJMEDIA tone/sine wave generator.

 


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