不能成功draw m3u8视频流问题:
Texture2DBase.as
return context.createRectangleTexture(_width, _height, Context3DTextureFormat.BGRA, false);
BitmapTexture.as
_generateMipmaps 默认为true
VideoTexTure.as
public function update():void
{
if (_player.playing && !_player.paused) {
var graphicsData : Vector.<IGraphicsData>;
graphicsData = _player.container.graphics.readGraphicsData();
if ( graphicsData.length > 0 ) {
if(bitmapData){
bitmapData.dispose();
}
bitmapData = GraphicsBitmapFill(graphicsData[0]).bitmapData;
invalidateContent();
}
}
}
player 版本在11.8 之上