```

## How to compile:

```bash
./configure
```

Configures minisatip for the current system (use `./configure --help` for options)

To cross compile, use something like (static compilation), considering that `mips-openwrt-linux-musl-gcc` is the gcc executable for that platform:

```bash
cmake -B build . -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ -DNETCVCLIENT=0
cd build
```

To compile the application:

```bash
make
```

## Contributing


Ensure clang-format and pre-commit are installed
```bash
pip3 install pre-commit
pre-commit install
apt-get install clang-format
```


## Building a Debian package:

```bash
dpkg-buildpackage -b -us -uc
```

## Examples:

- In order to listen to a radio after minisatip is started open the following URL in your favorite media player:
	- on Hotbird 13E: `http://MINISATIP_HOST:8080/?msys=dvbs&freq=11623&pol=v&sr=27500&pids=0,10750,254`
	- Astra 19.2E: `http://MINISATIP_HOST:8080/?msys=dvbs&freq=12266&pol=h&sr=27500&pids=0,851`

- Television FTA programs:
	- Astra 19.2E, Kika HD: `http://MINISATIP_HOST:554/?src=1&freq=11347&pol=v&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,6600,6610,6620,6630`

- msys can be one of: dvbs, dvbs2, dvbt, dvbt2, dvbc, dvbc2, atsc, isdbt, dvbcb ( - DVBC_ANNEX_B )
