The duration parameter within the Overlay Layout API is not taken into account.
By doing several tests I have come to the following conclusion:
The duration variable is essential for the API call and regardless of what number I choose, it will follow the following rule:
Duration from 1 to 2 seconds sends the call but the player does not show anything.
Duration from 3 to 12 seconds, send the call but the layout is shown 20 seconds in the player
Duration from 13 to 22 seconds, send the call but the layout is shown 30 seconds in the player
Duration from 23 to 32 seconds, send the call but the layout is shown 40 seconds in the player
And so on.
I already verified that the CMS and the player were time synchronized
The CMS version I am using is 2.3.0
and the player is windows (both 2 R252 and 2R201)