ipcam-view 

Android MJPEG video streaming made simple!
A wrapper library around the well known SimpleMjpegView and android-camera-axis projects.
If you have problem to identify your IpCam url, please follow this link
Features
- Default support by
android-camera-axis
- Native support by
SimpleMjpegView
- Handle credentials and cookies
- Multiple camera in one activity
- Snapshot
- Flip and rotate image
- Video recording
- Custom appearance
Gradle dependency
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.niqdev:ipcam-view:<LATEST_RELEASE>'
}