[Live-devel] RTSP server extending
Vlad Seryakov
vlad at crystalballinc.com
Mon Apr 9 08:59:33 PDT 2007
- As a minimum would be nice to be able to redefine:
void incomingConnectionHandler1();
or create another virtual function which is called inside
incomingConnectionHandler1 with new accepted socket,
so if i need to check network access so i can call getpeername on the
new accepted socket
- Have access to
int fServerSocket;
Port fServerPort;
- Ability to re-define Authenticator, may be move authentication to the
RTSPServer
Ross Finlayson wrote:
>> Was it intentional that RTSPServer class is impossible to extend because
>> everything is private?
>
> No, the intention was to allow people to extend this class - although
> not indiscriminately. If there are specific fields and/or member
> functions that you feel should be "protected:" instead of "private:",
> and specific member functions that you feel should be "virtual", let
> us know, and we'll likely make these changes in the next release of
> the software.
>
>> I have to to copy it and re-create because i need different access
>> control and socket manipulations, it would be much easier just to extend
>> Authenicator and incomingConnectionHandler1
>
> Please let me know what specific changes you would like to see made
> in order to make this possible.
More information about the live-devel
mailing list