-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High HTML producer initialization time in CCG 2.3.3 #1423
Comments
Can you try loading the html template by using I'm usually loading templates by using |
There are some prior issues for this somewhere about similar behaviour with the ffmpeg producer. In 2.2 the behaviour of PLAY changed to report that the command was accepted rather than it was successful. To help mitigate this, you could try doing a LOADBG of the producer. Waiting a safe amount of time, then issuing the PLAY and CG UPDATE commands. That will load it into the background layer (ensuring it wont be visible), then promoting it to the foreground with PLAY which I believe will be instant |
Thank you both for your prompt response. Indeed the issue above seems to take place only when loading the HTML template by using As @baltedewit correctly suggested, by loading the HTML template with the My only concern here is about the new behaviour that @Julusian described, about the FFMPEG procuder (via |
Expected behaviour
HTML producer
, is expected to be ready to acceptCG UPDATE
data messages, once successfully loaded.I would expect to assume the HTML template fully loaded when
PLAY
command successfully returns.Current behaviour
I am loading an HTML template with
PLAY
AMCP command.Once the
PLAY
command returns successfully (202 PLAY OK), i immediatelly send aCG UPDATE
AMCP command, to transfer data to the HTML template.In case
CG UPDATE
command is sent right afterPLAY
command,CG UPDATE
fails with: 403 CG UPDATE FAILED.In order to make
CG UPDATE
work, i have to manually wait for about 500 - 1000 ms, afterPLAY
command has successfully returned.It seems that HTML producer takes too much time to initialize, before it can accept
CG UPDATE
messages, as well as that the HTML producer has not fully initialized oncePLAY
command returns.The required time that i need to wait before sending the first
CG UPDATE
command, is not constant and could frequently vary. Sometimes it works after 300 ms but some other times it fails even after waiting for 1200ms.I am currently at the process of porting an existing project from using CCG 2.07 to using CCG 2.3.3.
The issue is not taking place when using CCG 2.07, where no wait time is required before the server successfully accepts
CG UPDATE
command, after having loaded the same HTML templateSteps to reproduce
Environment
The text was updated successfully, but these errors were encountered: