brian7704 / OpenTAK_ICU

25 stars 3 forks source link

GitHub Release Date GitHub Release Hits GitHub Downloads (all assets, all releases)

OpenTAK ICU

OpenTAK ICU is a video streaming app based on RootEncoder that can stream audio and video to RTSP(S), RTMP(S), and SRT servers such as MediaMTX. Its primary focus is to work with the TAK ecosystem.

Why?

While ATAK already has the TAK ICU plugin, it doesn't seem to support a few features. Specifically it doesn't support streaming audio or using authentication and encryption (RTSPS) at the same time.

Download

Get the APK from this repo's latest release

Documentation

See the full documentation here.

Features

Planned features

Servers

This app has been developed using MediaMTX as the streaming server but any RTSP/RTMP server should work.

Viewing OpenTAK ICU streams from MediaMTX in ATAK

In the video tool, tap the + symbol to add a new stream and use the following settings:

Viewing the stream in a browser

When using MediaMTX and streaming with H264, you can watch the live stream in a browser by going to

http://your_server_ip:8888/stream_path

for an HLS stream or

http://your_server_ip:8889/stream_path

for a WebRTC stream. Note that most browsers don't yet support H265. See CanIUse for details. Also note that WebRTC does not support AAC audio so you will need to use OPUS or G711 if you're viewing the stream via WebRTC.

Viewing streams in VLC

  1. Click on Media -> Open Network Stream
  2. In the URL field enter rtsp://your_server_address:8554/your_path
  3. Click Play

Adaptive Bitrate

When adaptive bitrate is enabled, the video bitrate will change based on your network/internet connection. If the connection can't send packets fast enough, the bitrate will lower. If the connection is good the bitrate will max out at what the bitrate setting's value is.

Servers with self-signed certificates

If your server is using self signed certificates and you wish to stream encrypted audio and video, you'll need your server's trust store certificate in PKCS12 (.p12 file extension) format. If your RTSP server is using the same certificates as your TAK server, you can use the same trust store certificate and certificate password in OpenTAK ICU. After selecting the certificate and providing the certificate password, press the Test Certificate button. This simply validates that the certificate is the correct format and that the password is correct.