如何在ios swift代码中播放f4m文件
f4m文件返回

<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<id>flussonic_media</id>
<streamType>live</streamType>
<bootstrapInfo profile="named" id="bootstrap1" url="bootstrap"/>
<media streamId="stream1" url="hds/tracks-1,2/" bitrate="726" bootstrapInfoId="bootstrap1">
<metadata>
AgAKb25NZXRhRGF0YQMADWF1ZGlvY2hhbm5lbHMAQAAAAAAAAAAADGF1ZGlvY29kZWNpZABAJAAAAAAAAAANYXVkaW9kYXRhcmF0ZQBAZWAAAAAAAAAPYXVkaW9zYW1wbGVyYXRlAEDncAAAAAAAAAZoZWlnaHQAQHUAAAAAAAAADHZpZGVvY29kZWNpZABAHAAAAAAAAAANdmlkZW9kYXRhcmF0ZQBAhrAAAAAAAAAFd2lkdGgAQILAAAAAAAAAAAk=
</metadata>
</media>
</manifest>

此测试url
http://streamer11.elementssys.com:8080/demo/Hadath/manifest.f4m

最佳答案

f4m是一个基于XML的FLV视频清单文件。FLV是Flash直播视频,iOS不支持Flash文件格式,可能永远也不支持。

10-04 21:18