public class TestClient extends Object
| Modifier and Type | Field and Description |
|---|---|
BrowserClient |
browserClient |
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
TestClient() |
TestClient(TestClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateLatencyControl(String localId,
String remoteId) |
void |
activateLocalRtcStats(SystemMonitorManager monitor,
String peerConnection) |
void |
activateRemoteRtcStats(SystemMonitorManager monitor,
String peerConnection) |
void |
checkColor(String... videoTags) |
void |
checkLatencyUntil(SystemMonitorManager monitor,
long endTimeMillis) |
TestClient |
clone() |
boolean |
compareColor(String videoTag,
Color expectedColor) |
BrowserClient |
getBrowserClient() |
Color |
getCurrentColor(VideoTag videoTag) |
long |
getCurrentTime(VideoTag videoTag) |
long |
getLatency() |
Map<String,Object> |
getRtcStats() |
void |
setBrowserClient(BrowserClient browserClient) |
void |
setColorCoordinates(int x,
int y) |
boolean |
similarColor(String videoTag,
Color expectedColor) |
boolean |
similarColorAt(String videoTag,
Color expectedColor,
int x,
int y) |
void |
takeScreeshot(String file) |
void |
waitColor(long timeoutSeconds,
VideoTag videoTag,
Color color) |
public static org.slf4j.Logger log
public BrowserClient browserClient
public TestClient()
public TestClient(TestClient client)
public BrowserClient getBrowserClient()
public void setBrowserClient(BrowserClient browserClient)
public TestClient clone()
public void takeScreeshot(String file) throws IOException
IOExceptionpublic void setColorCoordinates(int x,
int y)
public void checkColor(String... videoTags)
public void activateRemoteRtcStats(SystemMonitorManager monitor, String peerConnection)
public void activateLocalRtcStats(SystemMonitorManager monitor, String peerConnection)
public long getLatency()
throws InterruptedException
InterruptedExceptionpublic long getCurrentTime(VideoTag videoTag)
public void checkLatencyUntil(SystemMonitorManager monitor, long endTimeMillis) throws InterruptedException, IOException
InterruptedExceptionIOExceptionCopyright © 2015 Kurento. All rights reserved.