Hi Wei Su, >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 >http://www.mail-archive.com/[email protected]/msg03995.html for the >same.
Please let me know if this helps or you still face problems. Cheers, Ganesh 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. Date: Wed, 28 Apr 2010 13:11:55 +0800 From: wei su <[email protected]> Subject: [Live-devel] RTP PCMU-audio and H263-video problem? To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" hi *Ross:* *I need some help! * *I recently use live555 to implement a RTP streaming relay, I have to relay PCMU-audio and H263-video from a media server to RTSP client,* *when I only relay PCMU-audio or H263-video it works ok, but when i want relay both of them it works weird,* *it can send aduio in 2 seconds, and then re-cache the rtp streaming, then the audio can't be send * *, but video works well. I am sorry my english is not good.* *this is frame work of my PCMU-audio relay:* *1. I use SimpleRTPSource::createNEW() to get the RTP streaming.* *2. I use SimpleRTPSink::createNEW() to create audioSink.* *3.I use audioSink to play audioSource. * *and it works well.* * * *this is frame work of my H263-video relay:* *1. I use SimpleRTPSource::createNew() to get the RTP streaming.* *2. I use H263plusVideoStreamFramer::createNew() to create video source.* *3. I use H263plusVideoRTPSink::createNew() to create video sink.* *4. I use videosink to play videosource.* *an it works well.* * * *but after relay both of them. it woks weird.* *1. ServerMediaSession* sms = ServerMediaSession::createNew(*env, 8554).* *2. RTSPServer* rtspServer = RTSPServer::createNew(*ene, 8554).* *3. sms->addSubsession(PassiveServerMediaSubsession::create(*audiosink, audioRTCP)).* *4. sms->addSubsession(PassiveServerMediaSubsession::create(*videosink, videoRTCP)).* *5. rtspServer->addServerMediaSession(sms);* *6. audioSink->startPlaying(*aduioSource, afterPlaying, audioSink);* *7. videoSink->startPlaying(*videoSource, afterPlaying, videoSink);* * * * * * * -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100428/ba9a0f70/attachment.html> ------------------------------ _______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel End of live-devel Digest, Vol 78, Issue 7 *****************************************
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
