# LivePusherContext.createOffscreenCanvas(object options)

> 基础库 2.29.0 开始支持，低版本需做[兼容处理](1003706)。

> __小程序插件__：支持

> 相关文档: [live-pusher 组件](https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html)

## 功能描述

创建一个能够承接 LivePusher 采集纹理的离屏 Canvas，客户端 8.0.31 版本开始支持。

## 参数

### object options

同[wx.createOffscreenCanvas](/miniprogram/dev/api/canvas/wx.createOffscreenCanvas)
