internal void OnActiveMediaTypeCallToEstablish(Conversation conversation, TranscriptRecorderType addedModality) { // TODO: Will be called from ConferenceTranscriptRecorder after joining an invited conf & added Calls for each supported modality // Note: Requires Established async methods to be added to AV and IM if (addedModality == TranscriptRecorderType.AudioVideo) { AVTranscriptRecorder avRecorder = new AVTranscriptRecorder(this); // TODO: Log call established and added to conv/conf _transcriptRecorders.Add(avRecorder); _conversationToCallTranscriptMapping[_conversationTranscriptRecorder].Add(avRecorder); avRecorder.EstablishAudioVideoCall(conversation); } else if (addedModality == TranscriptRecorderType.InstantMessage) { IMTranscriptRecorder imRecorder = new IMTranscriptRecorder(this); // TODO: Log call established and added to conv/conf _transcriptRecorders.Add(imRecorder); _conversationToCallTranscriptMapping[_conversationTranscriptRecorder].Add(imRecorder); imRecorder.EstablishInstantMessagingCall(conversation); } }