Server behaviour

server

#1

Just wondering if it is normal behaviour for the server to destroy html templates on a ADD play on load command ? (ver 2.2)


#2

It should only remove the video or template on the layer you are trying to load and or play out of.
For example, if you have a video on layer 3 and a template on later 4, playing a template in layer 3 should only remove the video.


#3

thanks ouelletec I should of been more clear is the below normal?

[2019-11-18 17:27:02.104] [info]    Received message from 192.168.1.243: CG 1-20 ADD 1 "DRAW/DRAW-TEST_OUTPUT" 1 "{\"title1\":\"eventname\",\"title2\":\"racname\"}"\r\n
[2019-11-18 17:27:02.105] [info]    Sent message to 192.168.1.243:202 CG OK\r\n
[2019-11-18 17:27:02.110] [info]    html[file://C:/Users/threadripper/Documents/casparcg-server-2.2.0-stable-windows/template/DRAW/DRAW-TEST_OUTPUT.html] Destroyed.
[2019-11-18 17:27:03.817] [info]    Received message from 192.168.1.243: CG 1-20 STOP 1\r\n
[2019-11-18 17:27:03.817] [info]    Sent message to 192.168.1.243:202 CG OK\r\n
[2019-11-18 17:27:04.317] [info]    Received message from 192.168.1.243: CG 1-20 REMOVE 1\r\n
[2019-11-18 17:27:04.317] [info]    Sent message to 192.168.1.243:202 CG OK\r\n

Just unclear why the ‘Destroyed template’ appears after the ADD command - surely that would make sense to appear after a STOP or REMOVE command?


#4

IIRC CEF is run in a separate thread and this is referring to the release (destruction) of it from the main thread.