Class: VideoSubscriptionConstraints

.Conference. VideoSubscriptionConstraints

Represents the video constraints for subscription.


new VideoSubscriptionConstraints()

Members


<nullable> bitrateMultiplier :number

Only bitrateMultipliers listed in Owt.Conference.VideoSubscriptionCapabilities are allowed.

Type:
  • number

<nullable> codecs :Array.<Owt.Base.VideoCodecParameters>

Codecs accepted. If none of codecs supported by both sides, connection fails. Leave it undefined will use all possible codecs.

Type:

<nullable> frameRate :number

Only frameRates listed in Owt.Conference.VideoSubscriptionCapabilities are allowed.

Type:
  • number

<nullable> keyFrameInterval :number

Only keyFrameIntervals listed in Owt.Conference.VideoSubscriptionCapabilities are allowed.

Type:
  • number

<nullable> resolution :Owt.Base.Resolution

Only resolutions listed in Owt.Conference.VideoSubscriptionCapabilities are allowed.

Type:

<nullable> rid :number

Restriction identifier to identify the RTP Streams within an RTP session. When rid is specified, other constraints will be ignored.

Type:
  • number