Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-nodemediaclient

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-nodemediaclient - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

index.js

@@ -0,1 +1,7 @@

//
// index.js
//
// Created by Mingliang Chen on 2017/11/29.
// Copyright © 2017年 NodeMedia. All rights reserved.
//
import NodeCameraView from './NodeCameraModule';

@@ -2,0 +8,0 @@ import NodePlayerView from './NodePlayerModule';

17

NodeCameraModule.js

@@ -0,1 +1,8 @@

//
// NodeCameraModule.js
//
// Created by Mingliang Chen on 2017/11/29.
// Copyright © 2017年 NodeMedia. All rights reserved.
//
import React, { Component } from 'react';

@@ -23,3 +30,3 @@ import { PropTypes } from 'prop-types';

findNodeHandle(this.refs[RCT_VIDEO_REF]),
UIManager.RCTNodeCamera.Commands.switch,
UIManager.RCTNodeCamera.Commands.switchCamera,
null

@@ -29,2 +36,10 @@ );

flashEnable(enable) {
UIManager.dispatchViewManagerCommand(
findNodeHandle(this.refs[RCT_VIDEO_REF]),
UIManager.RCTNodeCamera.Commands.flashEnable,
[enable]
);
}
startPreview() {

@@ -31,0 +46,0 @@ UIManager.dispatchViewManagerCommand(

@@ -0,1 +1,8 @@

//
// NodePlayerModule.js
//
// Created by Mingliang Chen on 2017/11/29.
// Copyright © 2017年 NodeMedia. All rights reserved.
//
import React, { Component } from 'react';

@@ -2,0 +9,0 @@ import { PropTypes } from 'prop-types';

2

package.json
{
"name": "react-native-nodemediaclient",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -62,9 +62,3 @@ # react-native-nodemediaclient

## 5.权限
## Android for play
android/app/src/main/AndroidManifest.xml
```
<uses-permission android:name="android.permission.INTERNET" />
```
## Android for publish
### Android
```

@@ -74,3 +68,2 @@ <uses-feature android:name="android.hardware.camera"/>

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA"/>

@@ -82,3 +75,3 @@ <uses-permission android:name="android.permission.RECORD_AUDIO"/>

## iOS for publish
### iOS
Project -> Info

@@ -85,0 +78,0 @@

@@ -63,9 +63,4 @@ # react-native-nodemediaclient

## 5.permission
## Android for play
android/app/src/main/AndroidManifest.xml
```
<uses-permission android:name="android.permission.INTERNET" />
```
## Android for publish
### Android
```

@@ -75,3 +70,2 @@ <uses-feature android:name="android.hardware.camera"/>

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA"/>

@@ -83,3 +77,3 @@ <uses-permission android:name="android.permission.RECORD_AUDIO"/>

## iOS for publish
### iOS
Project -> Info

@@ -86,0 +80,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc