[Live-devel] RTSP Server lost packet when stream multi-file.

Cường Lê cuonglm1489 at gmail.com
Sun Jul 27 03:57:09 PDT 2014


Hi!
I'm use your class rtsp server.
if I creat below, it is operator very good with multi-client connected to
ServerMediaSession. No packet loss.
      ServerMediaSession* sms =
ServerMediaSession::createNew(*env,           streamName,  streamName,
descriptionString);
    sms->addSubsession(H264VideoFileServerMediaSubsession
               ::createNew(*env, inputFileName, reuseFirstSource));
rtspServer->addServerMediaSession(sms);


but if I creat below, each ServerMediaSession have 1 client connected, the
packet loss is large.

ServerMediaSession* sms =    ServerMediaSession::createNew(*env,
streamName,  streamName,  descriptionString);
    sms->addSubsession(H264VideoFileServerMediaSubsession
               ::createNew(*env, inputFileName, reuseFirstSource));
rtspServer->addServerMediaSession(sms);

ServerMediaSession* sms2 =    ServerMediaSession::createNew(*env,
streamName2,  streamName2,  descriptionString);
    sms2->addSubsession(H264VideoFileServerMediaSubsession
               ::createNew(*env, inputFileName, reuseFirstSource));
rtspServer->addServerMediaSession(sms2);



can you help me explain and fix this problem?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140727/316e437a/attachment.html>


More information about the live-devel mailing list