GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - passing/jamulus-python: Python library for sending and receiving Jamulus protocol messages

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
central_proxy.py
central_proxy.py
 
 
central_server.py
central_server.py
 
 
dummy_client.py
dummy_client.py
 
 
dummy_server.py
dummy_server.py
 
 
jamulus.py
jamulus.py
 
 
test_jamulus.py
test_jamulus.py
 
 

Repository files navigation

Jamulus python library

The library supports sending and receiving of Jamulus protocol messages.

Usage example

  • Fetch server list from central (directory) server
import jamulus

server = ("<hostname>", jamulus.DEFAULT_PORT)

jc = jamulus.JamulusConnector()
jc.sendto(server, "CLM_REQ_SERVER_LIST")

try:
    while True:
        addr, key, count, values = jc.recvfrom(timeout=1)
        if key == "CLM_SERVER_LIST":
            for server in values:
                print(f'{server["name"]} ({server["max_clients"]})')
except TimeoutError:
    pass

Scripts

central_server.py

  • Simple implementation of a Jamulus Central Server
  • Jamulus Servers can register / unregister
  • Jamulus Clients can get list of registered servers

central_proxy.py

  • Collect server lists from multiple Jamulus Central Servers
  • Filters servers by their country ID
  • Jamulus Clients can get filtered list of servers

dummy_server.py

  • Simulates a Jamulus Server

dummy_client.py

  • Simulates a Jamulus Client connecting to a Jamulus Server

Limitations

  • The implementation is not proven / tested to be 100% reliable
  • Certain exceptions are not handled and can crash the process

References

These projects were very helpful to understand the Jamulus protocol:

  • softins/jamulus-php
  • softins/jamulus-wireshark

About

Python library for sending and receiving Jamulus protocol messages

Topics

jamulus

Resources

Readme
MIT license
Activity

Stars

7 stars

Watchers

4 watching

Forks

1 fork
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.