/Axia-Livewire-Stream-Address-Helper

Python helper methods for Axia Livewire Audio-Over-IP Multicast Addresses.

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Axia Livewire Stream Address Helper

Python helper methods for Axia Livewire Audio-Over-IP Multicast Addresses.

These methods help you deal with the Multicast IP Addresses for an Axia Livewire network in a Python script. It was inspired and based on this gist.

You may use this script as the basis for dealing with other parts of a Axia Livewire network, such as listening to audio, setting routes, controling audio consoles, or even generating your own SDP file to listen to a stream on your PC.

This script does not talk to the Livewire Advertisment Protocol. It just maniplates IP addresses and stream numbers.

How to use this script

To import the method, copy "AxiaLivewireAddressHelper.py" to your project directory and

import AxiaLivewireAddressHelper

To find the multicast address for standard stream #2100

AxiaLivewireAddressHelper.streamNumToMulticastAddr("2100", "standard")

To find the multicast address for standard stream backfeed #2100

AxiaLivewireAddressHelper.streamNumToMulticastAddr("2100", "backfeed_standard")

To finds the multicast address for livestream backfeed #2100

AxiaLivewireAddressHelper.streamNumToMulticastAddr("2100", "backfeed_livestream")

To find the multicast address for surround stream #2100

AxiaLivewireAddressHelper.streamNumToMulticastAddr("2100", "surround")

To find the stream number for multicast address 239.192.8.52

AxiaLivewireAddressHelper.multicastAddrToStreamNum("239.192.8.52")

To find the stream number for multicast address 239.193.8.52

AxiaLivewireAddressHelper.multicastAddrToStreamNum("239.193.8.52")

More info on the Axia Livewire Protocol

Contributing

Contributions are welcomed. Feel free to submit a pull request to fix bugs or add additional functionality to this script.