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

  • wss://yc.tweaked-programs.ccwssprimary

    Primary Server

    Hosted on hetzner in Germany by Sammy

    This server is very stable, this is, why it is the primary server.

  • wss://youcube.knijn.onewsssleepy

    Sleepy Server

    Hosted on nodespace in North Carolina by EmmaKnijn

    This server is sometimes sleeping.

  • wss://youcube.onrender.comwssfallback

    Fallback Server

    Hosted on render in Oregon (US West) by Commandcracker

    This server is only meant to be used when all other servers are offline.
    It's pretty slow, but it should do the job.

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