This will help keep the code compatible with new wyze FW updates (latest one compatabile was in August wyze FW release).
Wyze official RTSP will stay beta, and they will not maintain it, as they mentioned explicitly (they dont have enough resources to maintain 2 branches of FW).
And always, non RTSP wyze FW maintained and updated well....hut this DTLS is now showstopper.
๐ Feature Request
The below code suggested by merlt8 to overcome DTLS feature in new wyze FW, where current code cannot access RTSP with new FW with DTLS
def getAuthKey(mac, enr): key = enr + mac.upper() hash = hashlib.sha256(key.encode()) print(hash.digest()) bArr = bytearray(hash.digest())[0:6] print(bArr) authKey = base64.standard_b64encode(bArr).decode().replace('+', 'Z').replace('/', '9').replace('=', 'A').encode() return authKey
av_account: admin av_password:ย camera.enr
๐ Motivation
This will help keep the code compatible with new wyze FW updates (latest one compatabile was in August wyze FW release). Wyze official RTSP will stay beta, and they will not maintain it, as they mentioned explicitly (they dont have enough resources to maintain 2 branches of FW). And always, non RTSP wyze FW maintained and updated well....hut this DTLS is now showstopper.
๐ฐ Alternatives
Dont update wyze FW anymore.
๐ Additional context