Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Latest commit

 

History

History
116 lines (73 loc) · 3.32 KB

File metadata and controls

116 lines (73 loc) · 3.32 KB

WaveStream

On demand streaming and conversion service for CC: T.
This project is currently in development and will become the base of YC 2.0 when video streaming is supported.


Current API Endpoints

Image NFT Converter

Endpoint: /api/v1/img/nft
Description: Converts images to NFT format.
Status: Stable but dither param will change and max width and height will be added

Parameter Type Default Description
url string - The URL of the image to convert.
width integer 51 The desired width of the output image.
height integer 19 The desired height of the output image.
dither boolean false Enables dithering for the image.

DFPWM Streaming

Endpoint: /api/v1/audio/dfpwm
Description: Streams audio in DFPWM format.
Status: Stable but internal chunk size will change and automatic passing to yt-dlp

Parameter Type Default Description
url string - The URL to extract from or an youtube search quarry

PCM U8 WAV Streaming

Endpoint: /api/v1/audio/pcm
Description: Streams audio in PCM U8 WAV format.
Status: Unstable

Parameter Type Default Description
url string - The URL to extract from or an youtube search quarry

Server requirements


Displaying nft

Example soon™

Example soon™


Audio Clients

Speaker.lua (Integrated in CC: T)

  • Command: speaker play <url> [speaker]

For PCM

  • Command: austream <url> type=pcm,dataType=unsigned,streamData=true

For DFPWM

  • Command: austream <url> type=dfpwm,streamData=true

WaveStream

  • Status: WIP
  • Command: wavestream <short_url>
  • Status: Maybe Coming soon™

Video Clients

  • Status: Coming soon™

Public Servers