2

JwPlayer是否可以播放.tsfrom的最后一段HLS?在这种情况下,最后一段是stream00736.ts

当前的 JwPlayer 代码:

jwplayer("<?php echo $this->id?>").setup({
                    autostart: <?php echo $this->autoStart?'true':'false'?> ,
                    flashplayer: "<?php echo CHtml::asset($this->_path.'/jwplayer.flash.swf')?>",
                    width:<?php echo $this->width?>,
                    height:<?php echo $this->height?>,
                    playlist: [{
                        sources: [{ 
                           //Desktop
                            file: "<?php echo $this->rtmpPath;?>"
                        },{
                            //Mobile
                            file: "<?php echo $this->hlsPath;?>"
                        }]
                    }],
                    primary:"flash",
                });

HLS 段

4

0 回答 0