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: [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