nchutchind/cordova-plugin-streaming-media

Issue with AirPlay when cancel/close video in the middle

Open

#177 ouverte le 14 mars 2019

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Java (285 forks)batch import
bughelp wantedpull-request-welcome

Métriques du dépôt

Stars
 (392 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur