Skip to content

Commit e583513

Browse files
authored
Update README.md
1 parent a991e5f commit e583513

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,23 @@ Status is holding a hackathon from 26-29 October 2018. The objective is to devel
1515
## Objective
1616

1717
The objective of this project is to build minimal viable livestreaming functionality in Status App for Android, using Livepeer video infrastructure.
18+
19+
## Result
20+
21+
The team was able to add a "go live" button in the "New" page in status (the "+" sign on the top right corner). The button should bring up a camera screen that enables a broadcast, but unfortunately we couldn't test it due to the lack of camera access in the iOS simulator. (We couldn't get Android to compile).
22+
23+
We used an existing [react-native RTMP library](https://github.com/NodeMedia/react-native-nodemediaclient) to do the implementation, and the code lives in the `livepeer` branch of @gomesalexandre's [repo](https://github.com/gomesalexandre/status-react).
24+
25+
Here is the instruction to run the repo:
26+
1. Clone the repo `git clone https://github.com/gomesalexandre/status-react.git`
27+
2. Check out the `livepeer` branch by `cd status-react && git checkout livepeer && cd ..`
28+
3. Install the `nodemediaclient` react-native module: `yarn add react-native-nodemediaclient`
29+
4. Link the module: `react-native link`
30+
5. Install the pod: `cd ios && pod install && cd ..`
31+
6. Run the status app as you would: `react-native run-ios`
32+
33+
The next step of the project is to test the camera on a real device, and to create a video ingest node discovery service so a number of Livepeer ingest nodes can be discovered, and the rtmp connection information can be fill in to the [NodeCameraView](https://github.com/gomesalexandre/status-react/blob/6ec7415f6fc4cf2e5e9fc3cf5997c2d744e204e5/src/status_im/ui/screens/go_live/views.cljs#L34)
34+
35+
The video ingest node discovery service can start as a simple service that has knowledge about Status-deployed Livepeer nodes. The service can find a ingest node that doesn't currently have a stream running, and return the RTMP endpoint to the Status client so it can send the broadcast video to that ingest node.
36+
37+
@ericxtang is happy to help advise the creation of such service.

0 commit comments

Comments
 (0)