Wowza Community

iOS Crashed when try to set HLS Url before playing

I try to play a vod stream but failed then I set hls url and turn allow hls on but it always crash at method play with config. Please help me with this and why sdk announce that "Could not connect to host. Check credentials."

Thanks for reaching out and asking @Duc Bui. The reason this is not working is because the Wowza GoCoder SDK does not support mp4s and is not for VOD. On our website, it says it is for live stream:

The GoCoder SDK is free and lets you build live streaming apps for iOS and Android

https://www.wowza.com/products/gocoder

You can stream mp4 files for HLS playback through Wowza Streaming Engine, but not with the GoCoder SDK.

An interesting option for you may be to play an mp4 file as live stream and play it back through HLS:

https://www.wowza.com/docs/how-to-publish-a-video-file-as-a-live-stream