<P>class DynamicRTSPServer : public RTSPServer<BR>{</P>
<P>protected:<BR> class YKRTSPClientSession : public RTSPServer::RTSPClientSession<BR> {<BR> public:<BR>  YKRTSPClientSession(RTSPServer& ourServer, unsigned sessionId,<BR>   int clientSocket, struct sockaddr_in clientAddr);<BR>  virtual ~YKRTSPClientSession();<BR> };<BR>};</P>
<P> </P>
<P>error follows:</P>
<P>d:\develop\develop\interfacertspserver\src\dynamicrtspserver.h(69) : error C2248: 'RTSPClientSession' : cannot access protected class declared in class 'RTSPServer'</P>
<DIV> </DIV>
<DIV><includetail>
<DIV> </DIV>
<DIV> </DIV>
<DIV style="COLOR: #000">
<DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px; FONT-FAMILY: Arial Narrow">------------------ Original ------------------</DIV>
<DIV style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>From: </B> "Ross Finlayson"<finlayson@live555.com>;</DIV>
<DIV><B>Date: </B> Tue, Nov 16, 2010 01:09 PM</DIV>
<DIV><B>To: </B> "LIVE555 Streaming Media - development & use"<live-devel@ns.live555.com>; <WBR></DIV>
<DIV></DIV>
<DIV><B>Subject: </B> Re: [Live-devel] inherit from RTSPClientSession</DIV></DIV>
<DIV> </DIV>>this can't help.it said i can't access protected member.<BR><BR>You have to be more specific.  *Which* protected member??<BR>-- <BR><BR>Ross Finlayson<BR>Live Networks, Inc.<BR>http://www.live555.com/<BR>_______________________________________________<BR>live-devel mailing list<BR>live-devel@lists.live555.com<BR>http://lists.live555.com/mailman/listinfo/live-devel<BR></DIV></includetail></DIV>