nchutchind/cordova-plugin-streaming-media

Issue with AirPlay when cancel/close video in the middle

Open

#177 aberto em 14 de mar. de 2019

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Java (285 forks)batch import
bughelp wantedpull-request-welcome

Métricas do repositório

Stars
 (392 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador