bikubi commented on issue #324:
URL: 
https://github.com/apache/cordova-plugin-media/issues/324#issuecomment-1231884235

   I have noticed that there my fix above has problems with AirPlay:
   
   - play the stream, connect to an AirPlay receiver — receiver plays the 
stream as expected
   - but, when you enable AirPlay and "pre-connect" to a receiver, and THEN 
star playing, there is no sound (`MEDIA_RUNNING` but no progress)
   
   With a [vaguely related StackOverflow 
answer](https://stackoverflow.com/a/61148409/629238) I was able to guess a fix:
   
   ```
   [avPlayer setAllowsExternalPlayback:NO];
   ```
   
   see commit a8527f54edfd8223a291dfb6d3971baa6eb42cc2.
   
   No idea about what this actually *does*, or if it might have any unintended 
side-effects.
   
   I've also updated the Minimal Repro repo linked above.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to