This documentation is archived and is not being maintained.

MediaSource Class

MediaSource class is the base class for all media sources and provides an encapsulation for all media.


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

public abstract class MediaSource

It provides an extension mechanism for an application to define its own media source to be played by Player. It has a one-to-many relationship with Player in that one MediaSource can be attached to one or more Players, but one Player cannot be attached to more than one MediaSource.

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