How to track video bitrate?

Hi I’m using IOS SDK in our application, We want to enable to Video bitrate options. So we did it in Android using the fallowing method.
But didn’t find any way to implement in IOS, could anyone please help me out in this ?

mPlayer.getTrackManager().switchTrack(TrackType.VIDEO, 3); This method we used in android

Hey @test_voot,

On AVPlayer it’s not possible (Known Limitation), since our SDK is based on AVPlayer (The only iOS core player) you can’t set a bitrate with our SDK.
Apple attached some API from iOS8 for preferredPeakBitRate:
https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVPlayerItem_Class/index.html#//apple_ref/occ/instp/AVPlayerItem/preferredPeakBitRate
This will be supported in future version on our SDK.

Thanks!

cc @oren_melamed, @itay_kinnrot

1 Like

Thanks for the replay. And I will implement as you said.