YouCube 0.0.0-poc.1.0.0

Documentation for YouCube's backend API.

All public servers are set by default in the client.
The client will choose the best automatically.

Servers

Operations

  • PUB /

    Messages the Server Can Return

    Accepts one of the following messages:

    • #0error
      object

      Examples

    • #1chunk
      object

      base64 encoded chunks (1 chunk is 16 bits)

      Examples

    • #2media
      object

      Examples

    • #3handshake
      object

      Examples

    • #4vid
      object

      base64 encoded chunks (1 chunk is 16 bits)

      Examples

  • SUB /

    Messages the Server Can Process

    Accepts one of the following messages:

    • #0request_media
      object

      Examples

    • #1get_chunk
      object

      Examples

    • #2get_vid
      object

      Examples

    • #3do_handshake
      object

      Examples

Messages

  • #1request_media
    object
  • #2get_chunk
    object
  • #3get_vid
    object
  • #4error
    object
  • #5do_handshake
    object
  • #6chunk
    object

    base64 encoded chunks (1 chunk is 16 bits)

  • #7vid
    object

    base64 encoded chunks (1 chunk is 16 bits)

  • #8media
    object
  • #9handshake
    object