UNPKG
react-native-webrtc
Version:
latest (124.0.7)
124.0.7
124.0.6
124.0.5
124.0.4
124.0.3
124.0.2
124.0.1
124.0.0
118.0.7
118.0.6
118.0.5
118.0.4
118.0.3
118.0.2
118.0.1
118.0.0
111.0.6
111.0.5
111.0.4
111.0.3
111.0.2
111.0.1
111.0.0
106.0.7
106.0.6
106.0.5
106.0.4
106.0.3
106.0.2
106.0.1
106.0.0
106.0.0-beta.8
106.0.0-beta.7
106.0.0-beta.6
106.0.0-beta.5
106.0.0-beta.4
106.0.0-beta.3
106.0.0-beta.2
106.0.0-beta.1
1.106.1
1.106.0
1.100.1
1.100.0
1.98.0
1.94.2
1.94.1
1.94.0
1.92.2
1.92.1
1.92.0
1.89.3
1.89.2
1.89.1
1.87.3
1.87.2
1.87.1
1.84.1
1.84.0
1.75.3
1.75.2
1.75.1
1.75.0
1.69.2
1.69.1
1.69.0
1.67.1
1.67.0
1.63.0
1.58.3
1.58.2
1.58.1
1.57.1
1.57.0
1.54.7
1.54.6
1.54.5
0.54.7
0.54.6
0.54.5
0.54.4
0.54.3
0.54.2
0.54.1
0.54.0
0.53.2
0.53.1
0.13.0
0.12.0
0.11.0
0.10.2
0.10.1
0.10.0
0.8.0
0.7.0
0.6.2
0.6.1
0.6.0
0.5.3
0.5.2
0.5.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
WebRTC for React Native
github.com/oney/react-native-webrtc
oney/react-native-webrtc
react-native-webrtc
/
MediaStreamEvent.js
13 lines
(10 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
import
type
MediaStream
from
'./MediaStream'
;
export
default
class
MediaStreamEvent
{
type
:
string
;
stream
:
MediaStream
;
constructor
(
type
, eventInitDict
) {
this
.
type
=
type
.
toString
();
Object
.
assign
(
this
, eventInitDict); } }