public final class StreamInfo
extends java.lang.Object
implements java.io.Serializable
StreamInfo
- stream info (Snapshot),
it contains duration/frames/size info.Modifier and Type | Field and Description |
---|---|
long |
duration
media stream duration (in milliseconds).
|
long |
frames
media stream frames.
|
long |
size
media stream size (in bytes).
|
long |
timestamp
timestamp.
|
Constructor and Description |
---|
StreamInfo()
Constructor.
|
StreamInfo(long timestamp,
long duration,
long frames,
long size)
Constructor.
|
StreamInfo(long timestamp,
StreamInfo info)
Constructor.
|
StreamInfo(StreamInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getAvgRtime()
Returns average rtime.
|
int |
hashCode() |
StreamInfo |
reset()
Resets stream.
|
java.lang.String |
toString() |
public long timestamp
public long duration
public long frames
public long size
public StreamInfo()
public StreamInfo(long timestamp, long duration, long frames, long size)
timestamp
- duration
- frames
- size
- public StreamInfo(long timestamp, StreamInfo info)
timestamp
- info
- public StreamInfo(StreamInfo info)
info
- public int getAvgRtime()
public StreamInfo reset()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object