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

Sending NDI example? #14

Open
cliqer opened this issue Dec 20, 2020 · 6 comments
Open

Sending NDI example? #14

cliqer opened this issue Dec 20, 2020 · 6 comments

Comments

@cliqer
Copy link

cliqer commented Dec 20, 2020

Using @jensstigaard's repo works like a charm on receiving streams but how does sendVideo work?

Tried with grandiose.sendVideo() and send() and I do receive the test patterns (even though the whole app freezes) but couldn't figure out how to use MediaStream Capture as a source.

Also grandiose.sendVideo({source: new MediaStream(null)}) didn't work

@justweb1
Copy link

sending was not implemented yet and the maintainer has not updated this repo in 2 years.

@cliqer
Copy link
Author

cliqer commented Dec 22, 2020

@jensstigaard has added sending NDI and the tests seem to work just fine.
An example is needed though on how data can be sent out correctly.

Should I expect something like this to work?

grandiose.sendVideo(mediaStream.getVideoTracks()[0])

While 'issues' are not available on his forked repo had to request this here :)

@jensstigaard
Copy link

Perhaps take a look at this promising fork
https://github.com/ianshade/grandiose/tree/feat/sending

@numenorien0
Copy link

Yes, but there's no explanation or example. Do you have an example ?

@jensstigaard
Copy link

No not really. But perhaps take a look at the great contribution from rse.
There is an example using .send here

@billygerhard
Copy link

@jensstigaard Your fork seems the most up to date, are you going to pull in that request from rse to yours?

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

5 participants