How to run Razdor.Android
- Скачайте стабильную версию андроид приложения .apk
- Установите приложение
- Предоставьте разрешения
- Создайте новый аккаунт для одного устройства и ещё один для другого. Или же вы можете воспользоваться готовыми тестовыми аккаунтами:
Dan, пароль:1234;Lukus, пароль:1234
- Зайдя на главную страницу, вы отправляете запрос на связь с одного устройства на другое. На втором устройстве вы принимаете запрос.
- Загрузите последнюю версию Android Studio IDE
- Клонируйте репозиторий
- Дождитесь завершения сборки gradle
- Запускайте
How to run Razdor.Backend
- Setup docker
- Clone repository
- Go to project directory
- Build docker image
docker build -t image-name .- Run container
docker run --rm -p 5154:8080 image-name
- Build and use frontend or view the available routes on http://**/swagger
If you have any issues with live streaming, please write it
- Select the ip of the desired network using ifconfig/ipconfig
- Run docker container in network
docker run --rm -p 26.201.58.143:5154:8080 image-name
WARNING. A firewall may interfere with network detection.
How to run Razdor.Frontend
- Clone repository
- Go to project directory
- Then write in cmd >npm i
- And >npm run dev
- If you need switch address you can do this in src>app>webrtc.ts on line 13
- Build and use Backend
If you have any issues with live streaming, please write it
How to run MediaStreaming test environment
- Download stable release .apk
- Install application
- Grant video recording permission
- Write your IP-address destination (you can test once with 127.0.0.1 individually). You need to stream to peer client which has the same application.
- 'Start recording' button means that you can receive live stream video from another client. Click on it.
- Buttons (0, 1 and etc) below are your available camera ID's for live streaming.
- Select any camera (0, 1 and etc) and click on it
If you have any issues with live streaming, please write it
- Download latest Android Studio IDE
- Clone repository
- Select folder with Android Studio IDE and open it
- Wait till gradle building will be completed
Press LShift twice and type CaptureRequest.kt. Inside the default() function you can change parameters via set() method. See documentation with available options
Press LShift twice and type MediaFormat.kt. Inside the default() function you can change parameters via setInteger() method. See documentation with available options
Also, you can change streaming settings inside app with downloaded stable version .apk. Click on 'options' button and you have:
- capture-rate
- i-frame-interval
- width
- height
- rotation-degrees
- frame-rate
- bitrate