comparison libervia/web/pages/calls/_browser/webrtc.py @ 1577:9ba532041a8e

browser (chat): implement message reactions.
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 16:31:36 +0100
parents e65d2ef1ded4
children 0a4433a343a3
comparison
equal deleted inserted replaced
1576:c7d15ded4cbb 1577:9ba532041a8e
232 232
233 @param event: Event containing the ICE candidate 233 @param event: Event containing the ICE candidate
234 """ 234 """
235 log.debug(f"on ice candidate {event.candidate=}") 235 log.debug(f"on ice candidate {event.candidate=}")
236 if event.candidate and event.candidate.candidate: 236 if event.candidate and event.candidate.candidate:
237 window.last_event = event
238 parsed_candidate = self.parse_ice_candidate(event.candidate.candidate) 237 parsed_candidate = self.parse_ice_candidate(event.candidate.candidate)
239 if parsed_candidate is None: 238 if parsed_candidate is None:
240 return 239 return
241 try: 240 try:
242 media_type = self.media_types[event.candidate.sdpMLineIndex] 241 media_type = self.media_types[event.candidate.sdpMLineIndex]