<div dir="ltr"><div><div><div><div><div>Hi!<br></div>I'm use your class rtsp server.<br></div>if I creat below, it is operator very good with multi-client connected to ServerMediaSession. No packet loss.<br>      ServerMediaSession* sms =    ServerMediaSession::createNew(*env,           streamName,  streamName,  descriptionString);<br>
    sms->addSubsession(H264VideoFileServerMediaSubsession<br>               ::createNew(*env, inputFileName, reuseFirstSource));<br>rtspServer->addServerMediaSession(sms);<br><br><br></div>but if I creat below, each ServerMediaSession have 1 client connected, the packet loss is large.<br>
<br>ServerMediaSession* sms =    ServerMediaSession::createNew(*env,           streamName,  streamName,  descriptionString);<br>    sms->addSubsession(H264VideoFileServerMediaSubsession<br>               ::createNew(*env, inputFileName, reuseFirstSource));<br>
rtspServer->addServerMediaSession(sms);<br><br>ServerMediaSession* sms2 =    ServerMediaSession::createNew(*env,           streamName2,  streamName2,  descriptionString);<br>    sms2->addSubsession(H264VideoFileServerMediaSubsession<br>
               ::createNew(*env, inputFileName, reuseFirstSource));<br>rtspServer->addServerMediaSession(sms2);<br><br><br><br></div>can you help me explain and fix this problem?<br></div>Thank you<br><div><div><br><br>
<br><br><div><br><br></div></div></div></div>