Skip to content
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

support for direct messages like in DataChannel? #33

Open
mvayngrib opened this issue May 28, 2013 · 4 comments
Open

support for direct messages like in DataChannel? #33

mvayngrib opened this issue May 28, 2013 · 4 comments

Comments

@mvayngrib
Copy link
Contributor

Will there be the option like in DataChannel, where you can do connection.channels[userId].send(...) to send a direct message?

@muaz-khan
Copy link
Owner

Are you meant support of direct messages in RTCMultiConnection?

@mvayngrib
Copy link
Contributor Author

right, in RTCMultiConnection

@muaz-khan
Copy link
Owner

OK. It will be added in RTCMultiConnection-v1.3, soon.

@mvayngrib
Copy link
Contributor Author

Awesome, thanks :)

muaz-khan added a commit that referenced this issue May 29, 2013
You can send direct messages like this:

connection.userid = 'muazkh';
connection.channels['muazkh'].send('hello Muaz!');

You can set bandwidth like this:

connection.bandwidth = {
audio: 50,
video: 256
}

or directly:

connection.bandwidth.audio  =50;
connection.bandwidth.video  =256;

Merging #31 and implemented #33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants