Show / Hide Table of Contents

Class EnterprisePlatformExtension

The enterprise platform extension.

Inheritance
System.Object
EnterprisePlatformExtension
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Microsoft.Bot.Builder.Enterprise.Media
Assembly: Microsoft.Bot.Builder.Enterprise.Media.dll
Syntax
public static class EnterprisePlatformExtension

Methods

View Source

CreateMediaSession(IEnterprisePlatform, ICall, AudioSocketSettings, VideoSocketSettings, VideoSocketSettings)

The create media session.

Declaration
public static ILocalMediaSession CreateMediaSession(this IEnterprisePlatform platform, ICall call, AudioSocketSettings audioSocketSettings, VideoSocketSettings videoSocketSettings, VideoSocketSettings vbssSocketSettings = null)
Parameters
Type Name Description
IEnterprisePlatform platform

The platform.

ICall call

The call.

Microsoft.Skype.Bots.Media.AudioSocketSettings audioSocketSettings

The audio socket settings.

Microsoft.Skype.Bots.Media.VideoSocketSettings videoSocketSettings

The video socket settings.

Microsoft.Skype.Bots.Media.VideoSocketSettings vbssSocketSettings

The video based screen sharing socket settings.

Returns
Type Description
ILocalMediaSession

The ILocalMediaSession.

View Source

CreateMediaSession(IEnterprisePlatform, ICall, AudioSocketSettings, IEnumerable<VideoSocketSettings>, VideoSocketSettings)

The create media session.

Declaration
public static ILocalMediaSession CreateMediaSession(this IEnterprisePlatform platform, ICall call, AudioSocketSettings audioSocketSettings, IEnumerable<VideoSocketSettings> videoSocketSettings = null, VideoSocketSettings vbssSocketSettings = null)
Parameters
Type Name Description
IEnterprisePlatform platform

The platform.

ICall call

The call.

Microsoft.Skype.Bots.Media.AudioSocketSettings audioSocketSettings

The audio socket settings.

System.Collections.Generic.IEnumerable<Microsoft.Skype.Bots.Media.VideoSocketSettings> videoSocketSettings

The video socket settings.

Microsoft.Skype.Bots.Media.VideoSocketSettings vbssSocketSettings

The video based screen sharing socket settings.

Returns
Type Description
ILocalMediaSession

The ILocalMediaSession.

View Source

SetMediaPlatformSettings(IEnterprisePlatformBuilder, MediaPlatformSettings)

Load the media platform.

Declaration
public static void SetMediaPlatformSettings(this IEnterprisePlatformBuilder platform, MediaPlatformSettings mediaSettings)
Parameters
Type Name Description
IEnterprisePlatformBuilder platform

The platform.

Microsoft.Skype.Bots.Media.MediaPlatformSettings mediaSettings

The media settings.

Exceptions
Type Condition
InvalidStateException

When something fails while initializing the media platform.

  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX