[Live-devel] live-devel Digest, Vol 100, Issue 18

Vinay Tyagi mailme_vinaytyagi at yahoo.com
Wed Feb 15 09:38:29 PST 2012


Hi live-dev family,
 
I am new to mailing group, can someone help me one the following queries -
 
1. How can I stream multiple files (100 mp3 files) in a sequence or random using live555MediaServer ?
 
2. I am able to fetch only one audio file at a time using openRTSP. I am fetching rtsp stream generated from live555MediaServer in openRTSP using format -> openRTSP -V rtsp://192.168.245.1:8554/Songs/1.mp3  (where 1.mp3 is a single audio file)
How can I fetch all .mp3 files in a sequence?
 
3. openRTSP creates a file name -> audio-MPA-1 in testProgs folder, how can I play this file in VLC player ? I am trying to use a format -> rtsp://192.168.245.1:2146/audio-MPA-1 which is giving an error. is something wrong here ?
 
Kindly help!
 
Regards,
Vinay
 

 

________________________________
From: "live-devel-request at ns.live555.com" <live-devel-request at ns.live555.com>
To: live-devel at ns.live555.com 
Sent: Wednesday, February 15, 2012 7:13 PM
Subject: live-devel Digest, Vol 100, Issue 18

Send live-devel mailing list submissions to
    live-devel at lists.live555.com

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.live555.com/mailman/listinfo/live-devel
or, via email, send a message with subject or body 'help' to
    live-devel-request at lists.live555.com

You can reach the person managing the list at
    live-devel-owner at lists.live555.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of live-devel digest..."


Today's Topics:

  1. Re: playSip (Tom Aylesworth)
  2. How to assign sinks to subsessions (Shaheed Abdol)


----------------------------------------------------------------------

Message: 1
Date: Tue, 14 Feb 2012 11:50:07 -0500
From: Tom Aylesworth <taylesworth at realitymobile.com>
To: "live-devel at ns.live555.com" <live-devel at ns.live555.com>
Subject: Re: [Live-devel] playSip
Message-ID: <91A2D54C-DA06-458B-8934-998C5BBEE9A7 at realitymobile.com>
Content-Type: text/plain; charset="us-ascii"


The only thing I can think of is that perhaps you have a firewall somewhere that's blocking RTP/UDP packets coming back from the server (but not the packets that formed the SIP command and response).

Thanks, Ross.

Another question: what does it take to extend the sipPlayer test program to support two-way traffic?  Sorry if that seems like a basic question but I didn't see an obvious way to do it, and didn't see it mentioned in the FAQ.

Thanks again,

Tom

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120214/4bd8a7ed/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 15 Feb 2012 15:43:23 +0200
From: "Shaheed Abdol" <Shaheed at scansoft.co.za>
To: <live-devel at ns.live555.com>
Subject: [Live-devel] How to assign sinks to subsessions
Message-ID: <002962EA5927BE45B2FFAB0B5B5D67970A8B7A at SSTSVR1.sst.local>
Content-Type: text/plain; charset="us-ascii"

Good afternoon,

It took me the better part of two full working days, but I discovered
the solution. I would like to post the answer in case somebody else gets
stuck with it.

I am pulling data from an IP camera, then subclassing MediaSink class to
decode the data from the camera, then passing the data to a dialog which
displays the output and plays the sound chunks. When I try to play both
video and audio, then the video stream gets stuck, I can play the
individual streams perfectly. After meticulously making incremental
changes to discover the issue, I found that when playing audio using the
PortAudio library, it is required to call the PA_WriteStream(...)
function within a separate thread. The only reason the video was getting
stuck is due to some side-effect (unknown) of the way PortAudio writes
to the default sound device which is not compatible with the way in
which I am using live555.

To allow for a bit more clarity, I am using live555 to stream rtsp data,
ffmpeg to decode/transcode the streamed data, Direct3D to display video,
and PortAudio to play sound. With this toolchain it is essential to play
the audio in a seperate thread, else the video sink will lock up.

Thank you for all your assistance.
Regards
____________________________

Shaheed Abdol



Web: www.scansoft.co.za <http://www.scansoft.co.za/> 
Tel:  +27 21 913 8664
Cell: +27 79 835 8771

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120215/d529a882/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 32497 bytes
Desc: SST Email.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120215/d529a882/attachment.png>

------------------------------

_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


End of live-devel Digest, Vol 100, Issue 18
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120215/d6867d0c/attachment-0001.html>


More information about the live-devel mailing list