react-native-whip-whep - v0.3.1
Preparing search index...
WhipClient
Class WhipClient
Index
Constructors
constructor
Methods
cleanup
connect
disconnect
flip
Camera
get
Current
Camera
Device
Id
switch
Camera
get
Supported
Audio
Codecs
get
Supported
Video
Codecs
Constructors
constructor
new
WhipClient
(
configurationOptions
:
WhipConfigurationOptions
,
preferredVideoCodecs
?:
SenderVideoCodecName
[]
,
preferredAudioCodecs
?:
SenderAudioCodecName
[]
,
)
:
WhipClient
Parameters
configurationOptions
:
WhipConfigurationOptions
preferredVideoCodecs
:
SenderVideoCodecName
[]
= []
preferredAudioCodecs
:
SenderAudioCodecName
[]
= []
Returns
WhipClient
Methods
cleanup
cleanup
()
:
Promise
<
void
>
Returns
Promise
<
void
>
connect
connect
(
connectOptions
:
ConnectOptions
)
:
Promise
<
void
>
Parameters
connectOptions
:
ConnectOptions
Returns
Promise
<
void
>
disconnect
disconnect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
flip
Camera
flipCamera
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Current
Camera
Device
Id
getCurrentCameraDeviceId
()
:
null
|
CameraId
Returns
null
|
CameraId
switch
Camera
switchCamera
(
deviceId
:
string
)
:
Promise
<
void
>
Parameters
deviceId
:
string
Returns
Promise
<
void
>
Static
get
Supported
Audio
Codecs
getSupportedAudioCodecs
()
:
SenderAudioCodecName
[]
Returns
SenderAudioCodecName
[]
Static
get
Supported
Video
Codecs
getSupportedVideoCodecs
()
:
SenderVideoCodecName
[]
Returns
SenderVideoCodecName
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
cleanup
connect
disconnect
flip
Camera
get
Current
Camera
Device
Id
switch
Camera
get
Supported
Audio
Codecs
get
Supported
Video
Codecs
react-native-whip-whep - v0.3.1
Loading...