public class VideoInfo extends Object
Modifier | Constructor and Description |
---|---|
protected |
VideoInfo()
Default private constructor of VideoInfo for serialization with Jackson
|
|
VideoInfo(boolean isSeekable,
long seekableInit,
long seekableEnd,
long duration)
Create a VideoInfo
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
get Video duration in ms
|
boolean |
getIsSeekable()
get Seek is possible in video source
|
long |
getSeekableEnd()
get Last video position to do seek in ms
|
long |
getSeekableInit()
get First video position to do seek in ms
|
void |
setDuration(long duration)
set Video duration in ms
|
void |
setIsSeekable(boolean isSeekable)
set Seek is possible in video source
|
void |
setSeekableEnd(long seekableEnd)
set Last video position to do seek in ms
|
void |
setSeekableInit(long seekableInit)
set First video position to do seek in ms
|
protected VideoInfo()
public VideoInfo(boolean isSeekable, long seekableInit, long seekableEnd, long duration)
public boolean getIsSeekable()
public void setIsSeekable(boolean isSeekable)
public long getSeekableInit()
public void setSeekableInit(long seekableInit)
public long getSeekableEnd()
public void setSeekableEnd(long seekableEnd)
public long getDuration()
public void setDuration(long duration)
Copyright © 2022 Kurento. All rights reserved.