I don't know much about this 3rd party addon, but from what you report it is installed and working. I'm not sure what you want it to do and if it is working as you expect, but it is doing something.
Richard
I don't know much about this 3rd party addon, but from what you report it is installed and working. I'm not sure what you want it to do and if it is working as you expect, but it is doing something.
Richard
Finally got plugin working and blocking access to stream. One thing only left there is option to rewrite stream with video clip, but something is wrong and flowplayer is showing error " 200....stream not found". Why wowza is not rewriting stream or problem is in different part?
application.xml
wowza access logCode:<!-- GeolocationPlaybackFile The parameter should provide a clip or stream which tells the user via video, why he can't access some of the sites content. Only used if GeolocationPlaybackShutdown is set to false. --> <Property> <Name>GeolocationPlaybackFile</Name> <Value>labaca.flv</Value> <Type>String</Type> </Property>
Code:create stream INFO 200 - - _defaultVHost_ live _definst_ 0.0 [any] 1935 rtmp://178.16.16.214/live 67.21.3.53 rtmp http://i2.veritweet.com/video/flowplayer/flowplayer.commercial-3.2.7.swf WIN 10,3,181,26 75239959 3496 3413 1 0 0 0 - - - - - - rtmp://178.16.16.214/live rtmp://178.16.16.214/live - rtmp://178.16.16.214/live - 2011-08-10 10:48:06 EEST comment server INFO 200 - geoip.debug: Checking stream: stream / IP: 67.21.3.53 - - - 85.831 - - - - - - - - - - - - - - - - - - - - - - - - - 2011-08-10 10:48:06 EEST comment server INFO 200 - geoip.debug: GEO2 RESTRICTING playback. - - - 85.831 - - - - - - - - - - - - - - - - - - - - - - - - - 2011-08-10 10:48:06 EEST comment server INFO 200 - geoip.debug: play - rewriting stream to labaca.flv - - - 85.831 - - - - - - - - - - - - - - - - - - - - - - - - - 2011-08-10 10:48:10 EEST destroy stream INFO 200 labaca.flv - _defaultVHost_ live _definst_ 4.134 [any] 1935 rtmp://178.16.16.214/live 67.21.3.53 rtmp http://i2.veritweet.com/video/flowplayer/flowplayer.commercial-3.2.7.swf WIN 10,3,181,26 75239959 3616 3646 1 - 0 0 labaca.flv - - - - - rtmp://178.16.16.214/live/labaca.flv rtmp://178.16.16.214/live/labaca.flv - rtmp://178.16.16.214/live - 2011-08-10 10:48:10 EEST disconnect session INFO 200 75239959 - _defaultVHost_ live _definst_ 4.82 [any] 1935 rtmp://178.16.16.214/live 67.21.3.53 rtmp http://i2.veritweet.com/video/flowplayer/flowplayer.commercial-3.2.7.swf WIN 10,3,181,26 75239959 3616 3646 - - - - - - - - - - - - - rtmp://178.16.16.214/live - 2011-08-10 10:48:14 EEST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/stream]: Add chunk: id:9 a/v/k:394/258/2 duration:10279 - - - 93.647 - - - - - - - - - - - - - - - - - - - - - - - - - 2011-08-10 10:48:14 EEST comment server INFO 200 -
You are trying to fallback to a file in a live application, which won't work. The GeolocationPlaybackFile should be a live stream.
You could play labaca.flv as a live stream in a loop using the Stream class. Take a look at these examples:
http://www.wowza.com/forums/content....-Class-Example
http://www.wowza.com/forums/content....t-in-smil-file
Richard
Thank youThat's works perfect!
Cool, thanks for the update.
Richard
Hi Guys,
My Wowza version: Wowza Media Server 2 Perpetual 2.2.4.01 build27503
I wanted to use Geoip Module to allow access to limited countries i did this
1- Copy geoip to lib
2- Create new folders called go in both conf& Application folders
3- Configure Application.XML for live stream
4- Copy GeoIP.dat to C:\
5- Ceate locationinfo.xml
6 - Added the follwoing properties to Application.xml
Problem: Streaming Playbalk working only for DE while i make exception for 5 countries, it seems the module doesn't read the locationinfo.xml file
What I am missing here?
HTML Code:<Module> <Name>geoip</Name> <Description>GeoIP</Description> <Class>com.monotek.wms.module.GeoIP</Class> </Module>LocationInfo.xmlHTML Code:<!-- GeolocationDefaultRestrict: 0 = don't restrict by default, 1 = restrict by default --> <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>DE</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> <!-- GeolocationConfigFile: absolute path to config file --> <Property> <Name>GeolocationConfigFile</Name> <Value>>c:\locationinfo.xml</Value> <Type>String</Type> </Property> <!-- GeolocationPlaybackFile The parameter should provide a clip or stream which tells the user via video, why he can't access some of the sites content. Only used if GeolocationPlaybackShutdown is set to false. --> <!-- GeolocationDebug: turns on/off debugging, default is false --> <Property> <Name>GeolocationDebug</Name> <Value>true</Value> <Type>Boolean</Type> </Property> <!-- GeoIPDatabase: default location: /usr/share/GeoIP/GeoIP.dat --> <Property> <Name>GeoIPDatabase</Name> <Value>c:\GeoIP.dat</Value> <Type>String</Type> </Property>
Thanks!HTML Code:<?xml version="1.0" encoding="utf-8" ?> <LocationInfo> <Location path="go/" restrict="all"> <Except type="country">US</Except> <Except type="country">SI</Except> <Except type="country">MA</Except> <Except type="country">CA</Except> <Except type="country">EG</Except> </Location> </LocationInfo>
Last edited by robert22; 09-05-2011 at 09:34 AM.
Hi,
since i have a large number of files that i have to block and i don't want wowza to parse a large xml, i was wondering is there an option to have a single xml file for each video located in same dir as video?
Thank you in advance for your help.
jonny
Hi jonny,
You'll probably have to modify the code to add that feature. Note that user "titpetric" made a fork available in the second post in this thread. I see it was updated just 7 months ago.
Hi again!
Now that i have got over initial problems with module, i have spent some time to analyse it, and came up with a problem.
So the question is can i get stream name for vod onAppStart?
If yes, due to my juniority in wowza, i wouldn't mind some guiding.
Tanks again for your help.
Best regards.
jonny
No, it's much too soon. The soonest you can get stream name server-side is by overriding play
http://www.wowza.com/forums/content....ess-to-content
Or in IMediaStreamActionNotify3 onPlay
http://www.wowza.com/forums/content....-of-codec-info
Richard