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
/
MP4Segmenter
MP4Segmenter
abstract
class
MP4Segmenter
(
val
hasAudio
:
Boolean
,
val
hasVideo
:
Boolean
)
A class that is responsible to decide when to write a segment.
Inheritors
DefaultMP4Segmenter
Members
Constructors
MP4Segmenter
Link copied to clipboard
constructor
(
hasAudio
:
Boolean
,
hasVideo
:
Boolean
)
Properties
has
Audio
Link copied to clipboard
protected
val
hasAudio
:
Boolean
has
Video
Link copied to clipboard
protected
val
hasVideo
:
Boolean
is
Audio
Only
Link copied to clipboard
protected
val
isAudioOnly
:
Boolean
is
Video
Only
Link copied to clipboard
protected
val
isVideoOnly
:
Boolean
Functions
must
Write
Segment
Link copied to clipboard
abstract
fun
mustWriteSegment
(
frame
:
Frame
)
:
Boolean