You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the Livestream Update request via this PHP library to update an existing livestream. I did not set an explicit max_continuous_duration either when creating or updating.
The following code sets the max_continuous_duration even if I don't define it, and even if I do define it and set it to null
This then yields the following error when sending the request
[400] Client error: `PATCH https://api.mux.com/video/v1/live-streams/kgvb005y2nnF228vfurRO5CZif6UqHAr9qg9tP8hYiN00` resulted in a `400 Bad Request` response:
{"error":{"type":"invalid_parameters","messages":["Cannot use max continuous duration with test live streams"]}}
I tried the following workaround but this gives an error down the line.
I am trying to use the Livestream Update request via this PHP library to update an existing livestream. I did not set an explicit max_continuous_duration either when creating or updating.
The following code sets the max_continuous_duration even if I don't define it, and even if I do define it and set it to
null
This then yields the following error when sending the request
I tried the following workaround but this gives an error down the line.
Yields
Undefined array key "max_continuous_duration"
on a different lineThe text was updated successfully, but these errors were encountered: