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