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

Image API #186

Open
logotype opened this issue Sep 28, 2014 · 5 comments
Open

Image API #186

logotype opened this issue Sep 28, 2014 · 5 comments

Comments

@logotype
Copy link
Contributor

Hi

Is there any plans to implement the Image API through WS?

BR,
Victor

@pehrlich
Copy link
Contributor

pehrlich commented Oct 8, 2014

Transferring the images, raw, requires a pretty high data rate - around 17Mbyte/sec. Initial tests with sending data over the websocket were prohibitively slow.

WebRTC data streaming (over SCTP, maybe even with jumbo frames) might be worth exploring as well, but we don't yet know how that would perform.

I'd still really like to see it happen though, and will be exploring options and open to ideas.

@logotype
Copy link
Contributor Author

logotype commented Oct 8, 2014

WebRTC sounds like a good bet.

Alternatively, given the data rate, maybe a poll/request approach is an option to push?

Sent from my iPhone

On 8 Oct, 2014, at 8:05 am, Peter Ehrlich [email protected] wrote:

Transferring the images, raw, requires a pretty high data rate - around 17Mbyte/sec. Initial tests with sending data over the websocket were prohibitively slow.

WebRTC data streaming (over SCTP, maybe even with jumbo frames) might be worth exploring as well, but we don't yet know how that would perform.

I'd still really like to see it happen though, and will be exploring options and open to ideas.


Reply to this email directly or view it on GitHub.

@Dshankar
Copy link

@pehrlich any updates on Image API in JS? IR/RGB passthrough in the browser would be fantastic, even if it requires ugly hacks on my part

@Dshankar
Copy link

Chrome extensions have raw TCP sockets (chrome.sockets.tcp). I'm thinking of writing a helper app that uses the ObjectiveC Image API to get image frames, correct distortion, and stream over TCP to the browser. This should get around throughput issues and have little-to-no discernible latency.

I should have some downtime this weekend to work on this. It's an ugly hack but it might work.

@pehrlich
Copy link
Contributor

Would be excited to see this! Keep us posted

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

3 participants