react-native-nodemediaclient icon indicating copy to clipboard operation
react-native-nodemediaclient copied to clipboard

Memory Usage is high once i am live and iOS app is crash

Open codal-mpawar opened this issue 4 years ago • 0 comments

I face an issue with iOS.

SO currently I am using this library for go-live stream. once I go-live then I check in memory usage of the app xCode. so it's high.

const config = { cameraConfig: { cameraId: 1, cameraFrontMirror: false }, videoConfig: { preset: 4, bitrate: 200000, profile: 2, fps: 30, videoFrontMirror: true }, audioConfig: { bitrate: 32000, profile: 1, samplerate: 44100 } };

<NodeCameraView style={{height,width}} ref={this.props.getVideoRef} outputUrl={

	  `rtmp://global-live.mux.com:5222/app/${stream_key}` // i check with both end point.
	  `rtmps://global-live.mux.com:443/app/${stream_key}`

} camera={config.cameraConfig} audio={config.audioConfig} video={config.videoConfig} autopreview={true} />

any solution available please let me know.

ss

codal-mpawar avatar Feb 17 '21 09:02 codal-mpawar