Show / Hide Table of Contents

    Class VideoSocketSettings

    The video socket settings.

    Inheritance
    Object
    VideoSocketSettings
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.Skype.Bots.Media
    Assembly: Microsoft.Skype.Bots.Media.dll
    Syntax
    public class VideoSocketSettings

    Constructors

    VideoSocketSettings()

    Initializes a VideoSocketSettings object.

    Declaration
    public VideoSocketSettings()

    Properties

    CallId

    An alphanumeric string that uniquely identifies a call.

    Declaration
    public string CallId { get; set; }
    Property Value
    Type Description
    String

    MaxConcurrentSendStreams

    The maximum number of concurrent (simulcast) streams that can be sent.

    Declaration
    public uint MaxConcurrentSendStreams { get; set; }
    Property Value
    Type Description
    UInt32
    Remarks

    This setting applies only if the VideoSocket uses H264 encoded video formats.

    MediaType

    Specifies the media type of the VideoSocket. Valid types are: MediaType.Video and MediaType.Vbss

    Declaration
    public MediaType? MediaType { get; set; }
    Property Value
    Type Description
    Nullable<MediaType>

    ReceiveColorFormat

    What color format should received video be delivered in. Currently only NV12 and H264 are allowed.

    Declaration
    public VideoColorFormat ReceiveColorFormat { get; set; }
    Property Value
    Type Description
    VideoColorFormat

    StreamDirections

    The directionality of the media stream. This indicates whether it is enabled to both send and receive media, or only send or only receive media.

    Declaration
    public StreamDirection StreamDirections { get; set; }
    Property Value
    Type Description
    StreamDirection

    SupportedSendVideoFormats

    The list of video formats the VideoSocket supports sending.

    Declaration
    public IList<VideoFormat> SupportedSendVideoFormats { get; set; }
    Property Value
    Type Description
    IList<VideoFormat>
    Remarks

    For the main-video modality (MediaType.Video), the following ten H264 send video formats are supported:

    • H264_1920x1080_30Fps
    • H264_1280x720_30Fps
    • H264_960x540_30Fps
    • H264_640x360_30Fps
    • H264_640x360_15Fps
    • H264_424x240_15Fps
    • H264_320x180_15Fps
    • H264_320x180_7_5Fps
    • H264_320x180_3_75Fps
    • H264_320x180_1_875Fps
    (If the SupportedSendVideoFormats list contains other H264 video formats for main-video, they will be ignored and not used.)

    At least one of the H264_320x180 video formats must be supported. For best video interoperability, the bot should support all the H264_320x180 formats.

    For the Vbss modality, all of the send formats must be of the same resolution. The resolution should best match the native resolution of the content to be shared. Downscaling the Vbss content to a lower resolution should be avoided (but may be necessary if the native content resolution is larger than 1080p). The bot should support as many different frame rates as possible. The 1.875 fps frame rate must be supported.

    Back to top Copyright (c) Microsoft Corporation. All rights reserved.