Skip to content
cumulusdev edited this page Jan 16, 2012 · 16 revisions

Here are listed answers to frequently asked questions.

Why the Cirrus sample doesn't work?

Because cirrus server includes the following adding script-server function:

	function relay(client,targetId,...)
		target = cumulus.clients(targetId)
		if not target then
			error("client '"..targetId.."' not found")
			return
		end
		target.writer.writeAMFMessage("onRelay",client.id,unpack(arg))
		target.writer.flush(true)
	end

Adding it for your www/main.lua file will make working the Cirrus sample.

Clone this wiki locally