-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from AgoraIO/dev/3.4.0
Dev/3.4.0
- Loading branch information
Showing
65 changed files
with
581 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,94 @@ | ||
# Open Video Call Linux | ||
|
||
*Read this in other languages: [中文](README.zh.md)* | ||
|
||
The Open Video Call Linux Sample App is an open-source demo that will help you get video chat integrated directly into your Linux applications using the Agora Video SDK. | ||
|
||
With this sample app, you can: | ||
|
||
- Join / leave channel | ||
- Mute / unmute audio | ||
- Enable / disable video | ||
- Change camera | ||
- Setup resolution, frame rate and bit rate | ||
|
||
This demo is written in **C++** | ||
|
||
Agora Video SDK supports iOS / Android / Windows / macOS etc. You can find demos of these platform here: | ||
|
||
- [OpenVideoCall-Android](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-Android) | ||
- [OpenVideoCall-iOS](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-iOS) | ||
- [OpenVideoCall-macOS](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-macOS) | ||
- [OpenVideoCall-Windows](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-Windows) | ||
|
||
## Running the App | ||
First, create a developer account at [Agora.io](https://dashboard.agora.io/signin/), and obtain an App ID. set appID in run.sh | ||
|
||
``` | ||
--appId "Your app ID" | ||
``` | ||
|
||
Next, download the **Agora Video SDK** from [Agora.io SDK](https://www.agora.io/en/blog/download/). | ||
Unzip the downloaded SDK package and copy | ||
- libagora_rtc_sdk.so | ||
|
||
to the "OpenVideoCall/libs" folder in project(the old one may be over written). | ||
|
||
configue parameters in run.sh. | ||
Using 'make' command to build the demo. Using ./run.sh to run demo | ||
openVideoCall is a commandline demo. Commands as follows: | ||
- open | ||
|
||
open video call | ||
- close | ||
|
||
close video call | ||
- enable_video | ||
|
||
enable/disable video, 'enable_video 0' means disable video, 'enable_video 1' means enable video | ||
- enable_audio | ||
|
||
enable/disable audio, 'enable_audio 0' means disable audio, 'enable_audio 1' means enable audio | ||
- enable_local_video | ||
|
||
enable/disable local video, 'enable_local_video 0' means disable local video(local camera), 'enable_local_video 1' means enable local video | ||
- mute_local_video | ||
|
||
mute/unmute local video, 'mute_local_video 0' means unmute local video(local camera), 'mute_local_video 1' means mute local video | ||
- mute_local_audio | ||
|
||
mute/unmute local audio, 'mute_local_audio 0' means unmute local audio(local audio device), 'mute_local_audio 1' means mute local audio | ||
- print_device_info | ||
|
||
print video and audio device info | ||
- set_cur_camera | ||
|
||
set current carmera,'set_cur_camera deviceId' you can get deviceID by print_device_info | ||
- exit | ||
|
||
exit app | ||
|
||
## Developer Environment Requirements | ||
* Ubuntu 12.04 x64 or higher | ||
* CentOS 7 or higher | ||
* gcc 4.8 or higher | ||
|
||
|
||
## Contact Us | ||
|
||
- For potential issues, take a look at our [FAQ](https://docs.agora.io/en/faq) first | ||
- Dive into [Agora SDK Samples](https://github.com/AgoraIO) to see more tutorials | ||
- Take a look at [Agora Use Case](https://github.com/AgoraIO-usecase) for more complicated real use case | ||
- Repositories managed by developer communities can be found at [Agora Community](https://github.com/AgoraIO-Community) | ||
- You can find full API documentation at [Document Center](https://docs.agora.io/en/) | ||
- If you encounter problems during integration, you can ask question in [Stack Overflow](https://stackoverflow.com/questions/tagged/agora.io) | ||
- You can file bugs about this sample at [issue](https://github.com/AgoraIO/Basic-Video-Call/issues) | ||
|
||
## License | ||
|
||
The MIT License (MIT). | ||
# Open Video Call Linux | ||
|
||
*Read this in other languages: [中文](README.zh.md)* | ||
|
||
The Open Video Call Linux Sample App is an open-source demo that will help you get video chat integrated directly into your Linux applications using the Agora Video SDK. | ||
|
||
With this sample app, you can: | ||
|
||
- Join / leave channel | ||
- Mute / unmute audio | ||
- Enable / disable video | ||
- Change camera | ||
- Setup resolution, frame rate and bit rate | ||
|
||
This demo is written in **C++** | ||
|
||
Agora Video SDK supports iOS / Android / Windows / macOS etc. You can find demos of these platform here: | ||
|
||
- [OpenVideoCall-Android](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-Android) | ||
- [OpenVideoCall-iOS](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-iOS) | ||
- [OpenVideoCall-macOS](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-macOS) | ||
- [OpenVideoCall-Windows](https://github.com/AgoraIO/Basic-Video-Call/tree/master/Group-Video/OpenVideoCall-Windows) | ||
|
||
## Running the App | ||
First, create a developer account at [Agora.io](https://dashboard.agora.io/signin/), and obtain an App ID. set appID in run.sh | ||
|
||
``` | ||
--appId "Your app ID" | ||
``` | ||
|
||
> To ensure communication security, Agora uses tokens (dynamic keys) to authenticate users joining a channel. | ||
> | ||
> Temporary tokens are for demonstration and testing purposes only and remain valid for 24 hours. In a production environment, you need to deploy your own server for generating tokens. See [Generate a Token](https://docs.agora.io/en/Interactive Broadcast/token_server)for details. | ||
Next, download the **Agora Video SDK** from [Agora.io SDK](https://www.agora.io/en/blog/download/). | ||
Unzip the downloaded SDK package and copy | ||
|
||
- libagora_rtc_sdk.so | ||
|
||
to the "OpenVideoCall/libs" folder in project(the old one may be over written). | ||
|
||
configue parameters in run.sh. | ||
Using 'make' command to build the demo. Using ./run.sh to run demo | ||
openVideoCall is a commandline demo. Commands as follows: | ||
- open | ||
|
||
open video call | ||
- close | ||
|
||
close video call | ||
- enable_video | ||
|
||
enable/disable video, 'enable_video 0' means disable video, 'enable_video 1' means enable video | ||
- enable_audio | ||
|
||
enable/disable audio, 'enable_audio 0' means disable audio, 'enable_audio 1' means enable audio | ||
- enable_local_video | ||
|
||
enable/disable local video, 'enable_local_video 0' means disable local video(local camera), 'enable_local_video 1' means enable local video | ||
- mute_local_video | ||
|
||
mute/unmute local video, 'mute_local_video 0' means unmute local video(local camera), 'mute_local_video 1' means mute local video | ||
- mute_local_audio | ||
|
||
mute/unmute local audio, 'mute_local_audio 0' means unmute local audio(local audio device), 'mute_local_audio 1' means mute local audio | ||
- print_device_info | ||
|
||
print video and audio device info | ||
- set_cur_camera | ||
|
||
set current carmera,'set_cur_camera deviceId' you can get deviceID by print_device_info | ||
- exit | ||
|
||
exit app | ||
|
||
## Developer Environment Requirements | ||
* Ubuntu 12.04 x64 or higher | ||
* CentOS 7 or higher | ||
* gcc 4.8 or higher | ||
|
||
|
||
## Contact Us | ||
|
||
- For potential issues, take a look at our [FAQ](https://docs.agora.io/en/faq) first | ||
- Dive into [Agora SDK Samples](https://github.com/AgoraIO) to see more tutorials | ||
- Take a look at [Agora Use Case](https://github.com/AgoraIO-usecase) for more complicated real use case | ||
- Repositories managed by developer communities can be found at [Agora Community](https://github.com/AgoraIO-Community) | ||
- You can find full API documentation at [Document Center](https://docs.agora.io/en/) | ||
- If you encounter problems during integration, you can ask question in [Stack Overflow](https://stackoverflow.com/questions/tagged/agora.io) | ||
- You can file bugs about this sample at [issue](https://github.com/AgoraIO/Basic-Video-Call/issues) | ||
|
||
## License | ||
|
||
The MIT License (MIT). |
Oops, something went wrong.