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 |
activateAudioDetection() |
protected void |
addIceCandidate(com.google.gson.JsonObject candidate) |
void |
addTestName(String testName) |
void |
appendStringToTitle(String webRtcMode) |
boolean |
checkAudioDetection() |
boolean |
compare(double i,
double j) |
protected Boolean |
filterCandidate(String candidate,
WebRtcIpvMode webRtcIpvMode,
WebRtcCandidateType webRtcCandidateType) |
double |
getCurrentTime() |
long |
getPeerConnAudioInboundTimestamp(PeerConnectionStats stats) |
int |
getPeerConnAudioPacketsRecv(PeerConnectionStats stats) |
void |
initAudioDetection() |
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 |
stopAudioDetection() |
void |
stopPlay() |
void |
subscribeEvents(String eventType) |
void |
subscribeLocalEvents(String eventType) |
activateLatencyControl, activatePeerConnectionInboundStats, activatePeerConnectionOutboundStats, addEventListener, checkColor, checkLatencyUntil, close, compareColor, compareDataChannelMessage, consoleLog, endOcr, getBrowser, getCurrentColor, getCurrentTime, getLatency, getOcrMap, getRecording, getRecording, getRtcStats, getThresholdTime, getTimeout, openRecordingInNewTab, saveRecordingToDisk, setThresholdTime, setTimeout, similarColor, similarColorAt, startOcr, startRecording, stopPeerConnectionInboundStats, stopPeerConnectionOutboundStats, stopRecording, stopWebRtc, subscribeEvent, subscribeEventsToVideoTag, syncTimeForOcr, takeScreeshot, teardownKurentoServices, waitColor, waitForEventprotected 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 subscribeEvents(String eventType)
public void subscribeLocalEvents(String eventType)
public void start(String videoUrl)
public void stopPlay()
public double getCurrentTime()
public String readConsole()
public void sendDataByDataChannel(String message)
public boolean checkAudioDetection()
public void activateAudioDetection()
public void stopAudioDetection()
public void initAudioDetection()
public int getPeerConnAudioPacketsRecv(PeerConnectionStats stats)
public long getPeerConnAudioInboundTimestamp(PeerConnectionStats stats)
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()
throws IOException
IOExceptionpublic void addTestName(String testName)
public void appendStringToTitle(String webRtcMode)
Copyright © 2018 Kurento. All rights reserved.