Skip to content

[Architecture] Decide on scheme for OF + Browser #1

@robotconscience

Description

@robotconscience

@quinkennedy Starting convo here to keep track of prototypes!

Tested so far:

  • CEF
    • Pros:
      • Full version of Chromium
    • Supports all modern browser stuff (WebGL, etc)
    • Stable
    • Cons
      • OF support is so-so, WIP
      • Mediocre framerate in OF, not sure why yet
      • Not the easiest to use
    • Notes
      • Maybe could work better as a more parallel-process situation, i.e. not trying to draw as texture in OF?
  • WebView in OF (using this)
    • Pros
      • Simple, not hack-y way of OF + browser
    • Decent framerate (still not amazing)
    • Cons
      • Does not support WebGL
    • OS X only (probably fine for us)
  • WebView via Interface Builder in OF (using ofxCocoaGLView)
    • Pros
      • Same as WebView, but with Interface Builder which is nice
    • Supports WebGL!
    • Cons
      • OS X only (probably fine for us)
    • Kind of a weird, non-typical way of building OF apps (pure cocoa ofApp, for example)
  • Syphon + CamTwist
    • Pros
      • Simple, easy to use
    • Cons
      • Occasionally drops, which is unacceptable
    • TBD on future support of CamTwist
    • Latency is noticeable
  • Websocket stream
    • Pros
      • Native JS supported
    • Cons
      • Have to implement some sort of frame queue–latency/quality relationship is not great

Not tested

  • Awesomium / Berkelium
    • Are these project still supported?
  • FFMpeg stream
    • Some infos out there, could be slightly better than websockets?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions