提交 e0aa2bc2 编写于 作者: L liyuhang

Fixed spell problems

Signed-off-by: Nliyuhang <liyuhang24@huawei.com>
Change-Id: Iabcc503331e288100ee00fea0fc5ab94c9b1114a
上级 c30d987d
......@@ -187,7 +187,7 @@ currentSession.on('playNext', () => {
});
console.log("调用AudioPlayer.play方法");
// 设置播放状态
let time = (new Data()).getTime();
let time = (new Date()).getTime();
currentSession.setAVPlaybackState({state: avSession.PlaybackState.PLAYBACK_STATE_PLAY, position: {elapsedTime: 0, updateTime: time}, bufferedTime:2000}).then(() => {
console.info('setAVPlaybackState successfully');
}).catch((err) => {
......@@ -282,7 +282,7 @@ currentSession.off('outputDeviceChange');
// 去激活session并销毁对象
currentSession.deactivate().then(() => {
currentSession.destory();
currentSession.destroy();
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册