我正试图将自适应比特率从wowza传输到jwplayer。我的smil文件和视频文件位于wowza内容文件夹中的相同子目录中。我使用的是wowza 4.2.0和jwplayer 7.1.0。我已经关注了wowza官方文档。 它适用于所有桌面浏览器。但它不适用于移动设备(ios,windows 8,android 4.1+) 它给出了错误
error loading player no playable sources found
我的jwplayer设置是
<script>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
playlist: [{
sources: [{
file: "http://host/vod/_definst_/smil:10/video.smil/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/manifest.f4m/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/playlist.m3u8/jwplayer.smil"
},{
file: "rtsp://host/vod/_definst_/smil:10/video.smil/jwplayer.smil"
}]
}],
primary: "flash",
width: "100%",
aspectratio: "16:9",
autostart: true,
});
<script>
我的Smil文件是
<?xml version="1.0" encoding="UTF-8"?>
<smil title="">
<head>
</head>
<body>
<switch>
<video height="720" src="video_720.mp4" systemLanguage="eng" width="1280">
<param name="videoBitrate" value="1729000" valuetype="data"></param>
<param name="audioBitrate" value="194000" valuetype="data"></param>
</video>
<video height="480" src="video_480.mp4" systemLanguage="eng" width="854">
<param name="videoBitrate" value="783000" valuetype="data"></param>
<param name="audioBitrate" value="128000" valuetype="data"></param>
</video>
<video height="360" src="video_360.mp4" systemLanguage="eng" width="640">
<param name="videoBitrate" value="471000" valuetype="data"></param>
<param name="audioBitrate" value="12800" valuetype="data"></param>
</video>
</switch>
</body>
</smil>
请您解释问题所在?我的问题是