You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/02/03 15:56:26 UTC

[GitHub] [cordova-plugin-media] anonymze commented on issue #330: Ionic Capacitor iOs: Media create INVALID (https url)

anonymze commented on issue #330:
URL: https://github.com/apache/cordova-plugin-media/issues/330#issuecomment-1029134707


   The issue seems related to this issue: #324 
   But the fix didn't work for me. I added this in CDVSound.m (line 398):
   
   ```
    if (audioFile.rate != nil){
                           float customRate = [audioFile.rate floatValue];
                           NSLog(@"Playing stream with AVPlayer & custom rate");
                           [avPlayer setRate:customRate];
    } else {
                         NSLog(@"Playing stream with AVPlayer & default rate");
                         avPlayer.automaticallyWaitsToMinimizeStalling = true;
                         [avPlayer play];
    }
   ```


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org