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”: “https://prod-railsapp.s3.amazonaws.com/uploads/player/logo_image/223087/padel365-v.jpg

Or a local on my website:

“player_logo_image”: “http://padelstreamer.com/padel365.jpg

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.