AgoraHelper
class AgoraHelper : NSObject, AgoraRtcEngineDelegate
Undocumented
-
Undocumented
Declaration
Swift
private var videoQuality: BroadcastQualityType
-
Undocumented
Declaration
Swift
private var rtcEngine: AgoraRtcEngineKit!
-
Undocumented
Declaration
Swift
var delegate: AgoraLastMileDelegate?
-
Undocumented
Declaration
Swift
init(sender: AgoraLastMileDelegate?)
-
Undocumented
Declaration
Swift
@objc func checkNetworkQuality(engineKit: AgoraRtcEngineKit? = nil, videoQuality: String? = nil)
-
Undocumented
Declaration
Swift
func rtcEngine(_ engine: AgoraRtcEngineKit, lastmileQuality quality: AgoraNetworkQuality)
-
this shows an alert when the last mile check fails
Declaration
Swift
func showBandwidthErrorAlert()
-
sets the rtc video profile based on the upload quality stream
Declaration
Swift
class func setVideoProfileAndShowProceedForLastMileTestWith(videoQuality: String?, engineKit: AgoraRtcEngineKit, orientation: UIInterfaceOrientation) -> Bool
Parameters
videoQuality
UHQ, HQ, SQ, LQ
Return Value
true if the last mile test to be done on this video profile for LQ it will return false to stop the loop
-
Undocumented
Declaration
Swift
class func getDecreasedQualityIndexFor(videoQuality: String) -> String