public class KurentoTestClient extends TestClient
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LOCAL_VIDEO |
protected static String |
REMOTE_VIDEO |
browserClient, log| Constructor and Description |
|---|
KurentoTestClient() |
KurentoTestClient(KurentoTestClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(String videoTag,
String eventType,
BrowserEventListener eventListener) |
void |
addTestName(String testName) |
void |
appendStringToTitle(String webRtcMode) |
void |
close() |
boolean |
compare(double i,
double j) |
void |
consoleLog(ConsoleLogLevel level,
String message) |
double |
getCurrentTime() |
void |
initWebRtc(WebRtcEndpoint webRtcEndpoint,
WebRtcChannel channel,
WebRtcMode mode) |
void |
initWebRtcSdpProcessor(SdpOfferProcessor sdpOfferProcessor,
WebRtcChannel channel,
WebRtcMode mode) |
String |
readConsole() |
void |
setColorCoordinates(int x,
int y) |
boolean |
similarColor(Color expectedColor) |
boolean |
similarColorAt(Color expectedColor,
int x,
int y) |
void |
start(String videoUrl) |
void |
stop() |
void |
subscribeEvents(String eventType) |
void |
subscribeEventsToVideoTag(String videoTag,
String eventType) |
void |
subscribeLocalEvents(String eventType) |
void |
teardownKurentoServices() |
boolean |
waitForEvent(String eventType) |
activateLatencyControl, activateLocalRtcStats, activateRemoteRtcStats, checkColor, checkLatencyUntil, clone, compareColor, getBrowserClient, getCurrentColor, getCurrentTime, getLatency, getRtcStats, setBrowserClient, similarColor, similarColorAt, takeScreeshot, waitColorprotected static final String LOCAL_VIDEO
protected static final String REMOTE_VIDEO
public KurentoTestClient()
public KurentoTestClient(KurentoTestClient client)
public void setColorCoordinates(int x,
int y)
setColorCoordinates in class TestClientpublic boolean similarColor(Color expectedColor)
public boolean similarColorAt(Color expectedColor, int x, int y)
public void close()
public void subscribeEvents(String eventType)
public void subscribeLocalEvents(String eventType)
public boolean waitForEvent(String eventType) throws InterruptedException
InterruptedExceptionpublic void addEventListener(String videoTag, String eventType, BrowserEventListener eventListener)
public void start(String videoUrl)
public void stop()
public void consoleLog(ConsoleLogLevel level, String message)
public double getCurrentTime()
public String readConsole()
public boolean compare(double i,
double j)
public void initWebRtc(WebRtcEndpoint webRtcEndpoint, WebRtcChannel channel, WebRtcMode mode) throws InterruptedException
InterruptedExceptionpublic void initWebRtcSdpProcessor(SdpOfferProcessor sdpOfferProcessor, WebRtcChannel channel, WebRtcMode mode)
public void addTestName(String testName)
public void appendStringToTitle(String webRtcMode)
Copyright © 2015 Kurento. All rights reserved.