I am using the GeoIP .jar file and conf files.
The jar file works very well with the Application.xml file, but it
cannot read/find/use the locationinfo.xml file.
I have seen carefully if there is any punctuation or extra character,
like ">", but there is no extra characters or punctuation mistakes.
I am attaching here the Application.xml file inside the application /vods3 and the locationinfo.xml for the Application.xml file.
The Wowza Server is 2.2.4 and works very well with the GeoIP.jar
published on your Git website. But only with the default behaviour that Application.xml gives when locationinfo.xml is not present or is malformed.
Thanks in advance.
Erwin
locationinfo.xml:
By using this locationinfo.xml, I suppose the users in USA can watch the videos, but theyare not able to watch it, because the locationinfo.xml is not loaded.
Application.xml:Code:<?xml version="1.0" encoding="UTF-8" ?> <LocationInfo> <Location path="vods3/" restrict="all"> <Except type="country">US</Except> </Location> </LocationInfo>
Code:<Property> <Name>GeolocationDefaultRestrict</Name> <Value>1</Value> <Type>Integer</Type> </Property> <!-- If GeolocationDefaultRestrict = 1, and xml config is missing/invalid, restrict to this country --> <Property> <Name>GeolocationDefaultRestrictCountry</Name> <Value>AT</Value> <Type>String</Type> </Property> <Property> <Name>GeolocationConfigFile</Name> <Value>${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/locationinfo.xml</Value> <Type>String</Type> </Property> <!-- If set to True or unset, shuts down Client stream if geoip check fails --> <Property> <Name>GeolocationPlaybackShutdown</Name> <Value>True</Value> <Type>Boolean</Type> </Property> <Property> <Name>GeolocationPlaybackFile</Name> <Value>mp4:Extremists.m4v</Value> <Type>String</Type> </Property> <Property> <Name>GeolocationDebug</Name> <Value>true</Value> <Type>Boolean</Type> </Property> <Property> <Name>GeoIPDatabase</Name> <Value>/usr/share/GeoIP/GeoIP.dat</Value> <Type>String</Type> </Property> </Properties> </Application> </Root>


Reply With Quote
