public TrunkVideoDispSession(string remoteParty, string VideoId, MediaType mediaType, InviteState callState) : base(remoteParty, mediaType, callState) { this.callType = TrunkCallType.TCT_DUMMY_VIDEO_DISPATCH; this.strVideoId = VideoId; this.strDstObjId = remoteParty; this.strFormat = base.MediaType.ToString(); }
public TrunkCallService FindCallService(TrunkCallType callType) { TrunkCallService result; using (System.Collections.Generic.IEnumerator <TrunkCallService> enumerator = this.callInstances.GetEnumerator()) { if (enumerator.MoveNext()) { TrunkCallService item = enumerator.Current; item.CallType = callType; result = item; return(result); } } result = null; return(result); }
public static bool IsAudioTypeCall(TrunkCallType callType) { return(callType == TrunkCallType.TCT_P2P_AUDIO_CALL || callType == TrunkCallType.TCT_GRP_AUDIO_CALL); }
public TrunkVideoDispSession(MySipStack sipStack, CallSession session, MediaType mediaType, InviteState callState) : base(sipStack, session, mediaType, callState) { this.callType = TrunkCallType.TCT_DUMMY_VIDEO_DISPATCH; }