Dela via


CallFactory Class

Provides call creation services to the collaboration platform.

Inheritance Hierarchy

System.Object
  Microsoft.Rtc.Collaboration.PlatformExtension
    Microsoft.Rtc.Collaboration.ComponentModel.MediaBasedFactory
      Microsoft.Rtc.Collaboration.ComponentModel.CallFactory

Namespace:  Microsoft.Rtc.Collaboration.ComponentModel
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public MustInherit Class CallFactory _
    Inherits MediaBasedFactory
'Usage
Dim instance As CallFactory
public abstract class CallFactory : MediaBasedFactory

Remarks

By default, the collaboration platform will use an instance that will create specific calls available in the platform to handle media types handled within the collaboration platform. For example, message, audio, video, image are examples of media types that can be handled by InstantMessagingCall and AudioVideoCall. The application can create an instance of derived class and set it on the collaboration platform to handle extended media types that are not handled by the collaboration platform. The derived class can create extended call types based on information given.

Media types supported by a specific call factory should be case-sensitive and in line with the SDP representation for that media type.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CallFactory Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace