mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +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() {
|
get isMetadataOnly() {
|
||||||
return this.data === PLACEHOLDER_DATA;
|
return this.data === PLACEHOLDER_DATA;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user