away 3d的一些问题

不能成功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 之上

posted @ 2015-04-23 15:15  love _荣  阅读(171)  评论(0编辑  收藏  举报