Namespace: util

wsc_flash. util

This namespace contains general utility functions and data.

Methods

getQueryParameter(name) → {string}

Get the value of a query string parameter.

Parameters:
Name Type Description
name string

The name of the query string parameter to retrieve

Returns:

The value of the query string parameter or undefined if it was not found

Type
string

getRelativeUrl(path) → {string}

Get the relative URL for the specified path relative to our page URL. For example, if the page URL is 'http://mydomain.com:8080/app/test.html' and you want the relative 'audio' path, it will return 'http://mydomain.com:8080/app/audio/'. The returned path will always end in a '/' path separator.

Parameters:
Name Type Description
path string

The path that we want as the relative to our page url

Returns:

The relative URL

Type
string
Oracle® Communications WebRTC Session Controller JavaScript API Reference, E55131-03
Copyright © 2013, 2015, Oracle and/or its affiliates. All rights reserved.