Skip to content

Commit 4cb8262

Browse files
committed
add method flv
1 parent d53c727 commit 4cb8262

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/flv.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ export class FlvPacket {
135135
}
136136
}
137137

138+
public get type(): FlvPacketType {
139+
return this.header.type;
140+
}
141+
138142
public get size(): number {
139143
return this.header.size + this.payload.length;
140144
}

0 commit comments

Comments
 (0)