question

Ozan Yilmaz avatar image
Ozan Yilmaz asked

Is There Any Downside of Using GeneratePlayStreamEvent?

Hello everyone,

I was wondering if there is any downside of using GeneratePlayStreamEvent? Does it increase the execution time of cloud script? Is there any specific limit for this rather than the default 4.5 seconds limit?

	ExecuteCloudScriptRequest request = new ExecuteCloudScriptRequest()
        {
            FunctionName = "TestAPI",
            FunctionParameter = { },
            GeneratePlayStreamEvent = true
        };
        PlayFabClientAPI.ExecuteCloudScript(request, OnSuccess, OnFail);
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

There is no documentation stating that the generating PlayStream events will be counted as part of Cloud Script Function Runtime. I don’t think there is any downside. Besides, enabling generating PlayStream Events is very important and is an effective method for troubleshooting.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ozan Yilmaz avatar image Ozan Yilmaz commented ·

Thank you for the answer

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.