Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pyhap/camera_talkback.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@ def _run(self) -> None:
)
continue
try:
if 192 <= data[1] <= 223: # RTCP packet
decrypted = self._session.unprotect_rtcp(data)
logger.debug(
"Received SRTCP: type=%d, length=%d",
decrypted[1],
len(decrypted),
)
continue
rtp_plain = self._session.unprotect(data)
packet = parse_rtp_packet(rtp_plain)
except Exception:
Expand Down
Loading