<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Hi Wei Su,<br><br><span>From your query, it appears that you are trying to add multiple media sub-sessions to a media sub-session. There is a previous post on the same topic. Kindly refer to <a target="_blank" href="http://www.mail-archive.com/live-devel@lists.live555.com/msg03995.html">http://www.mail-archive.com/live-devel@lists.live555.com/msg03995.html</a> for the same.</span><br><br>Please let me know if this helps or you still face problems.<br><br>Cheers,<br>Ganesh<br><br>P.S: I haven't looked at the latest code in Livemedia. Pardon me if there are some changes to the same as compared to my earlier post.<br><br><br><br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">Date: Wed, 28 Apr 2010 13:11:55
 +0800<br>From: wei su &lt;<a ymailto="mailto:suwei19870312@gmail.com" href="mailto:suwei19870312@gmail.com">suwei19870312@gmail.com</a>&gt;<br>Subject: [Live-devel] RTP PCMU-audio and H263-video problem?<br>To: <a ymailto="mailto:live-devel@ns.live555.com" href="mailto:live-devel@ns.live555.com">live-devel@ns.live555.com</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:z2jc89958b51004272211q99e401f0ofc8d6a786eb0cce5@mail.gmail.com" href="mailto:z2jc89958b51004272211q99e401f0ofc8d6a786eb0cce5@mail.gmail.com">z2jc89958b51004272211q99e401f0ofc8d6a786eb0cce5@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>hi *Ross:*<br>*I need some help!<br>*<br>*I recently use live555 to implement a RTP streaming relay, I have to relay<br>PCMU-audio and H263-video from a media server to RTSP client,*<br>*when I only relay PCMU-audio or H263-video it works ok, but when i want<br>relay both of them it works weird,*<br>*it can
 send aduio in 2 seconds, and then re-cache the rtp streaming, then<br>the audio can't be send<br>*<br>*, but video works well. I am sorry my english is not good.*<br>*this is frame work of my PCMU-audio&nbsp; relay:*<br>*1. I use SimpleRTPSource::createNEW() to get the RTP streaming.*<br>*2. I use SimpleRTPSink::createNEW() to create audioSink.*<br>*3.I use audioSink to play audioSource. *<br>*and it works well.*<br>*<br>*<br>*this is frame work of my H263-video relay:*<br>*1. I use SimpleRTPSource::createNew() to get the RTP streaming.*<br>*2. I use H263plusVideoStreamFramer::createNew() to create video source.*<br>*3. I use H263plusVideoRTPSink::createNew() to create video sink.*<br>*4. I use videosink to play videosource.*<br>*an it works well.*<br>*<br>*<br>*but after relay both of them. it woks weird.*<br>*1. ServerMediaSession* sms = ServerMediaSession::createNew(*env, 8554).*<br>*2. RTSPServer* rtspServer = RTSPServer::createNew(*ene,
 8554).*<br>*3. sms-&gt;addSubsession(PassiveServerMediaSubsession::create(*audiosink,<br>audioRTCP)).*<br>*4. sms-&gt;addSubsession(PassiveServerMediaSubsession::create(*videosink,<br>videoRTCP)).*<br>*5. rtspServer-&gt;addServerMediaSession(sms);*<br>*6. audioSink-&gt;startPlaying(*aduioSource, afterPlaying, audioSink);*<br>*7. videoSink-&gt;startPlaying(*videoSource, afterPlaying, videoSink);*<br>*<br>*<br>*<br>*<br>*<br>*<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: &lt;<a target="_blank" href="http://lists.live555.com/pipermail/live-devel/attachments/20100428/ba9a0f70/attachment.html">http://lists.live555.com/pipermail/live-devel/attachments/20100428/ba9a0f70/attachment.html</a>&gt;</span><br><br>------------------------------<br><br>_______________________________________________<br>live-devel mailing list<br><a ymailto="mailto:live-devel@lists.live555.com"
 href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br><br><br>End of live-devel Digest, Vol 78, Issue 7<br>*****************************************<br></div></div>
</div><br>







      </body></html>