nodemedia-client-with-zoom

1.0.0 • Public • Published

nodemedia-client-with-zoom

npm npm
This project is the react-native packaging of NodeMediaClient-Android and NodeMediaClient-iOS SDK. Complete live publish and play functions, providing the exact same API call. You can publish two platforms just by developing one set of programs.
README

1.install

yarn add nodemedia-client-with-zoom

2.Install dependencies

cd ios
pod install

iOS Setup To use react-native-nodemediaclient in your iOS project, add the following line to your Podfile:

pod 'NodeMediaClient', :path => '../node_modules/nodemedia-client-with-zoom/NodeMediaClient'

3.Example

import {  NodeCameraWithZoom } from 'nodemedia-client-with-zoom';

 const cameraProps = { cameraId: 1, cameraFrontMirror: true };
  const audioProps = { bitrate: 32000, profile: 1, samplerate: 48000 };
  const videoProps = {
    fps: 30,
    preset: 4,
    profile: 1,
    bitrate: 900000,
    videoFrontMirror: true,
  };

  return (
    <NodeCameraWithZoom
      outputUrl="rtmp://192.168.0.10/live/stream"
      cameraProps={cameraProps}
      audioProps={audioProps}
      videoProps={videoProps}
      style={{ height: 400 }} // Adjust style as needed
    />
  );


Demo project

img

Package Sidebar

Install

npm i nodemedia-client-with-zoom

Weekly Downloads

8

Version

1.0.0

License

none

Unpacked Size

99.9 MB

Total Files

52

Last publish

Collaborators

  • chirag_makwana000
  • dhavalgosai