Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disabled {useDefaultDevices:true}. You can always pass
{useDefaultDevices:false} to let v3 select last-available-devices.
  • Loading branch information
muaz-khan committed Jun 5, 2016
1 parent b64547a commit 8087e76
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 13 deletions.
6 changes: 4 additions & 2 deletions RTCMultiConnection.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Last time updated: 2016-06-04 2:15:39 PM UTC
// Last time updated: 2016-06-05 3:14:50 PM UTC

// _____________________
// RTCMultiConnection-v3
Expand All @@ -17,7 +17,9 @@
// RTCMultiConnection.js

function RTCMultiConnection(roomid, forceOptions) {
forceOptions = forceOptions || {};
forceOptions = forceOptions || {
useDefaultDevices: true
};

var connection = this;

Expand Down
4 changes: 2 additions & 2 deletions RTCMultiConnection.min.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dev/RTCMultiConnection.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// RTCMultiConnection.js

function RTCMultiConnection(roomid, forceOptions) {
forceOptions = forceOptions || {};
forceOptions = forceOptions || {
useDefaultDevices: true
};

var connection = this;

Expand Down
2 changes: 1 addition & 1 deletion dist/rmc3.fbr.min.js

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

6 changes: 4 additions & 2 deletions dist/rmc3.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Last time updated: 2016-06-04 2:15:39 PM UTC
// Last time updated: 2016-06-05 3:14:50 PM UTC

// _____________________
// RTCMultiConnection-v3
Expand All @@ -17,7 +17,9 @@
// RTCMultiConnection.js

function RTCMultiConnection(roomid, forceOptions) {
forceOptions = forceOptions || {};
forceOptions = forceOptions || {
useDefaultDevices: true
};

var connection = this;

Expand Down
4 changes: 2 additions & 2 deletions dist/rmc3.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/how-to-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ All files from `/dist` directory are available on CDN: `https://cdn.webrtc-exper
<script src="https://cdn.webrtc-experiment.com:443/rmc3.min.js"></script>

<!-- or specific version -->
<script src="https://github.com/muaz-khan/RTCMultiConnection/releases/download/3.3.5/rmc3.min.js"></script>
<script src="https://github.com/muaz-khan/RTCMultiConnection/releases/download/3.3.6/rmc3.min.js"></script>
```

If you're sharing files, you also need to link:
Expand All @@ -26,7 +26,7 @@ If you're sharing files, you also need to link:
<script src="https://cdn.webrtc-experiment.com:443/rmc3.fbr.min.js"></script>

<!-- or specific version -->
<script src="https://github.com/muaz-khan/RTCMultiConnection/releases/download/3.3.5/rmc3.fbr.min.js"></script>
<script src="https://github.com/muaz-khan/RTCMultiConnection/releases/download/3.3.6/rmc3.fbr.min.js"></script>
```

> You can link multiple files from `dev` directory. Order doesn't matters.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rtcmulticonnection-v3",
"preferGlobal": false,
"version": "3.3.5",
"version": "3.3.6",
"author": {
"name": "Muaz Khan",
"email": "[email protected]",
Expand Down

0 comments on commit 8087e76

Please sign in to comment.