Disable RTMPT\RTMPTE
Hi,
I have FMIS server.
1) I want my server to accept RTMPT\RTMPTE when streams are published on to it and
want to reject RTMPT|RTMPTE when some client tries to connect using these protocols.
I think i should write server side actionscript to reject connection on RTMPT protocols, this should server the purpose as above.
application.onConnect = function(clientObj) {
//reject rtmpte or rtmpt
if(clientObj.protocol == "rtmpt" || clientObj.protocol == "rtmpte"){
return false;
}
return true;
}
If i set <DisallowedProtocols>rtmpt,rtmpte</DisallowedProtocols>, this will disable both publishing and connecting using these protocols?
2) If i do not want to use port 80, i need to
Remove 80 from the ADAPTOR.HOSTPORT parameter so the parameter looks like the following:
ADAPTOR.HOSTPORT = :1935
Pls confirm above 2 queries.
thanks,
Pooja
