Double API events

Double API events

luuk_jansen asked 10 years ago
It seems that (I think since the update to 1.6.5) I get two notifications of some events. Is this normal behaviour, or the result of some mis configuration? It causes some problems as it sometimes fires two events to e.g. push streams to end nodes and start encoding processes.
[color=#FF0000]20:41:04,725 DEBUG ~ Message: inStreamCreated
20:41:04,732 INFO  ~ Stream 'test' connected to the master server.[/color]
20:41:04,989 DEBUG ~ Message: protocolRegisteredToApp
20:41:04,999 DEBUG ~ Message: protocolRegisteredToApp
[color=#FF0000]20:41:05,008 DEBUG ~ Message: inStreamCreated
20:41:05,012 INFO  ~ Stream 'test' connected to the master server.[/color]
20:41:05,029 DEBUG ~ Message: outStreamCreated
20:41:05,142 DEBUG ~ Message: inStreamCodecsUpdated
20:41:05,150 DEBUG ~ Message: outStreamCodecsUpdated
20:41:05,159 DEBUG ~ Message: inStreamCodecsUpdated
20:41:06,834 DEBUG ~ Message: inStreamCodecsUpdated
20:41:06,842 DEBUG ~ Message: inStreamCodecsUpdated
20:41:06,849 DEBUG ~ Message: outStreamCodecsUpdated
20:42:07,340 DEBUG ~ Message: protocolRegisteredToApp
20:42:07,365 DEBUG ~ Message: protocolUnregisteredFromApp
This is the section in my config.lua file:
			eventLogger=
			{
				-- the following customData node will be apended to all outgoing
				-- events generated by this logger.
				customData=123,
				sinks=
				{
--[[
					{
						-- the following customData node will be apended to all
						-- events generated by this sink. It overwrides the
						-- customData node defined on the upper level. It can
						-- also be a complex structure like this
						customData =
						{
							some="string",
							number=123.456,
							array={1, 2.345, "Hello world", true, nil}
						},
						type="file",
						filename="/var/log/evostreamms/events.txt",
						--format="text",
						--format="xml",
						format="json",
					},
]]--
					{
						type="RPC",
						url="http://localhost:9000/api/rtmp/evoWebServices",
						serializerType="JSON",
						-- serializerType="XML"
						-- serializerType="XMLRPC"
						enabledEvents=
						{
							"inStreamCreated",
							"outStreamCreated",
							"streamCreated",
							"inStreamCodecsUpdated",
							"outStreamCodecsUpdated",
							"streamCodecsUpdated",
							"inStreamClosed",
							"outStreamClosed",
							"streamClosed",
							"cliRequest",
							"cliResponse",
							"applicationStart",
							"applicationStop",
							"carrierCreated",
							"carrierClosed",
							"serverStarted",
							"serverStopping",
							"protocolRegisteredToApp",
							"protocolUnregisteredFromApp",
							"processStarted",
							"processStopped",
							"timerCreated",
							"timerTriggered",
							"timerClosed",							
							"hlsChunkCreated",
							"hlsChunkClosed",
							"hlsChunkError",
							"hlsChildPlaylistUpdated",
							"hlsMasterPlaylistUpdated",
							"hdsChunkCreated",
							"hdsChunkClosed",
							"hdsChunkError",
							"hdsChildPlaylistUpdated",
							"hdsMasterPlaylistUpdated"
						},
					},
				},
			},



Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.