@agentdance/node-webrtc-sdp 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/package.json +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# @agentdance/node-webrtc-sdp
|
|
2
|
+
|
|
3
|
+
WebRTC SDP parser / serializer for Node.js — part of the [`@agentdance/node-webrtc`](https://github.com/agent-dance/node-webrtc) pure-TypeScript WebRTC stack.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Full parse ↔ serialize round-trip (RFC 4566 / WebRTC)
|
|
8
|
+
- extmap, rtpmap/fmtp, ssrc/ssrc-group, BUNDLE, DTLS fingerprint
|
|
9
|
+
- Chrome SDP interop
|
|
10
|
+
- Zero native dependencies
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @agentdance/node-webrtc-sdp
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { parse, serialize, parseCandidate } from '@agentdance/node-webrtc-sdp';
|
|
22
|
+
|
|
23
|
+
const session = parse(sdpString);
|
|
24
|
+
const text = serialize(session);
|
|
25
|
+
const cand = parseCandidate('candidate:…');
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Full Documentation
|
|
29
|
+
|
|
30
|
+
See the [main package README](https://github.com/agent-dance/node-webrtc#readme) for the complete API reference, usage examples, and architecture overview.
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentdance/node-webrtc-sdp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "WebRTC SDP parser and serializer — full parse/serialize round-trip, extmap, rtpmap/fmtp, ssrc/ssrc-group, BUNDLE, Chrome interop. Part of the @agentdance/node-webrtc stack.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webrtc",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
|
+
"README.md",
|
|
36
37
|
"dist",
|
|
37
38
|
"src"
|
|
38
39
|
],
|