This document describes the implementation of the JSON-RPC client and server in the Kurento project. A proper introduction to the WebSocket protocol is beyond the scope of this document. At a minimum however it’s important to understand that HTTP is used only for the initial handshake, which relies on a mechanism built into HTTP to request a protocol upgrade (or in this case a protocol switch) to which the server can respond with HTTP status 101 (switching protocols) if it agrees. Assuming the handshake succeeds the TCP socket underlying the HTTP upgrade request remains open and both client and server can use it to send messages to each other. For information about the protocol itself, please refer to this page in the project’s documentation.
As the JSON-RPC v2.0 specification describes, the protocol implies the existence of a client issuing requests, and the presence of a server to process those requests. This comes in opposition with v1.0, which used a peer-to-peer architecture, where both peers were client and server.
1 year, 5 months ago passed
.. image:: https://readthedocs.org/projects/doc-kurento-jsonrpc/badge/?version=latest :target: https://doc-kurento-jsonrpc.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
<a href='https://doc-kurento-jsonrpc.readthedocs.io/en/latest/?badge=latest'> <img src='https://readthedocs.org/projects/doc-kurento-jsonrpc/badge/?version=latest' alt='Documentation Status' /> </a>
Project has no tags.
Project Privacy Level