alexeyvasilyev / rtsp-client-android

Lightweight RTSP client library for Android
Apache License 2.0
210 stars 54 forks source link

Fix authentication for keep-alive #46

Closed dstukalov closed 2 years ago

dstukalov commented 2 years ago

update authToken for keep-alives and teardown; otherwise, the server stops sending rtp traffic after keep-alive fails authentication

tested on hikvision DS-7608NXI-I2/8P/4S (firmware V4.1.15 build 190305)

OctavianIonel commented 1 year ago

update authToken for keep-alives and teardown; otherwise, the server stops sending rtp traffic after keep-alive fails authentication

tested on hikvision DS-7608NXI-I2/8P/4S (firmware V4.1.15 build 190305)

@alexeyvasilyev what exactly is doing this change? Does this help for reconnection?

dstukalov commented 1 year ago

this change allows to send correct "Authorization" parameter when sending keep-alives (either via GET_PARAMETER or OPTIONS command) and TEARDOWN command