All,

I'm prototyping a native version of an existing webapp that uses a Canvas 
element to display video (raw RGBA frames @ ~20fps) obtained via a websocket.

The native version is built using re-natal (kudos!) and I'm able to connect to 
the websocket and obtain the ArrayBuffer. So far so good... unfortunately, the 
RN Image component only provides a source/URL property for the image source 
that it will use to download/decode images. But I already have the data. Of 
course I could transform my image data to a base64 encoding and use a data url 
but, eeewww.

I just need a surface I can draw the raw image data onto. How hard can that be?

Does anyone have an alternate suggestion for displaying a series of images 
quickly and efficiently. I'm looking over some of the RN opengl components - 
does anyone have experience using any of them? Suggested libraries? Flipboard 
has some components that look ok... I'm still evaluating them.

Is there another RN component I'm overlooking? A different technique altogether?

My next step is to create my own RN component to do this. I was just hoping to 
avoid that by using existing libraries/components.

Alan

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to