You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdks/livestream/apivideo-android-livestream-module.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,12 @@ title: Android live stream module
3
3
meta:
4
4
description: The official Android live stream module for api.video. [api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
5
5
---
6
-
<!--
7
-
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!
8
-
IF YOU NEED TO CHANGE THIS FILE, CREATE A PR IN THE SOURCE REPOSITORY.
9
-
-->
10
6
11
7
# api.video Android Live stream module
12
8
13
-
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
9
+
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast
10
+
video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in
11
+
your app.
14
12
15
13
## Project description
16
14
@@ -26,7 +24,7 @@ On build.gradle add the following code in dependencies:
Copy file name to clipboardExpand all lines: sdks/livestream/apivideo-flutter-livestream.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,12 @@ title: Flutter RTMP live stream client
3
3
meta:
4
4
description: The official Flutter RTMP live stream client for api.video. [api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
5
5
---
6
-
<!--
7
-
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!
8
-
IF YOU NEED TO CHANGE THIS FILE, CREATE A PR IN THE SOURCE REPOSITORY.
9
-
-->
10
6
11
7
# Flutter RTMP Live stream Client
12
8
13
-
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
9
+
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast
10
+
video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in
11
+
your app.
14
12
15
13
## Project description
16
14
@@ -24,7 +22,7 @@ In your pubspec.yaml file, add the following:
24
22
25
23
```yaml
26
24
dependencies:
27
-
apivideo_live_stream: ^1.1.3
25
+
apivideo_live_stream: ^1.1.1
28
26
```
29
27
30
28
In your dart file, import the package:
@@ -165,5 +163,4 @@ use [issues](https://github.com/apivideo/api.video-flutter-live-stream/issues).
@@ -3,107 +3,83 @@ title: React Native live stream component
3
3
meta:
4
4
description: The official React Native live stream component for api.video. [api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
5
5
---
6
-
<!--
7
-
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!
8
-
IF YOU NEED TO CHANGE THIS FILE, CREATE A PR IN THE SOURCE REPOSITORY.
9
-
-->
10
6
11
-
# React Native Livestream Component
7
+
React Native Livestream Component
8
+
=================================
12
9
13
10
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
14
11
15
12
## Project description
16
13
17
-
This module is made for broadcasting rtmp live stream from smartphone camera
14
+
This module is made for broadcasting rtmp livestream from smartphone camera
18
15
19
16
## Getting started
20
17
21
-
:warning:**The React Native Live Stream SDK is designed for 0.69.1 version of React Native. Using the SDK with >0.69.1 of React Native can cause unexpected behaviour**
22
-
23
-
24
18
### Installation
25
19
26
20
```sh
27
21
npm install @api.video/react-native-livestream
28
22
```
29
-
30
23
or
31
-
32
24
```sh
33
25
yarn add @api.video/react-native-livestream
34
26
```
35
-
36
27
_Note: if you are on iOS, you will need two extra steps:_
37
-
38
-
1. Don't forget to install the native dependencies with Cocoapods
39
-
28
+
1) Don't forget to install the native dependencies with Cocoapods
40
29
```sh
41
30
cd ios && pod install
42
31
```
43
-
44
-
1. This project contains swift code, and if it's your first dependency with swift code, you need to create an empty swift file in your project (with the bridging header) from XCode. [Find how to do that](https://github.com/apivideo/api.video-reactnative-live-stream/blob/main/docs/install_swift_dependency.md)
32
+
2) This project contains swift code, and if it's your first dependency with swift code, you need to create an empty swift file in your project (with the bridging header) from XCode. [Find how to do that](https://github.com/apivideo/api.video-reactnative-live-stream/blob/main/docs/install_swift_dependency.md)
45
33
46
34
### Permissions
35
+
To be able to broadcast,
47
36
48
-
To be able to broadcast, you must:
49
-
50
-
1. On Android: ask for internet, camera and microphone permissions:
37
+
1) On Android you must ask for internet, camera and microphone permissions:
Your application must dynamically require android.permission.CAMERA and android.permission.RECORD_AUDIO.
61
-
62
-
2. On iOS: update Info.plist with a usage description for camera and microphone
45
+
2) On iOS, you must update Info.plist with a usage description for camera and microphone
63
46
64
47
```xml
48
+
...
65
49
<key>NSCameraUsageDescription</key>
66
50
<string>Your own description of the purpose</string>
67
51
68
52
<key>NSMicrophoneUsageDescription</key>
69
53
<string>Your own description of the purpose</string>
54
+
...
55
+
70
56
```
71
-
72
-
3. On react-native you must handle the permissions requests before starting your livestream. If permissions are not accepted you will not be able to broadcast.
57
+
3) On react-native you must handle the permissions requests before starting your livestream. If permissions are not accepted you will not be able to broadcast.
If you have any questions, ask us here: https://community.api.video .
177
+
If you have any questions, ask us here: https://community.api.video .
260
178
Or use [Issues].
261
179
262
-
[//]: # "These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax"
You can try our [example app](https://github.com/apivideo/api.video-reactnative-live-stream/tree/main/example), feel free to test it.
182
+
183
+
184
+
[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)
0 commit comments