We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b1da6 commit 1be52d4Copy full SHA for 1be52d4
src/packets/public.mts
@@ -3,9 +3,7 @@
3
*
4
* @example
5
* ```ts
6
- * import * as packets from 'rtp.js/packets';
7
- *
8
- * const {
+ * import {
9
* isRtp,
10
* isRtcp,
11
* RtpPacket,
@@ -25,7 +23,7 @@
25
23
* ExtendedJitterReportsPacket,
26
24
* GenericPacket,
27
* // etc.
28
- * } = packets;
+ * } from 'rtp.js/packets';
29
* ```
30
*/
31
src/utils/public.mts
- * import * as utils from 'rtp.js/utils';
* padTo4Bytes,
* nodeBufferToDataView,
* dataViewToNodeBuffer,
@@ -18,7 +16,7 @@
18
16
* stringToDataView,
19
17
* getStringByteLength,
20
21
- * } = utils;
+ * } from 'rtp.js/utils';
22
0 commit comments