Search
Preparing search index...
The search index is not available
typed_janus_js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
typed_janus_js
JanusJs
Class JanusJs
Hierarchy
JanusJs
Index
Constructors
constructor
Properties
instance
on
Destroyed
options
Methods
create
Session
init
attach
Media
Stream
create
Recording
debug
error
is
Webrtc
Supported
log
mix
play
Media
Stream
random
String
reattach
Media
Stream
stop
All
Tracks
warn
Constructors
constructor
new
Janus
Js
(
options
:
Omit
<
ConstructorOptions
,
"success"
|
"error"
|
"destroyed"
>
)
:
JanusJs
Parameters
options:
Omit
<
ConstructorOptions
,
"success"
|
"error"
|
"destroyed"
>
Returns
JanusJs
Properties
Protected
instance
instance
:
Janus
on
Destroyed
on
Destroyed
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
Protected
options
options
:
ConstructorOptions
Methods
create
Session
create
Session
(
)
:
Promise
<
JanusSession
>
Returns
Promise
<
JanusSession
>
init
init
(
params
?:
Omit
<
InitOptions
,
"callback"
>
)
:
Promise
<
void
>
Parameters
params:
Omit
<
InitOptions
,
"callback"
>
= ...
Returns
Promise
<
void
>
Static
attach
Media
Stream
attach
Media
Stream
(
element
:
HTMLMediaElement
, stream
:
MediaStream
)
:
void
Parameters
element:
HTMLMediaElement
stream:
MediaStream
Returns
void
Static
create
Recording
create
Recording
(
options
:
{
mediaStreams
:
MediaStream
[]
;
timeSlice
?:
number
}
)
:
CreateRecordingResult
Parameters
options:
{
mediaStreams
:
MediaStream
[]
;
timeSlice
?:
number
}
media
Streams
:
MediaStream
[]
Optional
time
Slice
?:
number
Returns
CreateRecordingResult
Static
debug
debug
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Static
error
error
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Static
is
Webrtc
Supported
is
Webrtc
Supported
(
)
:
boolean
Returns
boolean
Static
log
log
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Static
mix
mix
(
audioContext
:
AudioContext
, streams
:
MediaStream
[]
)
:
any
Parameters
audioContext:
AudioContext
streams:
MediaStream
[]
Returns
any
Static
play
Media
Stream
play
Media
Stream
(
mediaStream
:
MediaStream
)
:
AudioContext
Parameters
mediaStream:
MediaStream
Returns
AudioContext
Static
random
String
random
String
(
length
:
number
)
:
string
Parameters
length:
number
Returns
string
Static
reattach
Media
Stream
reattach
Media
Stream
(
to
:
HTMLMediaElement
, from
:
HTMLMediaElement
)
:
void
Parameters
to:
HTMLMediaElement
from:
HTMLMediaElement
Returns
void
Static
stop
All
Tracks
stop
All
Tracks
(
stream
:
MediaStream
)
:
void
Parameters
stream:
MediaStream
Returns
void
Static
warn
warn
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Exports
Janus
Js
constructor
instance
on
Destroyed
options
create
Session
init
attach
Media
Stream
create
Recording
debug
error
is
Webrtc
Supported
log
mix
play
Media
Stream
random
String
reattach
Media
Stream
stop
All
Tracks
warn
Generated using
TypeDoc