mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Clarify docs
This commit is contained in:
+4
-1
@@ -126,7 +126,10 @@ export class EncodedPacket {
|
||||
}
|
||||
}
|
||||
|
||||
/** If this packet is a metadata-only packet. Metadata-only packets don't contain their packet data. */
|
||||
/**
|
||||
* If this packet is a metadata-only packet. Metadata-only packets don't contain their packet data. They are the
|
||||
* result of retrieving packets with {@link PacketRetrievalOptions.metadataOnly} set to `true`.
|
||||
*/
|
||||
get isMetadataOnly() {
|
||||
return this.data === PLACEHOLDER_DATA;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user