Change Flow Configuration in an Established Call (QuickStart)

Sample location: %ProgramFiles%\Microsoft UCMA 3.0\SDK\Core\Sample Applications\QuickStarts\AudioVideoCall\AVFlow-ApplyChanges

Apply a configuration change to an active AudioVideoFlow instance.

Description

The application places an audio/video call to the designated target, after initializing platform and endpoints. After the call is connected, the application waits for the AudioVideoFlow to go active (that is, for the value of its State property to change to Active), applies a configuration change to the flow to change the allowed direction of media travel from Send/Receive to Send only, and then the platform is shut down normally.

Features

  • Basic audio/video call placement

  • Platform and endpoint initialization

  • AudioVideoFlow handling and control

  • Applying and changing the settings of an active AudioVideoFlow

Prerequisites

  • Microsoft Lync Server 2010.

  • Two users capable of sending and receiving audio calls.

  • The credentials for each user, and a client capable of signing in to Lync Server 2010.

  • A client signed in to Lync Server 2010.

Running the Sample

  1. Replace the credentials in the variables at the beginning of the code sample with the credentials and server of the users from your Lync Server 2010 topology.

  2. Substitute the address of the called user in the code sample with the address of a valid, currently signed-in user capable of receiving audio calls.

  3. Open the project in Microsoft Visual Studio, and then press F5.