npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

amazon-ivs-react-native-broadcast-v2

v1.2.3

Published

A React Native wrapper for the Amazon IVS iOS and Android broadcast SDKs

Readme

Amazon IVS React Native Broadcast

A React Native wrapper for the Amazon IVS iOS and Android broadcast SDKs.

npm version npm MIT Platform - Android Platform - iOS

⚠️ Note that the current module implementation doesn't support full functionality provided by Amazon IVS iOS and Android broadcast SDKs.

⚠️ Apps using amazon-ivs-react-native-broadcast must target iOS 11 and Android 12 (API 31).


👉 Read more about broadcasting to Amazon IVS.

👉 See Amazon IVS streaming configuration guideline.

Installation

$ yarn add amazon-ivs-react-native-broadcast
# --- or ---
$ npm install amazon-ivs-react-native-broadcast
$ cd ios && pod install && cd ..

IVSBroadcastCameraView component

Allows consumers to stream video from an active phone camera.

⚠️ Requirements

An application must request permission to access the user’s camera and microphone. This isn't specific to the component but required for any application that needs access to the cameras and microphones.

iOS

Add NSCameraUsageDescription and NSMicrophoneUsageDescription keys to the Info.plist file:

...
<key>NSCameraUsageDescription</key>
<string>In order to stream your awesome video, allow access to camera please</string>
<key>NSMicrophoneUsageDescription</key>
<string>In order to stream your awesome audio, allow access to microphone please</string>
...

Android

Add CAMERA and RECORD_AUDIO permissions to the AndroidManifest.xml file:

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

⚠️ On devices before SDK version 23, the permissions are automatically granted if they appear in the manifest, so check should always result to true and request should always resolve to PermissionsAndroid.RESULTS.GRANTED, however if your app is installed on a device that runs Android 6.0 or higher, you must request the _dangerous permissions at runtime manually._

Example of requesting Android dangerous permissions at runtime could be found in the ./example/src/index.android.tsx file.

API

| Props | Type | iOS | Android | | :------------------------------------------------------------------------------: | :------------------------: | :-: | :-----: | | rtmpsUrl | string? | ✅ | ✅ | | streamKey | string? | ✅ | ✅ | | configurationPreset | ConfigurationPreset? | ✅ | ✅ | | videoConfig | IVideoConfig? | ✅ | ✅ | | audioConfig | IAudioConfig? | ✅ | ✅ | | logLevel | LogLevel? | ✅ | ✅ | | sessionLogLevel | LogLevel? | ✅ | ✅ | | cameraPreviewAspectMode | CameraPreviewAspectMode? | ✅ | ✅ | | isCameraPreviewMirrored | boolean? | ✅ | ✅ | | cameraPosition | CameraPosition? | ✅ | ✅ | | isMuted | boolean? | ✅ | ✅ |

| Handlers | Type | iOS | Android | | :----------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------: | :-: | :-----: | | onError | (errorMessage: string): void? | ✅ | ✅ | | onBroadcastError | (error: IBroadcastSessionError): void? | ✅ | ✅ | | onIsBroadcastReady | (isReady: boolean): void? | ✅ | ✅ | | onBroadcastAudioStats | (audioStats: IAudioStats): void? | ✅ | ✅ | | onBroadcastStateChanged | (stateStatus: StateStatusUnion, metadata?: StateChangedMetadata): void? | ✅ | ✅ | | onTransmissionStatisticsChanged | (transmissionStatistics: ITransmissionStatistics): void? | ✅ | ✅ | | onAudioSessionInterrupted | (): void? | ✅ | 🚫 | | onAudioSessionResumed | (): void? | ✅ | 🚫 | | onMediaServicesWereLost | (): void? | ✅ | 🚫 | | onMediaServicesWereReset | (): void? | ✅ | 🚫 |

| Methods | Type | iOS | Android | | :------------------------------------------: | :------------------------------------: | :-: | :-----: | | start | (options?: StartMethodOptions): void | ✅ | ✅ | | stop | (): void | ✅ | ✅ |

👉 Read more detailed API documentation.

👉 iOS and Android known issues and workarounds.

Usage

A complex usage could be found in the ./example/src/App.tsx file or just go to the ./example folder and read Setting up and running application section how to set up and run the example app to see IVSBroadcastCameraView component in action.


License

MIT

Credits

This project has been built and is maintained thanks to the support from Apiko.