private bool UpdateCodecs() { tdav_codec_id_t codecIds = tdav_codec_id_t.tdav_codec_id_none; this.codecs.ForEach(x => codecIds |= x.IsEnabled ? x.Id : tdav_codec_id_t.tdav_codec_id_none); this.sipService.Codecs = (int)codecIds; this.configurationService.Set(Configuration.ConfFolder.MEDIA, Configuration.ConfEntry.CODECS, this.sipService.Codecs); return(true); }
internal Codec(String name, String description, tdav_codec_id_t id) { this.name = name; this.description = description; this.id = id; }
public static void setCodecs(tdav_codec_id_t codecs) { tinyWRAPPINVOKE.SipStack_setCodecs((int)codecs); }
public static bool setCodecPriority(tdav_codec_id_t codec_id, int priority) { bool ret = tinyWRAPPINVOKE.SipStack_setCodecPriority((int)codec_id, priority); return ret; }
public static bool isCodecSupported(tdav_codec_id_t codec_id) { bool ret = tinyWRAPPINVOKE.SipStack_isCodecSupported((int)codec_id); return ret; }
public static bool isCodecSupported(tdav_codec_id_t codec) { bool ret = tinyWRAPPINVOKE.SipStack_isCodecSupported((int)codec); return(ret); }
public static bool setCodecPriority(tdav_codec_id_t codec_id, int priority) { bool ret = tinyWRAPPINVOKE.SipStack_setCodecPriority((int)codec_id, priority); return(ret); }