CasparCG and ATEM Broadcast 2M/E

Hello together,

what am I doing wrong? :wink:

In Caspar Client I’m building a group which contains:

• ATEM Command SET KEYER STATE
• Lower Third as HTML5
• ATEM Command SET KEYER STATE

In first, I set “M/E1” “DSK1” to “ON AIR”. This works. Then the Lower Third is coming in, stays, dissolves. That works also. But: the next command “M/E1” “DSK1” with unchecked “On Air” is not recognized.

The Group is set to AUTO PLAY and AUTO STEP. But why is the third command not recognized? Do I have to set something in the HTML-Template?

The code from HTML:

<!DOCTYPE html>
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
	<title>Thomas_Wycsik</title>
	<style>
		html {
			height:100%;
		}
		body {
			margin:0;
			height:100%;
		}
	</style>
	<!-- copy these lines to your document head: -->

	<meta name="viewport" content="user-scalable=yes, width=1920" />
	<style>
	@font-face {
  font-family: 'Mukta Vaani';
  font-style: normal;
  font-weight: 400;
  src: local('Mukta Vaani Regular'), local('MuktaVaani-Regular'),
       url('../Schriften/MuktaVaani-Regular.ttf') format('truetype')
       }
   </style>

	<script type="text/javascript" src="Thomas_Wycsik.hyperesources/CasparCG.js"></script>

	<!-- end copy -->
  </head>
  <body>
	<!-- copy these lines to your document: -->

	<div id="thomaswycsik_hype_container" style="margin:auto;position:relative;width:1920px;height:1080px;overflow:hidden;">
		<script type="text/javascript" charset="utf-8" src="Thomas_Wycsik.hyperesources/thomaswycsik_hype_generated_script.js?24652"></script>
	</div>

	<!-- end copy -->
  </body>
</html>

Thanks, and Best regards, Thomas

if you need all of these things to happen at the same time.
you need to add a small amount of delay to each command.
first command

second command delay 50ms

third command delay 100ms

you can play with the timing but basically i have found that if you through commands at the atem to fast it can not recover fast enough to get the next one.

all so you could make a macro to do what you need and call that from casparcg.