Wowza Community

Module Collection

I added ModuleGetConnectionCount to my application, but how do i view the viewers live, what application can i use to get this data?

Okay i went to the address above…and i got this

41951195101785.0180662.0_defaultVHost_240960.684041951195101785.0180663.0simplevideostreamingloaded80773.1254737306.078640.0_definst_80773.1254737306.078275.02010_0205100012010_020730003

I dont know what that suppose to mean…

Okay, i see the the XML…but just to share info…i tried Google Chrome & Safari on Mac and it didn’t work…i’ll try firefox and see if it does…

hi,

I’m trying to use the ServerListenerStreamPublisher module. It works ok.

The only problem is that I can only edit the .smil “by hand”. the LiveStudio app

can watch the stream, but when i try to use the playlist buttons i get this in my wowza logs:

Missing function: addNewStream

Missing function: addNewPlaylist

Missing function: addItemToPlaylist

Missing function: openPlaylistOnStream

Filip Szulczewski

thank you very much. It works

To do this, and regarding your questions, you should use Sawmill

Does anybody know if ModuleLimitConnectionsToApplication can be used to limit connections to live streams that are NON-rtmp? For example, will the module work to limit connections to Silverlight, RTSP and HTTP/iPhone streaming clients?

If not, does anybody know a way to limit connections to these types of streaming clients?

Thanks,

Greg

Sorry, I’m a newbie :frowning:

I’m trying to use the module ModuleGetConnectionCount to get statistics about the listeners.

I need to know the id of every single listener because I need to develop a database collection to provide the number of listeners during the day, how many minutes they were connected and so on.

So I’ve copied on the server wms-plugin-collection.jar into the lib folder.

I’ve inserted:

<Module>
	<Name>ModuleGetConnectionCount</Name>
	<Description>ModuleGetConnectionCount</Description>
	<Class>com.wowza.wms.plugin.collection.module.ModuleGetConnectionCount</Class>
</Module>

into the conf application file, and I’ve restarted the server.

But now?

I’ve understood that I have to create a flash applet using the code written on the readme file, but I don’t understand where are the connection command: where do I specify the ip address of the server?

Probably I’m missing something, someone can help me?

Another question: is it possible to get the ip of every single person accesing to a stream?

I need it to get the country of the people coming to the server.

Thanks again.

Dave

Thanks Deckard,

I’m going to give a look at sawmill.

Anyway, to learn how does it works, do you know how can I use ModuleGetConnectionCount module?

Have a good sunday!

Dave

Sorry, but I post my question again.

I’ve tried sawmill but I’d like to use the native wowza component.

I’m trying to use the module ModuleGetConnectionCount to get statistics about the listeners.

I need to know the id of every single listener because I need to develop a database collection to provide the number of listeners during the day, how many minutes they were connected and so on.

So I’ve copied on the server wms-plugin-collection.jar into the lib folder.

I’ve inserted:

<Module>
	<Name>ModuleGetConnectionCount</Name>
	<Description>ModuleGetConnectionCount</Description>
	<Class>com.wowza.wms.plugin.collection.module.ModuleGetConnectionCount</Class>
</Module>

into the conf application file, and I’ve restarted the server.

But now?

I’ve understood that I have to create a flash applet using the code written on the readme file, but I don’t understand where are the connection command: where do I specify the ip address of the server?

Probably I’m missing something, someone can help me?

Be patience with me and thanks again.

Dave

Hi Guys,

I’m try to use ServerPublisher with LiveStudio.html, when I execute some commands receive this response:

WARN server comment - Missing function: playNextPlaylistItem

WARN server comment - Missing function: addNewStream

Y have added the line in ServerListener, I forget setting something else?

#####################################

The info missing in the readme.html is here: http://www.wowza.com/forums/showpost.php?p=32822&postcount=5

#####################################

But now have this error:

ERROR server comment - invoke(playNextPlaylistItem): java.lang.NullPointerException: com.wowza.wms.plugin.collection.module.ModuleStreamControl.playNextPlaylistItem(ModuleStreamControl.java:43)
java.lang.NullPointerException
    at com.wowza.wms.plugin.collection.module.ModuleStreamControl.playNextPlaylistItem(ModuleStreamControl.java:43)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.wowza.wms.module.ModuleFunction.invoke(Unknown Source)
    at com.wowza.wms.module.ModuleFunctions.invoke(Unknown Source)
    at com.wowza.wms.request.RequestProcessFunctions.processFunctions(Unknown Source)
    at com.wowza.wms.client.ClientWorker.processNextReq(Unknown Source)
    at com.wowza.wms.request.RTMPRequestAdapter.service(Unknown Source)
    at com.wowza.wms.server.ServerHandler.serviceRequest(Unknown Source)
    at com.wowza.wms.server.ServerHandler.handleMessageReceived(Unknown Source)
    at com.wowza.wms.server.ServerHandler.messageReceived(Unknown Source)
    at com.wowza.wms.server.ServerHandlerThreadedSession.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Thanks

Ale

Trini,

This module is bundle with Wowza2 by default.

You can watch this in this URL: http://SERVER_IP:8086/connectioncounts

Remenber first add your user/password in the admin.password file inside of conf directory

Regards,

Ale

Trini, some browsers have activated optimization for all the JS, and XML, this way they cut the XML tags, for developers at this moment Firefox is the best option.

Regards,

Ale

Richards,

has in some place the Source Code for this module: ModuleVideoNameList?

And two questions:

1- this work with S3?

2- If possible call the list from JAVA directly?

Thanks,

Ale

Filip,

Check this post:

http://www.wowza.com/forums/showpost.php?p=33636&postcount=5

Regards,

Ale

Hi,

I’d like to try the ServerListenerStreamPublisher so I followed the readme.

I downloaded the precompiled modules and copied the wms-plugin-collection.jar file under the lib folder.

As written in the readme I created the streamschedle.smil file under the content folder and finally added the directive to the Server.xml file.

When I start the server I got the following java exception.

Pls help.

INFO vhost comment _defaultVHost_ Bind attempt ([any]:8086)
INFO vhost comment _defaultVHost_ Bind successful ([any]:8086)
Error starting: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:248)
        at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:47)
Caused by: java.lang.NullPointerException
        at com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher.onServerInit(ServerListenerStreamPublisher.java:27)
        at com.wowza.wms.server.Server.notifyServerInit(Unknown Source)
        at com.wowza.wms.server.Server.start(Unknown Source)
        ... 6 more

Thank you!

Working as expected…

I’m trying the compiled version of StreamPublisherServerListener, but I have an unexpected error. I have followed all the instructions, but I don’t see anything in the logs.

If I rename the streamscheduler.smil file, I see the “Could not find playlist file”, so the class is loaded. However, if I remove all “stream” and “playlist” sections from the example smil file, i don’t see the “No playlists defined in smil file” error, so I think that there is some exception between lines 38 and 41 of the code.

The problem is that the try-catch block of that code is not logging the exception, so I can’t debug it. Could you put some logging lines in the catch section of the StreamPluisherServerListener.onServerInit ?

I am a new subscriber to your Wowza Server on EC2. I would like to use the SMIL playlist that you so graciously posted. I can understand how to fill in the placeholders, but what do I do with it after it is all ready to be used. If I have to put the file in a folder, how do I actually do this using EC2?

videoeditor

I found the reference in the EC2 guide. Using my favorite ftp client (Filezilla) I entered my public DNS copied to the clipboard from Elastifox, then entered the default username and password, switched to Active mode. I never could log on to the server. Not being able to use ftp will probably limit my usage of this server. I just don’t know how much it will affect our mission yet.

videoeditor