提交 9f72a807 编写于 作者: d-u-a's avatar d-u-a

fix:v3 nvue 无法使用 uni.createLivePusherContext

上级 8b892049
...@@ -59,7 +59,8 @@ const media = [ ...@@ -59,7 +59,8 @@ const media = [
'saveVideoToPhotosAlbum', 'saveVideoToPhotosAlbum',
'createVideoContext', 'createVideoContext',
'createCameraContext', 'createCameraContext',
'createLivePlayerContext' 'createLivePlayerContext',
'createLivePusherContext'
] ]
const device = [ const device = [
......
...@@ -66,7 +66,8 @@ ...@@ -66,7 +66,8 @@
"uni.saveVideoToPhotosAlbum": true, "uni.saveVideoToPhotosAlbum": true,
"uni.createVideoContext": true, "uni.createVideoContext": true,
"uni.createCameraContext": true, "uni.createCameraContext": true,
"uni.createLivePlayerContext": true "uni.createLivePlayerContext": true,
"uni.createLivePusherContext": true
} }
}, { }, {
"name": "device", "name": "device",
......
import {
createLivePusherContext as createLivePusher
} from 'uni-platforms/app-plus-nvue/service/api/context/live-pusher'
export function createLivePusherContext (id, vm) {
return createLivePusher(id, vm)
}
...@@ -4,6 +4,7 @@ export * from './context/background-audio' ...@@ -4,6 +4,7 @@ export * from './context/background-audio'
export * from './context/canvas' export * from './context/canvas'
export * from './context/operate-map-player' export * from './context/operate-map-player'
export * from './context/operate-video-player' export * from './context/operate-video-player'
export * from './context/live-pusher'
export * from './device/accelerometer' export * from './device/accelerometer'
export * from './device/add-phone-contact' export * from './device/add-phone-contact'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册