CasparCG 2.1: CALL INVOKE is broken!


When using CasparCG 2.0.7, this command works:

Code: Select all

$connector->makeRequest("CALL 1-10 INVOKE WriteArtist('\"$cartist\"')");
$connector->makeRequest("CALL 1-10 INVOKE WriteTitle('\"$ctitle\"')");
Doing the same with CasparCG 2.1 Beta 2, I get:

UNCAUGHT REFERENCERROR: invoke is not defined.

What's wrong with that command, that it doesn't work on 2.1 anymore, but it does on 2.0.7? How to fix?