add .nvmrc

This commit is contained in:
2025-08-17 15:37:42 -04:00
parent ceab5680dd
commit 511408b858
9 changed files with 241 additions and 237 deletions

View File

@@ -19,12 +19,9 @@ bun install
## Usage
```typescript
import { RtmpPush } from '@techniker-me/rtmp-push';
import {RtmpPush} from '@techniker-me/rtmp-push';
const rtmpPush = new RtmpPush(
'https://example.com/video.ts',
'rtmp://ingest.example.com:80/ingest'
);
const rtmpPush = new RtmpPush('https://example.com/video.ts', 'rtmp://ingest.example.com:80/ingest');
// Start streaming
rtmpPush.start('stream-key', ['h264', 'aac']);
@@ -43,16 +40,19 @@ rtmpPush.stop();
This package includes comprehensive tests for all features:
### Run all tests
```bash
bun test
```
### Run tests in watch mode
```bash
bun test --watch
```
### Run tests with coverage
```bash
bun test --coverage
```