[Live-devel] Garbled sound with multiple listeners
Marlon Reid
Marlon at scansoft.co.za
Tue Feb 7 22:55:03 PST 2012
Hi Ross,
My application streams a single mp3 source via unicast. Several
instances of VLC are capable of playing a RTSP stream on a single
machine with a single sound card. This was tested by streaming from an
instance of VLC and connecting several other instances of VLC to this
source. In any case if someone else has this problem the solution is to
ensure that reuseFirstSource is true. There was a bug in my code that
passed a false value to reuseFirstSource and hence the problem.
Thanks Ross.
________________________________
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: 08 February 2012 02:25 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Garbled sound with multiple listeners
My application streams an MP3 file and it works fine with just
one listener, which for the purpose of my testing is VLC. If I open up
a second instance of VLC, connect to my stream and play the sound on
both of the listeners is garbled. Note that both instances of VLC are
on the same machine.
Is this behaviour normal? I assumed that both instances of VLC
will connect to the stream and play it fine, but that appears not to be
the case.
There's a lot of information missing here. You haven't said much about
what your application does. Does it stream the MP3 via multicast (e.g.,
like "testMP3Streamer"), or does it stream via unicast (from a RTSP
server)? And are you really streaming from a MP3 file, or from a single
MP3 source (in which case don't forget to set "reuseFirstSource" to True
if you're streaming unicast from a RTSP server)?
Also, you say that you are running two instances of VLC on the same
computer. I have no idea what VLC is supposed to do with audio in this
case (do you have separate sound cards on this computer, or just one??),
but any problems that you have with audio in this situation will likely
have nothing to do with our software.
Why not first try to run your two instances of VLC on *different*
machines? And remember that you can also use "openRTSP" to test RTSP
client behavior (and in a way that involves only our software, not VLC).
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120208/3cc1b4a9/attachment-0001.html>
More information about the live-devel
mailing list