getReceiverCapabilities(kind)
Acquires the RTCRtpReceiver capabilities on the client side.
This function is similar to RTCRtpReceiver.getCapabilities().
Parameters¶
| Name | Description |
|---|---|
kind |
(Required) The type of capabilities to acquire. Allowed values: "audio" or "video" |
Return Values¶
| Type | Description |
|---|---|
RTCRtpCapabilities |
The capabilities object. MDN Reference |
Code Example¶
let _caps = HorizonWebRtcRedirectionAPI.getReceiverCapabilities("video");