Answer for how to stop and restart a single stream

Here’s some log reports of a crash. I re-run tests this night. the server crashed without leaving any console open. we’re testing so we’re using the console intefrace via the .bat file. Seems the server crashed in the evening,tryied to recover during night, but then went down again and with no recover. I also extracted lines containing the word error with "findstr cmd utility" where possible and added that as error_*.txt alogside with your logs. LOGS and errors: http://we.tl/I6UxLs5xdR Here’s also how our config.lua looks like, it’s pretty similar to the original i guess
configuration=
{
	daemon=false,
	instancesCount=-1,
	pathSeparator="/",
	logAppenders=
	{
		{
			name="console appender",
			type="coloredConsole",
			level=6
		},
		{
			name="file appender",
			type="file",
			level=6,
			fileName="..\logs\evostream",
			newLineCharacters="n",
			fileHistorySize=100,
			fileLength=1024*1024,
			singleLine=true
		},
	},
	applications=
	{
		rootDirectory="./",
		{
			appDir="./",
			name="evostreamms",
			description="EVOSTREAM MEDIA SERVER",
			protocol="dynamiclinklibrary",
			default=true,
			pushPullPersistenceFile="..\config\pushPullSetup.xml",
			authPersistenceFile="..\config\auth.xml",
			connectionsLimitPersistenceFile="..\config\connlimits.xml",
			bandwidthLimitPersistenceFile="..\config\bandwidthlimits.xml",
			ingestPointsPersistenceFile="..\config\ingestpoints.xml",
			streamsExpireTimer=10,
			rtcpDetectionInterval=15,
			hasStreamAliases=false,
			hasIngestPoints=false,
			validateHandshake=false,
			aliases={"er", "live", "vod"},
			maxRtmpOutBuffer=512*1024,
			hlsVersion=3,
			mediaStorage = {
				recordedStreamsStorage="../media",
				{
					description="Default media storage",
					mediaFolder="../media",
				},
				--[[
				-- the following is an example and contains all
				-- available properties along with their default
				-- values(except paths, of course)
				sample={
					description="Storage example",
					mediaFolder="/some/media/folder",
					metaFolder="/fast/discardable/separate/folder",
					enableStats=false,
					clientSideBuffer=15,
					keyframeSeek=true,
					seekGranularity=0.1,
					externalSeekGenerator=false,
				}
				]]--
			},
			acceptors=
			{
				-- CLI aceptors
				{
					ip="127.0.0.1",
					port=1112,
					protocol="inboundJsonCli",
					useLengthPadding=true
				},
				{
					ip="127.0.0.1",
					port=7777,
					protocol="inboundHttpJsonCli"
				},

				-- RTMP and clustering
				{
					ip="0.0.0.0",
					port=1935,
					protocol="inboundRtmp",
				},
				{
					ip="127.0.0.1",
					port=1936,
					protocol="inboundRtmp",
					clustering=true
				},
				{
					ip="127.0.0.1",
					port=1113,
					protocol="inboundBinVariant",
					clustering=true
				},

				-- RTSP
				{
					ip="0.0.0.0",
					port=5544,--was 5544
					protocol="inboundRtsp",
--[[					multicast=
					{
						ip="224.2.1.39",
						ttl=127,
					}]]--
				},

				-- LiveFLV ingest
				{
					ip="0.0.0.0",
					port=6666,
					protocol="inboundLiveFlv",
					waitForMetadata=true,
				},
				
				-- HTTP
				{
					ip="0.0.0.0",
					port=8080,
					protocol="inboundHttp",
				},
				--RTMPS
				--[[
				{
					ip="0.0.0.0",
					port=4443,
					protocol="inboundRtmp",
					-- cipherSuite="!DEFAULT:RC4-SHA", -- enables/disables a specific set of ciphers. If not specified, it is defaulted to the openssl collection of ciphers
					sslKey="/path/to/some/key",
					sslCert="/path/to/some/cert",
				}
				]]--
			},
			--[[
			autoHLS=
			{
				targetFolder= "..\media",
			},
			autoHDS=
			{
				targetFolder= "..\media",
			},
			]]--
			--[[
			authentication=
			{
				rtmp=
				{
					type="adobe",
					encoderAgents=
					{
						"FMLE/3.0 (compatible; FMSc/1.0)",
						"Wirecast/FM 1.0 (compatible; FMSc/1.0)",
						"EvoStream Media Server (www.evostream.com)"
					},
					usersFile="..\config\users.lua"
				},
				rtsp=
				{
					usersFile="..\config\users.lua",
					--authenticatePlay=false,
				}
			},
			]]--
			--[[
			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="..\logs\events.txt",
						--format="text",
						--format="xml",
						--format="json",
						format="w3c",
						timestamp=true,
						appendTimestamp=true,
						appendInstance=true,	
--						fileChunkLength=43200,		-- 12 hours (in seconds)
--						fileChunkTime="18:00:00",
						
						enabledEvents=
						{
							"inStreamCreated",
							"outStreamCreated",
							"streamCreated",
							"inStreamCodecsUpdated",
							"outStreamCodecsUpdated",
							"streamCodecsUpdated",
							"inStreamClosed",
							"outStreamClosed",
							"streamClosed",
							"streamingSessionStarted",
							"streamingSessionEnded",
							"mediaFileDownloaded",
						},
					},
					{
						type="RPC",
						url="http://localhost/evowebservices/evowebservices.php",
						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",
							"playlistItemStart",
							"firstPlaylistItemStart",
							"lastPlaylistItemStart",
							"streamingSessionStarted",
							"streamingSessionEnded",
							"mediaFileDownloaded",
						},
					},
				},
			},
			]]--
			transcoder = {
				scriptPath="..\emsTranscoder.bat",
				srcUriPrefix="rtsp://localhost:5544/",
				dstUriPrefix="-f flv tcp://localhost:6666/"
			},
			mp4BinPath="..\evo-mp4writer.exe",
			--[[
			drm={
				type="verimatrix",
				requestTimer=1,
				reserveKeys=10,
				reserveIds=10,
				-- urlPrefix="http://server1.evostream1.com:12684/CAB/keyfile"
				urlPrefix="http://vcas3multicas1.verimatrix.com:12684/CAB/keyfile"
			},
			]]--
		},
	}
}
Thanks

Offcanvas

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