public class WebRtcTestPage extends WebPage
| Modifier and Type | Class and Description |
|---|---|
static interface |
WebRtcTestPage.WebRtcConfigurer |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LOCAL_VIDEO |
protected static String |
REMOTE_VIDEO |
| Constructor and Description |
|---|
WebRtcTestPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(String videoTag,
String eventType,
BrowserEventListener eventListener) |
protected void |
addIceCandidate(com.google.gson.JsonObject candidate) |
void |
addTestName(String testName) |
void |
appendStringToTitle(String webRtcMode) |
void |
close() |
boolean |
compare(double i,
double j) |
void |
consoleLog(ConsoleLogLevel level,
String message) |
protected Boolean |
filterCandidate(String candidate,
WebRtcIpvMode webRtcIpvMode,
WebRtcCandidateType webRtcCandidateType) |
double |
getCurrentTime() |
void |
initWebRtc(WebRtcEndpoint webRtcEndpoint,
WebRtcChannel channel,
WebRtcMode mode) |
void |
initWebRtc(WebRtcEndpoint webRtcEndpoint,
WebRtcChannel channel,
WebRtcMode mode,
WebRtcIpvMode webRtcIpvMode) |
void |
initWebRtc(WebRtcEndpoint webRtcEndpoint,
WebRtcChannel channel,
WebRtcMode mode,
WebRtcIpvMode webRtcIpvMode,
WebRtcCandidateType webRtcCandidateType) |
protected void |
initWebRtc(WebRtcTestPage.WebRtcConfigurer webRtcConfigurer,
WebRtcChannel channel,
WebRtcMode mode) |
String |
readConsole() |
void |
reload() |
void |
setBrowser(Browser browserClient) |
void |
setColorCoordinates(int x,
int y) |
boolean |
similarColor(Color expectedColor) |
boolean |
similarColorAt(Color expectedColor,
int x,
int y) |
void |
start(String videoUrl) |
void |
stopPlay() |
void |
stopWebRtc() |
void |
subscribeEvents(String eventType) |
void |
subscribeEventsToVideoTag(String videoTag,
String eventType) |
void |
subscribeLocalEvents(String eventType) |
void |
teardownKurentoServices() |
boolean |
waitForEvent(String eventType) |
activateLatencyControl, activatePeerConnectionInboundStats, activatePeerConnectionOutboundStats, checkColor, checkLatencyUntil, compareColor, getBrowser, getCurrentColor, getCurrentTime, getLatency, getRtcStats, getThresholdTime, getTimeout, setThresholdTime, setTimeout, similarColor, similarColorAt, takeScreeshot, waitColorprotected static final String LOCAL_VIDEO
protected static final String REMOTE_VIDEO
public void setBrowser(Browser browserClient)
setBrowser in class WebPagepublic void setColorCoordinates(int x,
int y)
setColorCoordinates in class WebPagepublic 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 stopPlay()
public void consoleLog(ConsoleLogLevel level, String message)
public double getCurrentTime()
public String readConsole()
public boolean compare(double i,
double j)
protected void addIceCandidate(com.google.gson.JsonObject candidate)
protected Boolean filterCandidate(String candidate, WebRtcIpvMode webRtcIpvMode, WebRtcCandidateType webRtcCandidateType)
public void initWebRtc(WebRtcEndpoint webRtcEndpoint, WebRtcChannel channel, WebRtcMode mode, WebRtcIpvMode webRtcIpvMode, WebRtcCandidateType webRtcCandidateType) throws InterruptedException
InterruptedExceptionpublic void initWebRtc(WebRtcEndpoint webRtcEndpoint, WebRtcChannel channel, WebRtcMode mode, WebRtcIpvMode webRtcIpvMode) throws InterruptedException
InterruptedExceptionpublic void initWebRtc(WebRtcEndpoint webRtcEndpoint, WebRtcChannel channel, WebRtcMode mode) throws InterruptedException
InterruptedExceptionprotected void initWebRtc(WebRtcTestPage.WebRtcConfigurer webRtcConfigurer, WebRtcChannel channel, WebRtcMode mode) throws InterruptedException
InterruptedExceptionpublic void reload()
public void stopWebRtc()
public void addTestName(String testName)
public void appendStringToTitle(String webRtcMode)
Copyright © 2016 Kurento. All rights reserved.