RTP Stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 25, 2010 at 7:49 PM, Phillip Jones <pjintheusa at gmail.com> wrote:
> Hi there,
>
> Can pjsip connect and play into a conference, a standard remote RTP stream
> (in the same way as it connects to a wav file). For instance, the live555
> player can stream a standard rtp stream that can be played using Quicktime.
> Could PJSIP use that standard RTP stream from live555 out of the box as it
> were, or would some custom media programming be required?
>

If you mean to play an incoming RTP stream to sound device (or to
record it to a WAV file), then you can use the streamutil from the
samples. Here's the synopsis of streamutil:

streamutil  -h

PURPOSE:
 Demonstrate how to use pjmedia stream component to transmit/receive
 RTP packets to/from sound device.


USAGE:
 streamutil [options]


Options:
 --codec=CODEC         Set the codec name.
 --local-port=PORT     Set local RTP port (default=4000)
 --remote=IP:PORT      Set the remote peer. If this option is set,
                       the program will transmit RTP audio to the
                       specified address. (default: recv only)
 --play-file=WAV       Send audio from the WAV file instead of from
                       the sound device.
 --record-file=WAV     Record incoming audio to WAV file instead of
                       playing it to sound device.
 --send-recv           Set stream direction to bidirectional.
 --send-only           Set stream direction to send only
 --recv-only           Set stream direction to recv only (default)
 --use-srtp[=NAME]     Enable SRTP with crypto suite NAME
                       e.g: AES_CM_128_HMAC_SHA1_80 (default),
                            AES_CM_128_HMAC_SHA1_32
                       Use this option along with the TX & RX keys,
                       formated of 60 hex digits (e.g: E148DA..)
 --srtp-tx-key         SRTP key for transmiting
 --srtp-rx-key         SRTP key for receiving



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux