Skip to content

Commit

Permalink
webrtc/rebroadcast: fix sdp audio detection defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Feb 27, 2024
1 parent acc7f0c commit 349c416
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions plugins/prebuffer-mixin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/prebuffer-mixin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/prebuffer-mixin",
"version": "0.10.14",
"version": "0.10.15",
"description": "Video Stream Rebroadcast, Prebuffer, and Management Plugin for Scrypted.",
"author": "Scrypted",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions plugins/webrtc/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/webrtc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/webrtc",
"version": "0.2.10",
"version": "0.2.11",
"scripts": {
"scrypted-setup-project": "scrypted-setup-project",
"prescrypted-setup-project": "scrypted-package-json",
Expand Down
16 changes: 9 additions & 7 deletions plugins/webrtc/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ class WebRTCMixin extends SettingsMixinDeviceBase<RTCSignalingClient & VideoCame

export class WebRTCPlugin extends AutoenableMixinProvider implements DeviceCreator, DeviceProvider, BufferConverter, MixinProvider, Settings {
storageSettings = new StorageSettings(this, {
maximumCompatibilityMode: {
title: 'Maximum Compatibility Mode',
description: 'Enables maximum compatibility with WebRTC clients by using the most conservative transcode options.',
defaultValue: false,
type: 'boolean',
},
iceInterfaceAddresses: {
title: 'ICE Interface Addresses',
description: 'The ICE interface addresses to bind and share with the peer.',
Expand All @@ -195,9 +189,17 @@ export class WebRTCPlugin extends AutoenableMixinProvider implements DeviceCreat
],
defaultValue: 'Default',
},
maximumCompatibilityMode: {
group: 'Advanced',
title: 'Maximum Compatibility Mode',
description: 'Enables maximum compatibility with WebRTC clients by using the most conservative transcode options.',
defaultValue: false,
type: 'boolean',
},
useTurnServer: {
group: 'Advanced',
title: 'Use TURN Servers',
description: 'Use a intermediary server to send video streams. Reduces performance and should only be used with restrictive NATs.',
description: 'Uses a intermediary server to send video streams when necessary. Traverses around restrictive NATs.',
type: 'boolean',
defaultValue: true,
},
Expand Down

0 comments on commit 349c416

Please sign in to comment.