Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyin authored and PRWrl committed Jan 29, 2019
1 parent d9542be commit cabd0ab
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Golem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,29 @@ Golem is a tool to fake user(s) in Agora channel running on Linux x64(verified o
2. Copy include/ to Golem/include
3. Copy libs/ to Golem/libs
4. make
```
make clean & make
``` bash
make clean
make
```
## Configuration
### In config.json
* **key** : String, Specifies appID, you can get it from [here](http://agora.io).
* **channel_name** : String, Specifies the channel name.
* **uid** : Integer, Specifies the uid except 0. Golem will get dynamic uid from SDK if set uid 0.
* **video_file** : String, Specifies the yuv file path. example:
``` json
"video_file":"/home/username/Tools/Golem/input.yuv"
```
* **audio_file** : String, Specifies the pcm file path. example:
``` json
"audio_file":"/home/username/Tools/Golem/input.pcm"
```
## Run
* export the Golem/libs to LD_LIBRARY_PATH. example:
``` bash
export LD_LIBRARY_PATH=/home/username/Tools/Golem/libs:$LD_LIBRARY_PATH
```

```
python ./golem_run.py
```
Expand Down

0 comments on commit cabd0ab

Please sign in to comment.