Skip to content

Instantly share code, notes, and snippets.

@zontan
Created October 30, 2020 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zontan/160cc1716194be85fb58cf9eff1a6345 to your computer and use it in GitHub Desktop.
Save zontan/160cc1716194be85fb58cf9eff1a6345 to your computer and use it in GitHub Desktop.
func setupVideo() {
agoraKit.enableVideo()
agoraKit.setVideoEncoderConfiguration(AgoraVideoEncoderConfiguration(size: AgoraVideoDimension640x360, frameRate: .fps15, bitrate: AgoraVideoBitrateStandard, orientationMode: .adaptative) ) // Default video profile is 360P
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment