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

[FEATURE REQUEST] Add addStream(mediaStream) method and 'stream' event for SimpleSignalClient #33

Open
OmarB97 opened this issue Dec 29, 2020 · 0 comments

Comments

@OmarB97
Copy link

OmarB97 commented Dec 29, 2020

It would be great to have an addStream() method for SimpleSignalClient, similar to what you can do directly with simple-peer. Also a 'stream' event would be perfect so we can get a callback where we can do something directly with the mediaStream from the other peer.

function addStream(mediaStream) {
    ... 
)
.on('stream', (stream) => {
    ...
}
@OmarB97 OmarB97 changed the title Add addStream(mediaStream) method and 'stream' event for SimpleSignalClient [FEATURE REQUEST] Add addStream(mediaStream) method and 'stream' event for SimpleSignalClient Dec 29, 2020
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

1 participant