Skip to content

Commit 67bb09a

Browse files
committed
Added rtcmulticonnection-v3@3.4.2
Now heroku URL also uses latest socket.io.js.
1 parent c6071bd commit 67bb09a

File tree

6 files changed

+23
-8
lines changed

6 files changed

+23
-8
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rtcmulticonnection",
33
"description": "RTCMultiConnection is a WebRTC JavaScript wrapper library runs top over RTCPeerConnection API to provide multi-session establishment scenarios.",
4-
"version": "3.4.1",
4+
"version": "3.4.2",
55
"authors": [
66
{
77
"name": "Muaz Khan",

dev/StreamsHandler.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,12 @@ var StreamsHandler = (function() {
128128
var mediaElement = connection.streamEvents[stream.streamid].mediaElement;
129129
mediaElement.volume = 0;
130130
afterEach(200, 5, function() {
131-
mediaElement.volume += .20;
131+
try {
132+
mediaElement.volume += .20;
133+
}
134+
catch(e) {
135+
mediaElement.volume = 1;
136+
}
132137
});
133138
}
134139
}

docs/how-to-use.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ If you're sharing files, you also need to link:
2222

2323
> You can link multiple files from `dev` directory. Order doesn't matters.
2424
25+
Use socket.io:
26+
27+
```html
28+
<script src="https://rtcmulticonnection.herokuapp.com/socket.io/socket.io.js"></script>
29+
```
30+
2531
## Set different socket URL
2632

2733
By default, RTCMultiConnection uses default port of your domain.
@@ -62,7 +68,7 @@ connection.socketURL = 'https://rtcmulticonnection.herokuapp.com:443/';
6268

6369
Here is a demo explaining how to use above `socketURL`:
6470

65-
* [https://jsfiddle.net/zd9Lsdfk/](https://jsfiddle.net/zd9Lsdfk/)
71+
* https://jsfiddle.net/zd9Lsdfk/50/
6672

6773
## Integrate in your own applications?
6874

docs/ios-android.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# iOS and Android
22

3-
Please check these docs instead:
3+
Please check these docs as well:
44

5-
# 1) [Write iOS apps using RTCMultiConnection](http://www.rtcmulticonnection.org/docs/Write-iOS-Apps/)
6-
7-
# 2) [Write Android apps using RTCMultiConnection](http://www.rtcmulticonnection.org/docs/Write-Android-Apps/)
5+
* [Write iOS apps using RTCMultiConnection](http://www.rtcmulticonnection.org/docs/Write-iOS-Apps/)
6+
* [Write Android apps using RTCMultiConnection](http://www.rtcmulticonnection.org/docs/Write-Android-Apps/)
87

98
----
109

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rtcmulticonnection-v3",
33
"preferGlobal": false,
4-
"version": "3.4.1",
4+
"version": "3.4.2",
55
"author": {
66
"name": "Muaz Khan",
77
"email": "muazkh@gmail.com",
@@ -16,6 +16,9 @@
1616
"scripts": {
1717
"start": "node server.js"
1818
},
19+
"engines": {
20+
"node": "7.0.0"
21+
},
1922
"main": "RTCMultiConnection.js",
2023
"keywords": [
2124
"peer-to-peer",

server.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Muaz Khan - www.MuazKhan.com
22
// MIT License - www.WebRTC-Experiment.com/licence
33
// Documentation - github.com/muaz-khan/RTCMultiConnection
4+
5+
// Please use HTTPs on non-localhost domains.
46
var isUseHTTPs = false && !(!!process.env.PORT || !!process.env.IP);
57

68
// user-guide: change port via "config.json"

0 commit comments

Comments
 (0)