From e2e499104294300b94d8b13685746fda2e2800c5 Mon Sep 17 00:00:00 2001 From: ThibaultBee <37510686+ThibaultBee@users.noreply.github.com> Date: Wed, 21 Feb 2024 09:58:46 +0100 Subject: [PATCH] docs(README.md): update with new architecture --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 80d73f2..5fd0f93 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ Your application must dynamically require android.permission.CAMERA and android. ```jsx import React, { useRef, useState } from 'react'; import { View, TouchableOpacity } from 'react-native'; -import { LiveStreamView } from '@api.video/react-native-livestream'; +import { ApiVideoLiveStreamView } from '@api.video/react-native-livestream'; const App = () => { const ref = useRef(null); @@ -111,14 +111,14 @@ const App = () => { return ( - void; }; -type LiveStreamMethods = { +type ApiVideoLiveStreamMethods = { // Start the stream // streamKey: your live stream RTMP key // url: RTMP server url, default: rtmp://broadcast.api.video/s