[Live-devel] RTP PCMU-audio and H263-video problem?

Ganesh V ganesh_vijayan at yahoo.com
Thu Apr 29 02:34:29 PDT 2010


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/live-devel@lists.live555.com/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 <suwei19870312 at gmail.com>
Subject: [Live-devel] RTP PCMU-audio and H263-video problem?
To: live-devel at ns.live555.com
Message-ID:
    <z2jc89958b51004272211q99e401f0ofc8d6a786eb0cce5 at mail.gmail.com>
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
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


End of live-devel Digest, Vol 78, Issue 7
*****************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100429/81c3838c/attachment.html>


More information about the live-devel mailing list