# Module Collection

**URL:** <https://community.wowza.com/t/module-collection/237>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [October 29, 2009, 8:09pm UTC](https://community.wowza.com/t/module-collection/237 "2009-10-29T20:09:25Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 4, 2010, 5:57pm UTC](https://community.wowza.com/t/module-collection/237/21 "2010-06-04T17:57:23Z")

</div>

Great, thanks for the update. Glad it’s working.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [September 27, 2010, 10:16pm UTC](https://community.wowza.com/t/module-collection/237/22 "2010-09-27T22:16:06Z")

</div>

I added it to the list: “ModuleLimitPublishedStreamBandwidth”

[https://www.wowza.com/forums/showthread.php?t=8465](https://www.wowza.com/forums/showthread.php?t=8465)

Richard

---

<div class="post-metadata">

**Author:** ![Glen\_Lumanau](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@Glen\_Lumanau](https://community.wowza.com/u/Glen_Lumanau)\
**Post date:** [March 10, 2010, 6:10am UTC](https://community.wowza.com/t/module-collection/237/23 "2010-03-10T06:10:38Z")

</div>

Hi Richard,

I tried to use ModuleLimitConnectionsToApplication

```auto
<Module>
	<Name>ModuleLimitConnectionsToApplication</Name>
	<Description>Limit connnections to an application</Description>
	<Class>com.wowza.wms.plugin.collection.module.ModuleLimitConnectionsToApplication</Class>
</Module>

```

and add this to Properties

```auto
<Property>
	<Name>maxApplicationConnections</Name>
	<Value>200</Value>
	<Type>Integer</Type>
</Property>

```

after restarting Wowza then trying to connect using FM, it can’t connect. But when I remove that line, can be connected without any problems

also have tried inserting ModuleGetConnectionCount but have the same problem

can you please tell me why?

i’m using Wowza 2.0

---

<div class="post-metadata">

**Author:** ![Glen\_Lumanau](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@Glen\_Lumanau](https://community.wowza.com/u/Glen_Lumanau)\
**Post date:** [March 11, 2010, 2:52am UTC](https://community.wowza.com/t/module-collection/237/24 "2010-03-11T02:52:25Z")

</div>

> You have to add this property also for the encoder:
> 
> ```auto
> <Property>
> <Name>AllowEncoder</Name>
> <Value>Wirecast</Value> <!--FM, Wirecast-->
> </Property>
> 
> ```
> 
> Richard

I already put FM

but my FME still can’t connect when I enabling that features.

Is there any problem if I use MediaSecurity aswell with this module collection?

---

<div class="post-metadata">

**Author:** ![Glen\_Lumanau](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@Glen\_Lumanau](https://community.wowza.com/u/Glen_Lumanau)\
**Post date:** [March 12, 2010, 3:13pm UTC](https://community.wowza.com/t/module-collection/237/25 "2010-03-12T15:13:52Z")

</div>

> Shouldn’t be a conflict with MediaSecurity addon. Check the logf files, this module is reporting the value that the enocder is giving for Flashver. Look for a comment like:
> 
> But it wouldn’t be “FM”, something else. What it is, use that in the Property.
> 
> Richard

i tried to find Flashver on access & error log, but can’t find any.

the errors give me a Not Responding FME responds

---

<div class="post-metadata">

**Author:** ![Glen\_Lumanau](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@Glen\_Lumanau](https://community.wowza.com/u/Glen_Lumanau)\
**Post date:** [March 22, 2010, 4:22am UTC](https://community.wowza.com/t/module-collection/237/26 "2010-03-22T04:22:17Z")

</div>

> It would be in the access log. If this module is installed, it will write the Flashver to the log when the encoder starts publishing. So maybe it is the way you are using MediaSecurity package. I would remove the MediaSecurity module to debug.
> 
> Richard

I tried to remove MediaSecurity package.

But still can’t get anythink respond on my FME. My FME become not responding

---

<div class="post-metadata">

**Author:** ![Bingo\_Bongo](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@Bingo\_Bongo](https://community.wowza.com/u/Bingo_Bongo)\
**Post date:** [February 23, 2010, 6:13pm UTC](https://community.wowza.com/t/module-collection/237/27 "2010-02-23T18:13:16Z")

</div>

Hi, thanks for the collection…

but I can’t get any results…

I’m working on: Wowza 1.7.2 - on Flash AS 2

I did all the steps: insert the additional module on the xml file, and insert on my project AS2 the codes you wrote on the guide.

My Netstream object name is: nsPlay

The stream name is “myStreamName” used on _nsPlay.play(liveStreamName);_

I call the following function after the succefull connection:

```auto
function getAccountInfo() {
var ncServerResults = new Object()
ncServerResults.onResult = function(count:Number)
{
	trace("server: "+count);
}
......
......
var streamName:String = myStreamName;
var ncStreamListResults = new Object()
ncStreamListResults.onResult = function(list:Array)
{
	trace("clients");
	for(var i:Number=0;i<list.length;i++)
		trace("["+i+"]: "+list[i]);
}
nc.call("getStreamClientIds", ncStreamListResults, streamName);
}

```

but the results is:

_onMetaData presetname = Custom_

_onMetaData title =_

_onMetaData rating =_

_onMetaData keywords =_

_onMetaData description =_

_onMetaData copyright =_

_onMetaData author =_

Could be the problem on the Ports settings? I have already open the ports: 1935, UDP 8086 and for testing use all the range from 6970-9999.

I would be very grateful for any help!

Thanks

---

<div class="post-metadata">

**Author:** ![Asa\_Pierre](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@Asa\_Pierre](https://community.wowza.com/u/Asa_Pierre)\
**Post date:** [February 11, 2010, 6:35pm UTC](https://community.wowza.com/t/module-collection/237/28 "2010-02-11T18:35:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Asa\_Pierre](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@Asa\_Pierre](https://community.wowza.com/u/Asa_Pierre)\
**Post date:** [February 12, 2010, 6:06am UTC](https://community.wowza.com/t/module-collection/237/29 "2010-02-12T06:06:59Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Asa\_Pierre](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@Asa\_Pierre](https://community.wowza.com/u/Asa_Pierre)\
**Post date:** [February 12, 2010, 8:58am UTC](https://community.wowza.com/t/module-collection/237/30 "2010-02-12T08:58:59Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![filip\_szulczewski](https://avatars.discourse-cdn.com/v4/letter/f/b77776/32.png) [@filip\_szulczewski](https://community.wowza.com/u/filip_szulczewski)\
**Post date:** [March 2, 2010, 4:10am UTC](https://community.wowza.com/t/module-collection/237/31 "2010-03-02T04:10:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![filip\_szulczewski](https://avatars.discourse-cdn.com/v4/letter/f/b77776/32.png) [@filip\_szulczewski](https://community.wowza.com/u/filip_szulczewski)\
**Post date:** [March 2, 2010, 4:34am UTC](https://community.wowza.com/t/module-collection/237/32 "2010-03-02T04:34:20Z")

</div>

thank you very much. It works

---

<div class="post-metadata">

**Author:** ![Sebastien\_Faure](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sebastien\_Faure](https://community.wowza.com/u/Sebastien_Faure)\
**Post date:** [March 14, 2010, 12:17pm UTC](https://community.wowza.com/t/module-collection/237/33 "2010-03-14T12:17:37Z")

</div>

To do this, and regarding your questions, you should use [Sawmill](https://www.wowza.com/forums/showthread.php?t=7058) …

---

<div class="post-metadata">

**Author:** ![Samsung\_Master](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Samsung\_Master](https://community.wowza.com/u/Samsung_Master)\
**Post date:** [January 4, 2010, 11:48am UTC](https://community.wowza.com/t/module-collection/237/34 "2010-01-04T11:48:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dave\_love](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@dave\_love](https://community.wowza.com/u/dave_love)\
**Post date:** [March 14, 2010, 12:07pm UTC](https://community.wowza.com/t/module-collection/237/35 "2010-03-14T12:07:15Z")

</div>

Sorry, I’m a newbie ☹

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:

```auto
<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

---

<div class="post-metadata">

**Author:** ![dave\_love](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@dave\_love](https://community.wowza.com/u/dave_love)\
**Post date:** [March 14, 2010, 12:38pm UTC](https://community.wowza.com/t/module-collection/237/36 "2010-03-14T12:38:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dave\_love](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@dave\_love](https://community.wowza.com/u/dave_love)\
**Post date:** [March 14, 2010, 7:22pm UTC](https://community.wowza.com/t/module-collection/237/37 "2010-03-14T19:22:31Z")

</div>

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:

```auto
<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

---

<div class="post-metadata">

**Author:** ![Alejandro\_Ferrari](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Alejandro\_Ferrari](https://community.wowza.com/u/Alejandro_Ferrari)\
**Post date:** [January 7, 2010, 8:47pm UTC](https://community.wowza.com/t/module-collection/237/38 "2010-01-07T20:47:31Z")

</div>

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: [https://www.wowza.com/forums/showpost.php?p=32822&postcount=5](https://www.wowza.com/forums/showpost.php?p=32822&postcount=5)

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

But now have this error:

```auto
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

---

<div class="post-metadata">

**Author:** ![Alejandro\_Ferrari](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Alejandro\_Ferrari](https://community.wowza.com/u/Alejandro_Ferrari)\
**Post date:** [February 11, 2010, 9:09pm UTC](https://community.wowza.com/t/module-collection/237/39 "2010-02-11T21:09:20Z")

</div>

Trini,

This module is bundle with Wowza2 by default.

You can watch this in this URL: [http://SERVER\_IP:8086/connectioncounts](http://SERVER_IP:8086/connectioncounts)

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

Regards,

Ale

---

<div class="post-metadata">

**Author:** ![Alejandro\_Ferrari](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Alejandro\_Ferrari](https://community.wowza.com/u/Alejandro_Ferrari)\
**Post date:** [February 15, 2010, 5:26pm UTC](https://community.wowza.com/t/module-collection/237/40 "2010-02-15T17:26:20Z")

</div>

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

[Previous page](https://community.wowza.com/t/module-collection/237.md?page=1)

[Next page](https://community.wowza.com/t/module-collection/237.md?page=3)
