[Live-devel] Publish two streams (one without audio) from a camera

Manuel manuel.carrizo at intraway.com
Thu Apr 7 14:49:09 PDT 2011


Hi, I'm trying to get the audio and video stream from a camera using
RTSPClient and then publish a stream with audio and video and another stream
with video only.

This is what I have:

I create a RTSPServer
I create two ServerMediaSession, sms_with_audio and sms_without_audio
RTSPClient connects to camera
I get the SDP
I build a MediaSession from the sdp
I iterate the subsessions, calling ServerMediaSession::addSubsession() for
the video subsession on sms_with_audio and sms_without_audio and for the
audio subsession on sms_with_audio
Then I add the SMSs to the RTSPServer
Call RTSPClient::playMediaSession
and finally start the event loop

My problem is that if I try to play the stream without audio, it freezes
after a few seconds.

What could I be missing?

Thanks in advance,

Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110407/747f037d/attachment.html>


More information about the live-devel mailing list