nchutchind/cordova-plugin-streaming-media

Issue with AirPlay when cancel/close video in the middle

Open

#177 创建于 2019年3月14日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Java (392 star) (285 fork)batch import
bughelp wantedpull-request-welcome

描述

What version of Streaming-Meda-Cordova-Plugin are you using? 2.2.0

What version of Cordova are you using? 8.1.2

What devices are affected? iPad

Please describe the issue in detail, with relevant code samples using with Ionic 4 and Issues come up with video if you cancel/close it manually during Airplay with Apple TV.

const options: StreamingVideoOptions = { successCallback: () => { console.log('Video played') }, errorCallback: (e) => { console.log('Error streaming') }, orientation: 'landscape', shouldAutoClose: true, controls: false }; this.streamingMedia.playVideo(File.applicationDirectory + 'www/assets/videos/test.mp4', options);

What did you expect to happen? Video should close on Apple TV as well and go back to the application

What actually happened? I'm mirriong my ipad on AppleTV. If I stop a video in the middle by pressing the cross on top left corner it stop the video on ipad and go back to page on the ipad but video gets stuck on the Apple TV and don't go back to the application. It works fine if video complete successfully and you don't cancel the video in the middle.

贡献者指南