Skip to content

Commit 7b22db7

Browse files
committed
Calls: Replace Simulcast API fallbackStrategy with priorityOrdering and ridUnavailableStrategy
1 parent c602226 commit 7b22db7

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

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

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ paths:
144144
trackName: simulcast-video-track
145145
simulcast:
146146
preferredRid: "h"
147-
fallbackStrategy: "leastBandwidth"
147+
priorityOrdering: "asciibetical"
148+
ridUnavailableStrategy: "nextPriority"
148149
security:
149150
- secret: []
150151
parameters:
@@ -221,7 +222,8 @@ paths:
221222
mid: "5"
222223
simulcast:
223224
preferredRid: "h"
224-
fallbackStrategy: "leastBandwidth"
225+
priorityOrdering: "asciibetical"
226+
ridUnavailableStrategy: "nextPriority"
225227
sessionDescription:
226228
sdp: |
227229
v=0
@@ -388,7 +390,8 @@ paths:
388390
mid: "8"
389391
simulcast:
390392
preferredRid: "h"
391-
fallbackStrategy: "leastBandwidth"
393+
priorityOrdering: "asciibetical"
394+
ridUnavailableStrategy: "nextPriority"
392395
security:
393396
- secret: []
394397
parameters:
@@ -515,14 +518,20 @@ components:
515518
preferredRid:
516519
type: string
517520
description: Preferred RID (Resolution ID) for simulcast streams
518-
fallbackStrategy:
521+
priorityOrdering:
519522
type: string
520523
enum:
521-
- auto
522-
- leastBandwidth
523524
- none
524-
default: auto
525-
description: General fallback strategy when any constraint (like preferredRid, minWidth, maxBandwidth, etc.) cannot be met. 'auto' will select the best quality possible within constraints.
525+
- asciibetical
526+
default: none
527+
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.
528+
ridUnavailableStrategy:
529+
type: string
530+
enum:
531+
- none
532+
- nextPriority
533+
default: none
534+
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.
526535
CloseTrackObject:
527536
type: object
528537
properties:

0 commit comments

Comments
 (0)