File: browser.coffee

Defined in: coffee

Method Summary

Method Details

~ (Boolean) palava.browser.isMozilla()

Checks whether the browser is a Firefox

Returns:

  • (Boolean) — true if Firefox

~ (Boolean) palava.browser.isChrome()

Checks whether the browser is a Chrome/Chromium

Returns:

  • (Boolean) — true if Chrome

~ (String) palava.browser.getUserAgent()

Checks which browser is used

Returns:

  • (String) — A well defined id of the browser (firefox, chrome or unknown)

~ (Boolean) palava.browser.checkForWebrtcError()

Checks whether the WebRTC support of the browser should be compatible with palava

Returns:

  • (Boolean) — true if the browser is supported by palava

~ (Integer) palava.browser.chromeVersion()

Check which version of Chrome is present

Returns:

  • (Integer) — Chrome version number

~ (Boolean) palava.browser.checkForPartialSupport()

Check whether the browser is only partially supported by palava

Returns:

  • (Boolean) — true if there are no known bugs for the used browser

~ (Object) palava.browser.getConstraints()

Get WebRTC constraints argument

Returns:

  • (Object) — Appropriate constraints for WebRTC

~ (Object) palava.browser.getPeerConnectionOptions()

Get WebRTC PeerConnection options

Returns:

  • (Object) — Appropriate options for the PeerConnection

~ (String) palava.browser.patchSDP(sdp)

Patch given SDP

Returns:

  • (String) — Adjusted SDP fixing bugs and compability issues

~ (void) palava.browser.registerFullscreen(element, eventName)

Activates fullscreen on the given event

Parameters:

  • element (JQuery Elements) Element to put into fullscreen
  • eventName (String) Event name on which to activate fullscreen

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: