Update old links in pyproject.toml (#270)

* Update old links

* Add email + lint

---------

Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
This commit is contained in:
Marcus Valtonen Örnhag
2025-04-10 16:12:22 +02:00
committed by GitHub
parent 73153cb3c9
commit d42740372c
2 changed files with 5 additions and 6 deletions

View File

@@ -28,7 +28,6 @@ from fastrtc.tracks import (
HandlerType,
ServerToClientAudio,
ServerToClientVideo,
StreamHandlerBase,
StreamHandlerImpl,
VideoCallback,
VideoEventHandler,
@@ -257,7 +256,7 @@ class WebRTCConnectionMixin:
pc = RTCPeerConnection()
self.pcs[body["webrtc_id"]] = pc
if isinstance(self.event_handler, StreamHandlerBase):
if isinstance(self.event_handler, StreamHandlerImpl):
handler = self.event_handler.copy()
handler.emit = webrtc_error_handler(handler.emit) # type: ignore
handler.receive = webrtc_error_handler(handler.receive) # type: ignore