Giter VIP home page Giter VIP logo

Comments (6)

rektide avatar rektide commented on May 25, 2024

Can you talk a little more about streaming commands? What are some examples of commands streaming.

The current protocol, after a cursory review, seems to only send single fixed sized messages + payloads... but it sounds like there's some belief those messages couldn't be directly translated to JSON? What am I not seeing that prevents that? Where are commands more than fire & forget?

from openscreenprotocol.

avayvod avatar avayvod commented on May 25, 2024

@rektide

See https://github.com/webscreens/openscreenprotocol/blob/gh-pages/control_protocol.md#json for why JSON was dismissed.

Also https://github.com/webscreens/openscreenprotocol/blob/gh-pages/control_protocol.md#presentation-application-message for when the messages can contain arbitrary binary data.

from openscreenprotocol.

mfoltzgoogle avatar mfoltzgoogle commented on May 25, 2024

We're looking at CBOR and protocol buffers as replacements for the API-level protocol messages. Once we have a consensus on the format, my intention is to replace the hand-rolled messages with one of those formats. Efficiency for sending binary blobs is one consideration among several here.

from openscreenprotocol.

rakuco avatar rakuco commented on May 25, 2024

@mfoltzgoogle: Reading the May F2F minutes, it was said that the benchmark results discussed there would also be posted here. Would it be possible to do so?

from openscreenprotocol.

mfoltzgoogle avatar mfoltzgoogle commented on May 25, 2024

@rakuco I think you're looking for slides 95-97 here: https://www.w3.org/2014/secondscreen/slides/openscreenprotocol-berlin-f2f-2018-google.pdf

from openscreenprotocol.

mfoltzgoogle avatar mfoltzgoogle commented on May 25, 2024

@pthatcherg landed two PRs (#119, #120) that lay the framework for CBOR-based message passing and how it can be used to implement the Presentation API. There's still some work to do to finish the message definitions for the Remote Playback API (tracked under Issue #12) and tighten up a few other details. But I think there's enough to close out this issue, which I'll do in a week if I don't hear otherwise.

from openscreenprotocol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.