iOS Question Change speed in play online

mehdipass

Active Member
Hi
I created player with this code to play online sound:
CreatePlayer:
Private Sub CreatePlayer(url As String) As NativeObject
    Dim u As NativeObject
    u = u.Initialize("NSURL").RunMethod("URLWithString:", Array(url))
    Dim player As NativeObject
    player = player.Initialize("AVPlayer").RunMethod("alloc", Null) _
     .RunMethod("initWithURL:", Array(u))
    Return player
End Sub
Now, how change speed dynamic with other button?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top