> A cycle with ServerMediaSubsessionIterator is used in > RTSPServer::RTSPClientSession::handleCmd_SETUP() to calculate the value > of fNumStreamStates. > > I wonder why ServerMediaSession::numSubsessions() isn't used for it? > Could they have different results?
In principle, yes - if a new “ServerMediaSubsession” object happened to be added to the “ServerMediaSession” sometime after the “SETUP” command was handled. (Normally that won’t happen though, because normally all of the “ServerMediaSubsession” objects are added to the “ServerMediaSession” before the server starts handling commands.) Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel