StreamPack
Toggle table of contents
3.0.0-RC
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
StreamPack
streampack-core
/
io.github.thibaultbee.streampack.core.elements.endpoints.composites.muxers.mp4.models
/
Chunk
Chunk
class
Chunk
(
val
id
:
Int
)
Storage for frames
Members
Constructors
Chunk
Link copied to clipboard
constructor
(
id
:
Int
)
Types
Indexed
Frame
Link copied to clipboard
class
IndexedFrame
(
val
id
:
Int
,
val
frame
:
Frame
)
Properties
duration
Link copied to clipboard
val
duration
:
Long
extra
Link copied to clipboard
val
extra
:
List
<
List
<
ByteBuffer
>
>
first
Timestamp
Link copied to clipboard
val
firstTimestamp
:
Long
format
Link copied to clipboard
val
format
:
List
<
MediaFormat
>
id
Link copied to clipboard
val
id
:
Int
num
Of
Samples
Link copied to clipboard
val
numOfSamples
:
Int
only
Sync
Frame
Link copied to clipboard
val
onlySyncFrame
:
Boolean
sample
Dts
Link copied to clipboard
val
sampleDts
:
List
<
Long
>
sync
Frame
List
Link copied to clipboard
val
syncFrameList
:
List
<
Int
>
Functions
add
Link copied to clipboard
fun
add
(
id
:
Int
,
frame
:
Frame
)
get
Data
Size
Link copied to clipboard
fun
getDataSize
(
process
:
(
ByteBuffer
)
->
Int
)
:
Int
get
Sample
Sizes
Link copied to clipboard
fun
getSampleSizes
(
process
:
(
ByteBuffer
)
->
Int
)
:
List
<
Int
>
write
Link copied to clipboard
fun
write
(
output
:
ByteBuffer
)
write
To
Link copied to clipboard
fun
writeTo
(
action
:
(
Frame
)
->
Unit
)