Search
Preparing search index...
The search index is not available
Webphone Lib
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
SessionMedia
Class SessionMedia
Hierarchy
EventEmitter
SessionMedia
Implements
ISessionMedia
Index
Constructors
constructor
Properties
input
output
default
Max
Listeners
Methods
add
Listener
emit
event
Names
get
Max
Listeners
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Input
set
Max
Listeners
set
Output
listener
Count
Constructors
constructor
new
Session
Media
(
session
:
SessionImpl
, media
:
IMedia
)
:
SessionMedia
Parameters
session:
SessionImpl
media:
IMedia
Returns
SessionMedia
Properties
input
input
:
IMediaInput
output
output
:
IMediaOutput
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
args
:
any
[]
)
:
void
Parameters
Rest
args:
any
[]
Returns
void
Returns
this
emit
emit
(
event
:
string
|
symbol
, args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
Array
<
string
|
symbol
>
Returns
Array
<
string
|
symbol
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
off
off
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
args
:
any
[]
)
:
void
Parameters
Rest
args:
any
[]
Returns
void
Returns
this
on
on
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
args
:
any
[]
)
:
void
Parameters
Rest
args:
any
[]
Returns
void
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
args
:
any
[]
)
:
void
Parameters
Rest
args:
any
[]
Returns
void
Returns
this
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
args
:
any
[]
)
:
void
Parameters
Rest
args:
any
[]
Returns
void
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
args
:
any
[]
)
:
void
Parameters
Rest
args:
any
[]
Returns
void
Returns
this
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
remove
All
Listeners
remove
All
Listeners
(
event
:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
args
:
any
[]
)
:
void
Parameters
Rest
args:
any
[]
Returns
void
Returns
this
set
Input
set
Input
(
newInput
:
IMediaInput
)
:
Promise
<
void
>
Parameters
Optional
newInput:
IMediaInput
Returns
Promise
<
void
>
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
set
Output
set
Output
(
newOutput
:
IMediaOutput
)
:
Promise
<
void
>
Parameters
Optional
newOutput:
IMediaOutput
Returns
Promise
<
void
>
Static
listener
Count
listener
Count
(
emitter
:
EventEmitter
, event
:
string
|
symbol
)
:
number
Parameters
emitter:
EventEmitter
event:
string
|
symbol
Returns
number
Globals
Session
Media
constructor
input
output
default
Max
Listeners
add
Listener
emit
event
Names
get
Max
Listeners
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Input
set
Max
Listeners
set
Output
listener
Count
Generated using
TypeDoc