Skip to content

Commit bd523ec

Browse files
committed
Calls: Replace Simulcast API fallbackStrategy with priorityOrdering and ridUnavailableStrategy
1 parent 197cf55 commit bd523ec

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

public/realtime/static/calls-api-2024-05-21.yaml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ paths:
149149
trackName: simulcast-video-track
150150
simulcast:
151151
preferredRid: "h"
152-
fallbackStrategy: "leastBandwidth"
152+
priorityOrdering: "asciibetical"
153+
ridUnavailableStrategy: "nextPriority"
153154
security:
154155
- secret: []
155156
parameters:
@@ -226,7 +227,8 @@ paths:
226227
mid: "5"
227228
simulcast:
228229
preferredRid: "h"
229-
fallbackStrategy: "leastBandwidth"
230+
priorityOrdering: "asciibetical"
231+
ridUnavailableStrategy: "nextPriority"
230232
sessionDescription:
231233
sdp: |
232234
v=0
@@ -393,7 +395,8 @@ paths:
393395
mid: "8"
394396
simulcast:
395397
preferredRid: "h"
396-
fallbackStrategy: "leastBandwidth"
398+
priorityOrdering: "asciibetical"
399+
ridUnavailableStrategy: "nextPriority"
397400
security:
398401
- secret: []
399402
parameters:
@@ -520,14 +523,20 @@ components:
520523
preferredRid:
521524
type: string
522525
description: Preferred RID (Resolution ID) for simulcast streams
523-
fallbackStrategy:
526+
priorityOrdering:
524527
type: string
525528
enum:
526-
- auto
527-
- leastBandwidth
528529
- none
529-
default: auto
530-
description: General fallback strategy when any constraint (like preferredRid, minWidth, maxBandwidth, etc.) cannot be met. 'auto' will select the best quality possible within constraints.
530+
- asciibetical
531+
default: none
532+
description: Controls what happens if there is not enough network resources available to send the preferredRid. 'none' means keep sending even if not enough bandwidth, 'asciibetical' uses a-z order to determine priority where a is most desirable and z is least desirable.
533+
ridUnavailableStrategy:
534+
type: string
535+
enum:
536+
- none
537+
- nextPriority
538+
default: none
539+
description: Controls what happens when the rid currently being used or preferredRid is no longer being sent by the publisher. 'none' means do nothing, 'nextPriority' uses the next on the priorityOrdering.
531540
CloseTrackObject:
532541
type: object
533542
properties:

0 commit comments

Comments
 (0)