Class VideoMediaReceivedEventArgs
Event arguments of a VideoMediaReceived event.
Inherited Members
Namespace: Microsoft.Skype.Bots.Media
Assembly: Microsoft.Skype.Bots.Media.dll
Syntax
public class VideoMediaReceivedEventArgs : EventArgs
Constructors
VideoMediaReceivedEventArgs()
Declaration
public VideoMediaReceivedEventArgs()
Properties
Buffer
The received video media buffer.
Declaration
public VideoMediaBuffer Buffer { get; set; }
Property Value
Type | Description |
---|---|
VideoMediaBuffer |
MediaType
MediaType of the video socket. This could be Video or Vbss. The MediaType is set after the socket is passed to the CreateMediaConfiguration API. It may also be set via the VideoSocketSettings during socket creation.
Declaration
public MediaType MediaType { get; set; }
Property Value
Type | Description |
---|---|
MediaType |
SocketId
The 0-based ID of the socket that is raising this event. This socket ID can be used in multiview (ie. more than 1 video socket) to determine which video socket is raising this event. The socket ID property will be present in both single view and multiview cases. The ID maps to the order in which the video sockets are provided to the Microsoft.Skype.Bots.Media.MediaPlatform (or IMediaPlatform) API CreateMediaConfiguration. Eg. If the collection of IVideoSocket objects in the CreateMediaConfiguration API contains { socketA, socketB, socketC }, the sockets will have the ID mapping of: 0 for socketA, 1 for socketB and 2 for socketC.
Declaration
public int SocketId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |