UNPKG
react-native-webrtc2
Version:
latest (1.84.5)
1.84.5
1.84.4
1.84.3
1.84.2
1.84.1
1.84.0
WebRTC for React Native
github.com/juncocoa/react-native-webrtc2
juncocoa/react-native-webrtc2
react-native-webrtc2
/
MediaStreamError.js
15 lines
(11 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
export
default
class
MediaStreamError
{
name
:
string
;
message
: ?
string
;
constraintName
: ?
string
;
constructor
(
error
) {
this
.
name
= error.
name
;
this
.
message
= error.
message
;
this
.
constraintName
= error.
constraintName
; } }