rtmp-rtsp-stream-client-java
Library for stream in RTMP and RTSP. All code in Java.
Permissions:
Compile
To use this library in your project with gradle add this to your build.gradle:
Features:
- [x] Android min API 16.
- [x] Support camera1 and camera2 API
- [x] Encoder type buffer to buffer.
- [x] Encoder type surface to buffer.
- [x] RTMP/RTSP auth wowza.
- [x] Audio noise suppressor.
- [x] Audio echo cancellation.
- [x] Disable/Enable video and audio while streaming.
- [x] Switch camera while streaming.
- [x] Change video bitrate while streaming (API 19+).
- [X] Record MP4 file while streaming (API 18+).
- [x] H264 and AAC hardware encoding.
- [x] RTSP TCP/UDP.
- [x] Stream from MP4 file (only video, no sound, API 18+).
- [x] Stream device display(API 21+).
- [X] Set Image, Gif or Text to stream on real time.
- [X] RTMPS and RTSPS
Backlog
- H265 support
Use example:
This code is a basic example.
I recommend you go to Activities in app module and see all examples.