Module Collection

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

Richard

I added it to the list: “ModuleLimitPublishedStreamBandwidth”

https://www.wowza.com/forums/showthread.php?t=8465

Richard

Hi Richard,

I tried to use ModuleLimitConnectionsToApplication

<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

<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

You have to add this property also for the encoder:

<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?

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

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

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:

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

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: https://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