# hpsjam **Repository Path**: mirrors/hpsjam ## Basic Information - **Project Name**: hpsjam - **Description**: HPS JAM 是一个在线音频协作工具,用于支持歌词和聊天的低延迟音频 - **Primary Language**: C/C++ - **License**: BSD-2-Clause - **Default Branch**: main - **Homepage**: https://www.oschina.net/p/hpsjam - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2022-11-25 - **Last Updated**: 2026-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HPS JAM An online audio collaboration tool for low latency audio with lyrics and chat support. # News Some non-backwards compatible network protocol changes have been introduced as of v1.1.0 to significantly reduce audio jitter. Please update both client and server software at the same time! # Features # Users guides ## How to build client and server under FreeBSD after cloning this repository ## How to build server under Ubuntu Linux after cloning this repository ### Notes ## Dependencies ## Example how to start the client
HpsJam &
## Example how to start the server in foreground mode, to see errors
HpsJam --server --port 22124 --peers 16
## Example how to start the server
HpsJam --server --port 22124 --peers 16 --daemon
## Example of an Ubuntu service file
[Unit]
Description=HpsJam headless server
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
User=jamulus # or hpsjam if that exists
Group=nogroup
NoNewPrivileges=true
ProtectSystem=true
ProtectHome=true
Nice=-20
IOSchedulingClass=realtime
IOSchedulingPriority=0

#### Change this parameters to your liking
ExecStart=/bin/sh -c 'exec /usr/bin/HpsJam --server \
--port 22126 \
--peers 16'
# [--welcome-msg-file /yourPath/yourFile
#	[--password <64_bit_hexadecimal_password>] \
#	[--mixer-password <64_bit_hexadecimal_password>] \
#	[--ncpu <1,2,3, ... 64, Default is 1>] \
#	[--httpd ] \
#	[--httpd-conns  \
#	[--cli-port ]

Restart=on-failure
RestartSec=30
StandardOutput=journal
StandardError=inherit
SyslogIdentifier=jamulus

[Install]
WantedBy=multi-user.target
#
## Example how to use ffmpeg to stream from HpsJam to icecast
HpsJam --server --port 22124 --peers 16 --httpd 127.0.0.1:8080 --daemon

ffmpeg -f s32le -ac 2 -ar 48000 -i http://127.0.0.1:8080/stream.wav \
       -acodec libmp3lame -ab 128k -ac 2 -content_type audio/mpeg \
       -f mp3 icecast://source:yourpassword@127.0.0.1:8000/stream
## How to get help about the commandline parameters
HpsJam -h
## Privacy policy HPS JAM does not collect any information from its users. ## Supported platforms