Question
how to improve this code
i have a code which only allowed ip list below in adobe media server main.asc.
any other code? i want 10 ip's allowed to be publish.
thanks,
application.onPublish = function(p_client, streamname){
if (p_client.ip != "123.123.123.123" && p_client.ip != "123.123.123.129" && p_client.ip != "222.222.222.222"){
application.disconnect(p_client);
}
}
