Beispiel #1
0
        /// <summary>
        /// Get codec by index
        /// </summary>
        /// <param name="index"></param>
        /// <returns></returns>
        public override string getCodec(int index)
        {
            if (!IsInitialized)
            {
                return("");
            }

            StringBuilder codec = new StringBuilder(256);

            PjsipMethods.dll_getCodec(index, codec);
            return(codec.ToString());
        }