-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTCMultiConnection-v1.3 test — Demo not working #46
Comments
See this demo hosted on <script src="https://webrtc-experiment.appspot.com/RTCMultiConnection-v1.3.js"></script>
<button id="init">Init</button> var connection = new RTCMultiConnection();
connection.session = {
audio: true,
video: true
};
// get access to local or remote streams
connection.onstream = function (e) {
document.body.appendChild(e.mediaElement);
}
// searching/connecting pre-created session
connection.connect('session-id');
// to create/open a new session
// it should be called "only-once" by the session-initiator
document.getElementById('init').onclick = function() {
connection.open('session-id');
this.disabled = true;
}; Another testing demo is also available here. |
https://webrtc-experiment.appspot.com/RTCMultiConnection-v1.3/ In this http://jsfiddle.net/3tNQ2/3/embedded/result/ |
document.getElementById('renegotiate').onclick = function() {
connection.addStream({
audio: true,
video: true
});
} Process
If you're sharing audio; then you can't renegotiate |
It works.!!, but the video is added twice or thrice to the initiator. |
1 -> started a new session
2 -> gave the same URL in the another system.
only can view the self video , but not the peer video. Text chat is also not working.
The text was updated successfully, but these errors were encountered: