# Phenix RTMP push module

The Phenix RTMP Push module allows the publication of any media using FFmpeg to the PCast Platform.

## Installation

```sh
npm install @phenixrts-tools/rtmp-push
```

## Usage

```
import RtmpPush from '@phenixrts-tools/rtmp-push';

const rtmpPush = new RtmpPush(mediaSourceUri, rtmpPushUri);

await rtmpPush.start();

...

await rtmpPush.stop();
```

## License

See license in LICENSE.md