<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Ross,
<div class=""><br class="">
</div>
<div class="">We are working on uploading audio streaming to rtsp server.</div>
<div class="">Server receive the audio data via MultiFramedRTPSource and put data into our WAVSpeakerSink.</div>
<div class=""><br class="">
</div>
<div class="">We combine WAVAudioFileSource and WAVSpeakerSink to do some test, it works well.</div>
<div class="">(We refer the sample code, MPEG2TransportStreamIndexer.cpp)</div>
<div class="">We can run multiply program to play music at the same time.</div>
<div class=""><br class="">
</div>
<div class="">Next thing, we put WAVSpeakerSink into rtsp server.</div>
<div class="">We porting the reading data flow from client.</div>
<div class="">(We refer this, <a href="https://github.com/xuebao555/live555_backchannel" class="">https://github.com/xuebao555/live555_backchannel</a>)</div>
<div class=""><br class="">
</div>
<div class="">If we only have one client to upload audio streaming, server works well.</div>
<div class="">But</div>
<div class="">Case1:</div>
<div class="">We upload one audio streaming and then use vlc to play rtsp.</div>
<div class="">The upload audio streaming will be silent. Looks like there is not any audio upload task on scheduler.</div>
<div class="">From the client, we can make sure the data are still uploading, no interrupted. </div>
<div class=""><br class="">
</div>
<div class="">Case2:</div>
<div class="">If we upload 2 audio streaming, sometimes, one of them will be silent.</div>
<div class="">The silent one did not receive any rtcp update, then drop the connection.</div>
<div class="">We check the code, the source did not have the fDurationInMicroseconds to control when next task come.</div>
<div class="">So, we use following code to delay the next task.</div>
<div class=""><br class="">
</div>
<div class="">int bt = 1000000 / (16000hz * 2byte * 2channel);</div>
<div class="">nextTask() = envir().taskScheduler().scheduleDelayedTask(frameSize(1280) * bt,<br class="">
(TaskFunc*)sendNext, this);</div>
<div class=""><br class="">
</div>
<div class="">But, it is not working for us.</div>
<div class="">So, my question is do you have any suggestion about this?</div>
<div class="">We are struggling on this. Please help. Thanks a lot.</div>
<h3></h3>
<p>This electronic mail transmission is intended only for the named recipient. It contains information which may be privileged,confidential and exempt from disclosure under applicable law. Dissemination, distribution, or copying of this communication by anyone
other than the recipient or the recipient's agent is strictly prohibited. If this electronic mail transmission is received in error, Please notify us immediately and delete the message and all attachments of it from your computer system. Thank you for your
cooperation. </p>
<p></p>
</body>
</html>