mirror of
https://github.com/koush/scrypted.git
synced 2026-02-10 09:12:03 +00:00
common: rtc defaults
This commit is contained in:
@@ -22,8 +22,14 @@ export class BrowserSignalingSession implements RTCSignalingSession {
|
||||
hasSetup = false;
|
||||
options: RTCSignalingChannelOptions = {
|
||||
capabilities: {
|
||||
audio: RTCRtpReceiver.getCapabilities('audio'),
|
||||
video: RTCRtpReceiver.getCapabilities('video'),
|
||||
audio: RTCRtpReceiver.getCapabilities?.('audio') || {
|
||||
codecs: undefined,
|
||||
headerExtensions: undefined,
|
||||
},
|
||||
video: RTCRtpReceiver.getCapabilities?.('video') || {
|
||||
codecs: undefined,
|
||||
headerExtensions: undefined,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user