|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface IMediaCodecSdk.ISnapshotFactory
ISnapshotFactory - snapshot factory.
| Method Summary | |
|---|---|
VideoFrame |
generate(ByteArray frame)
Generates video snapshot. |
VideoFrame |
generate(ByteArray[] frames)
Generates video snapshot for the sequence of I,P,P frames. |
void |
generateAsJpg(java.io.OutputStream os,
ByteArray frame)
Generates video snapshot. |
void |
generateAsJpg(java.io.OutputStream os,
ByteArray[] frames)
Generates video snapshot for the sequence of I,P,P frames. |
| Method Detail |
|---|
VideoFrame generate(ByteArray frame)
throws java.lang.Exception
frame - encoded I-frame data
java.lang.Exception - if an exception occurred
VideoFrame generate(ByteArray[] frames)
throws java.lang.Exception
frames - encoded I-frame and following P,B-frames data
java.lang.Exception - if an exception occurred
void generateAsJpg(java.io.OutputStream os,
ByteArray frame)
throws java.lang.Exception
os - output stream to write jpgframe - encoded I-frame data
java.lang.Exception - if an exception occurred
void generateAsJpg(java.io.OutputStream os,
ByteArray[] frames)
throws java.lang.Exception
os - output stream to write jpgframes - encoded I-frame and following P,B-frames data
java.lang.Exception - if an exception occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||