setAccountWithCodecs

open fun setAccountWithCodecs(context: Context, sipAccount: SipAccountData, codecPriorities: ArrayList<CodecPriority>): String

Adds a new SIP account and changes the sip stack codec priority settings. This is handy to set an account plus the global codec priority configuration with just a single call.

Return

sip account ID uri as a string

Parameters

context

application context

sipAccount

sip account data

codecPriorities

list with the codec priorities to set