录制会议 [英] Record a conference

查看:81
本文介绍了录制会议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图保存会议会议中的音频(由UserEndpoint在UCMA App中创建)

// Create an AudioVideoCall.
            AudioVideoCall avCall = new AudioVideoCall(conversation);
            
            // Register for AudioVideoMcuSession events.
            RegisterForAudioVideoMcuSessionEvents(conversation.ConferenceSession.AudioVideoMcuSession);

            // Register for AudioVideoCall events.
            RegisterForAudioVideoCallEvents(avCall);

            // Establish call to MCU
            avCall.BeginEstablish(EndCallEstablish, avCall);
       
            // Wait until call establishment completes
            waitForCallEstablish.WaitOne();

            recorder = new Recorder();
            recorder.AttachFlow(avCall.Flow);
            recorder.StateChanged += recorder_StateChanged;

            WmaFileSink sink = new WmaFileSink(avCall.Conversation.Id + ".wma");

            recorder.SetSink(sink);
            recorder.Start();





代码看起来很好没有错误的显示,但我找不到文件。


The Code seems to excecute fine no error's showup, but I can't find the file.


所以我有以下问题:

So i have the following question:


1 - 文件应该在哪里?

1-Where the file should be?


2 - 什么时候开始录制?

2-When should you start recording?


3-如何从会议或对话对象获取AudioVideoFlow。

3- How i get the AudioVideoFlow from a conference or conversation object.



问候,

如果你不理解我,试试西班牙语:)

If you do not understand me try Spanish :)

推荐答案

看看MSDN上的以下文章。它有一些示例代码和如何使用Recorder类的一个很好的解释:

Take a look at the following article on MSDN. It has some sample code and a good explanation of how to use the Recorder class:

记录器


这篇关于录制会议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆