You could do something in onConnect on the origin like this:
Code:
package test;
import com.wowza.wms.amf.*;
import com.wowza.wms.client.*;
import com.wowza.wms.module.*;
import com.wowza.wms.request.*;
public class ModuleLimitToEdges extends ModuleBase {
public void onConnect(IClient client, RequestFunction function,
AMFDataList params) {
String userAgent = client.getFlashVer();
String page = client.getPageUrl();
getLogger().info("UserAgent: " + userAgent); // Edge returns WIN 10,0,12,36
getLogger().info("PageURL: " + page); // if edge this will be "unknown"
String ipAddress = client.getIp(); // if you know Ip of each edge this can be useful
}
}
Richard