public class WebRtcTestPage extends WebPage
| Modifier and Type | Class and Description |
|---|---|
static interface |
WebRtcTestPage.WebRtcConfigurer |
| Modifier and Type | Field and Description |
|---|---|
protected String |
FAKE_IPV4 |
protected String |
FAKE_IPV6 |
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,
Boolean useDataChannels) |
void |
initWebRtc(WebRtcEndpoint webRtcEndpoint,
WebRtcChannel channel,
WebRtcMode mode,
WebRtcIpvMode webRtcIpvMode) |
void |
initWebRtc(WebRtcEndpoint webRtcEndpoint,
WebRtcChannel channel,
WebRtcMode mode,
WebRtcIpvMode webRtcIpvMode,
WebRtcCandidateType webRtcCandidateType)
initWebRtc with IPVMode and without useDataChannels
|
void |
initWebRtc(WebRtcEndpoint webRtcEndpoint,
WebRtcChannel channel,
WebRtcMode mode,
WebRtcIpvMode webRtcIpvMode,
WebRtcCandidateType webRtcCandidateType,
boolean useDataChannels) |
protected void |
initWebRtc(WebRtcTestPage.WebRtcConfigurer webRtcConfigurer,
WebRtcChannel channel,
WebRtcMode mode) |
protected void |
initWebRtc(WebRtcTestPage.WebRtcConfigurer webRtcConfigurer,
WebRtcChannel channel,
WebRtcMode mode,
WebRtcCandidateType candidateType,
boolean useDataChannels) |
protected String |
manglingCandidate(String candidate,
WebRtcIpvMode webRtcIpvMode,
WebRtcCandidateType webRtcCandidateType) |
String |
readConsole() |
void |
reload() |
void |
sendDataByDataChannel(String message) |
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, compareDataChannelMessage, endOcr, getBrowser, getCurrentColor, getCurrentTime, getLatency, getOcrMap, getRtcStats, getThresholdTime, getTimeout, setThresholdTime, setTimeout, similarColor, similarColorAt, startOcr, stopPeerConnectionInboundStats, stopPeerConnectionOutboundStats, syncTimeForOcr, takeScreeshot, waitColorprotected final String FAKE_IPV4
protected final String FAKE_IPV6
protected 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 void sendDataByDataChannel(String message)
public boolean compare(double i,
double j)
protected void addIceCandidate(com.google.gson.JsonObject candidate)
protected Boolean filterCandidate(String candidate, WebRtcIpvMode webRtcIpvMode, WebRtcCandidateType webRtcCandidateType)
protected String manglingCandidate(String candidate, WebRtcIpvMode webRtcIpvMode, WebRtcCandidateType webRtcCandidateType)
public void initWebRtc(WebRtcEndpoint webRtcEndpoint, WebRtcChannel channel, WebRtcMode mode, WebRtcIpvMode webRtcIpvMode, WebRtcCandidateType webRtcCandidateType, boolean useDataChannels) throws InterruptedException
InterruptedExceptionpublic 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, Boolean useDataChannels) throws InterruptedException
InterruptedExceptionpublic void initWebRtc(WebRtcEndpoint webRtcEndpoint, WebRtcChannel channel, WebRtcMode mode) throws InterruptedException
InterruptedExceptionprotected void initWebRtc(WebRtcTestPage.WebRtcConfigurer webRtcConfigurer, WebRtcChannel channel, WebRtcMode mode, WebRtcCandidateType candidateType, boolean useDataChannels) 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.