forked from red5pro/react-native-red5pro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
31 lines (28 loc) · 902 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import R5StreamModule from './src/stream/R5StreamModule'
import R5VideoView from './src/view/R5VideoView'
import R5AudioMode from './src/enum/R5VideoView.audiomode'
import R5LogLevel from './src/enum/R5VideoView.loglevel'
import R5PublishType from './src/enum/R5VideoView.publishtype'
import R5ScaleMode from './src/enum/R5VideoView.scalemode'
import {
subscribe,
unsubscribe,
preview,
publish,
unpublish,
swapCamera,
updateScaleMode,
updateScaleSize,
setPlaybackVolume,
muteAudio, unmuteAudio,
muteVideo, unmuteVideo,
attach, detach
} from './src/commands/R5VideoView.commands'
module.exports = {
R5StreamModule, R5VideoView,
subscribe, unsubscribe, preview, publish, unpublish, swapCamera,
updateScaleMode, updateScaleSize, setPlaybackVolume,
muteAudio, unmuteAudio, muteVideo, unmuteVideo,
attach, detach,
R5AudioMode, R5LogLevel, R5PublishType, R5ScaleMode
}