public abstract class WebRTC
extends org.apache.wicket.markup.html.WebMarkupContainer
ENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING| Constructor and Description |
|---|
WebRTC(String id) |
WebRTC(String id,
org.apache.wicket.model.IModel<?> model) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.apache.wicket.Page> |
getErrorPage()
Override this to provide an error page if video / audio is not available.
|
Integer |
getFramesPerSeconds()
Gets the frames per seconds which are going to be used for the videos
|
abstract org.apache.wicket.markup.html.media.video.Video |
getLocalVideo()
Gets the local video id of the video element which is going to display the local video
recording
|
Integer |
getMaxHeight()
Gets the max height of the videos - if the height is smaller less band width is used
|
Integer |
getMaxWidth()
Gets the max width of the videos - if the width is smaller less band width is used
|
protected org.apache.wicket.request.resource.ResourceReference |
getNoVideoResourceReference()
Gets the resource reference which is going to be shown if the access to the mic and the cam
is not allowed by the user.
|
abstract String |
getRoomName()
Gets the room name to which the users are joining
|
abstract String |
getSocketIOUrl()
Gets the url of the signal server based on socket.io.
|
Boolean |
getVolumeBars()
If the volume bars are enabled or disabled
|
Boolean |
isDebug()
If the debug mode is enabled - this is causing the uncompressed version of the javascript
files is going to be loaded
|
void |
renderHead(org.apache.wicket.markup.head.IHeaderResponse response) |
void |
setDebug(Boolean debug)
Sets the debug mode to be enabled - this is causing the uncompressed version of the
javascript files is going to be loaded
|
void |
setFramesPerSeconds(Integer framesPerSeconds)
Sets the frames per seconds which are going to be used for the videos
|
void |
setMaxHeight(Integer maxHeight)
Sets the max height of the videos - if the height is smaller less band width is used
|
void |
setMaxWidth(Integer maxWidth)
Sets the max width of the videos - if the width is smaller less band width is used
|
void |
setVolumeBars(Boolean volumeBars)
Sets the volume bars to be enabled or disabled
|
getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrappublic WebRTC(String id)
public WebRTC(String id, org.apache.wicket.model.IModel<?> model)
public void renderHead(org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IHeaderContributorrenderHead in class org.apache.wicket.Componentprotected org.apache.wicket.request.resource.ResourceReference getNoVideoResourceReference()
public abstract org.apache.wicket.markup.html.media.video.Video getLocalVideo()
public abstract String getRoomName()
public abstract String getSocketIOUrl()
public Boolean isDebug()
public void setDebug(Boolean debug)
debug - if the debug mode is enabledpublic Boolean getVolumeBars()
public void setVolumeBars(Boolean volumeBars)
volumeBars - if the volume bars are enabled or disabledpublic Integer getFramesPerSeconds()
public void setFramesPerSeconds(Integer framesPerSeconds)
framesPerSeconds - the frames per seconds as shortpublic Integer getMaxWidth()
public void setMaxWidth(Integer maxWidth)
maxWidth - the max width the videos should bepublic Integer getMaxHeight()
public void setMaxHeight(Integer maxHeight)
maxHeight - the max height the videos should bepublic Class<? extends org.apache.wicket.Page> getErrorPage()
Copyright © 2015. All rights reserved.