Thanks for the reply. I don't think I mean the sound device. In sipua for example I can say: sipua --play-file=test.wav --auto-play When a sip call arrives the caller hears the test.wav What I am trying to do is something like: sipua --play-stream=rtsp://192.168.1.4:4000 So that the caller hears the stream. Further - there would be 3 streams - and the caller would hear the three streams mixed, in the same way I would hear three files mixed if I called --play-file=test1.wav --play-file=test2.wav --play-file=test3.wav and use cc Question is - I am on the right path trying to achieve this using PJSIP? On Mon, Jan 25, 2010 at 3:37 PM, Benny Prijono <bennylp at teluu.com> wrote: > 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 > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100125/ffc46773/attachment.html>