protocast-publisher
v0.1.3
Published
## Setup
Downloads
2
Readme
Protocast Publisher
Setup
Run setup.bat
, and define required environment variables in .env
file. For example:
PUB_TOKEN=c1a263e2-9be2-424c-963e-c892b93ee41b
PORTS='{"mvn":[9763,9763],"livelink":[1111,1111]}'
PUB_TOKEN
- A token used to match publisher streams with their subscribers. If you haven't received a publish token, please contact the author.PORTS
- A JSON object where each entry represents a stream I/O. The key is the stream type, and the value is a tuple that contains the stream port on the publisher machine, followed by the stream port on the subscriber machine.
Running
Execute the run.bat
file. Once the publisher is started, the backend will allocate the necessary resources for the streams to function correctly. This process may take up to 10 minutes to warm up. If you see a message that says "Waiting for server," please wait a few minutes, and the streams should begin flowing once the backend is ready.
The allocated resources will remain available even after you've shut down the publisher process, so you don't need to be concerned about long startup times. If you want to ensure higher availability for your publisher, just keep the process running. Remember that you'll be charged for egress, so make sure you don't have any active subscribers if you decide to do so.
Copyright
© Eytan Manor. All rights reserved.