Question
Allowed subnet mask IP
hi,
i have a code which is restrict publish from specified IP., if publisher is not 123.123.123.123 IP he cannot publish stream.
Now i want Subnet mask IP to allowed like 123.123.123.0/16.
application.onPublish = function(p_client, streamname){
if (p_client.ip != "123.123.123.123"){
application.disconnect(p_client);
}
}
