The target of a ShareRegistry.Kind#LIVE_STREAM entry: the live stream of this phone (the device audio or the screen) that is captured only as long as the share exists.
More...
|
| interface | Capture |
| | What the share needs from the capture of the phone. More...
|
| |
|
|
| LiveStreamTarget (boolean audio, Capture capture) |
| |
| boolean | isAudio () |
| |
| InputStream | open () throws IOException |
| |
|
void | close () |
| | Gives the capture back, once.
|
| |
The target of a ShareRegistry.Kind#LIVE_STREAM entry: the live stream of this phone (the device audio or the screen) that is captured only as long as the share exists.
Closing it (the registry does that once, when the entry is removed or expires) gives the capture back; the capture stops when nobody else needs it. Plain Java: the capture is behind Capture.
◆ isAudio()
| boolean de.yaacc.share.LiveStreamTarget.isAudio |
( |
| ) |
|
- Returns
- true for the device audio, false for the screen cast
◆ open()
| InputStream de.yaacc.share.LiveStreamTarget.open |
( |
| ) |
throws IOException |
- Returns
- a new stream for one client, or null if the share is closed or the capture is not running
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/share/LiveStreamTarget.java