Wowza Community

URL to player_logo_image

I’m creating a stream with the Rest API and it works fine. Until I try to set a player_logo_image, then it gives a 422 error about validation and “Can’t upload image…”

I try both to link to an uploaded image:

“player_logo_image”: “

Or a local on my website:

“player_logo_image”: “

Both gives an error.

You can fix this by converting your image files to base64-encoded strings and including those in your request instead of URLs. An image file for a hosted page logo, player logo, or player video poster image must be included in the API request as a base64-encoded string string representation of a GIF, JPEG, or PNG file.