swift - Streaming from Wowza to an iOS app using playlist.m3u8 -
i'm using wowza media server , stream on-demand mp3. when stream url straight safari - plays fine. when seek utilize avplayer doesn't work. code is:
let item = avplayeritem(url: nsurl(string: "http://192.168.0.23:1935/vod/mp3:hot160.mp3/playlist.m3u8")) allow player = avplayer(playeritem: item) player.play() excuse code, it's swift instead of objective-c concept same. doesn't play @ , console message:
rtcreporting: resolve http://pancake.apple.com/bags/hls?version=5.9 i have no thought is.
i believe i've seen issue upon trying playback via simulator vs. on actual device. similar next post
ios swift avplayer
No comments:
Post a Comment