Class VideoKeyFrameNeededEventArgs
Event arguments of a VideoKeyFrameNeeded event.
Inherited Members
Namespace: Microsoft.Skype.Bots.Media
Assembly: Microsoft.Skype.Bots.Media.dll
Syntax
public class VideoKeyFrameNeededEventArgs : EventArgs
Constructors
VideoKeyFrameNeededEventArgs()
Declaration
public VideoKeyFrameNeededEventArgs()
Properties
MediaType
MediaType of the video buffer. This could be Video or Vbss.
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 |
VideoFormats
VideoFormats for which keyframe is needed
Declaration
public VideoFormat[] VideoFormats { get; set; }
Property Value
Type | Description |
---|---|
VideoFormat[] |