mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
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:
committed by
GitHub
parent
73153cb3c9
commit
d42740372c
@@ -28,7 +28,6 @@ from fastrtc.tracks import (
|
|||||||
HandlerType,
|
HandlerType,
|
||||||
ServerToClientAudio,
|
ServerToClientAudio,
|
||||||
ServerToClientVideo,
|
ServerToClientVideo,
|
||||||
StreamHandlerBase,
|
|
||||||
StreamHandlerImpl,
|
StreamHandlerImpl,
|
||||||
VideoCallback,
|
VideoCallback,
|
||||||
VideoEventHandler,
|
VideoEventHandler,
|
||||||
@@ -257,7 +256,7 @@ class WebRTCConnectionMixin:
|
|||||||
pc = RTCPeerConnection()
|
pc = RTCPeerConnection()
|
||||||
self.pcs[body["webrtc_id"]] = pc
|
self.pcs[body["webrtc_id"]] = pc
|
||||||
|
|
||||||
if isinstance(self.event_handler, StreamHandlerBase):
|
if isinstance(self.event_handler, StreamHandlerImpl):
|
||||||
handler = self.event_handler.copy()
|
handler = self.event_handler.copy()
|
||||||
handler.emit = webrtc_error_handler(handler.emit) # type: ignore
|
handler.emit = webrtc_error_handler(handler.emit) # type: ignore
|
||||||
handler.receive = webrtc_error_handler(handler.receive) # type: ignore
|
handler.receive = webrtc_error_handler(handler.receive) # type: ignore
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ readme = "README.md"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
license-files = ["LICENSE"]
|
license-files = ["LICENSE"]
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
authors = [{ name = "Freddy Boulton", email = "YOUREMAIL@domain.com" }]
|
authors = [{ name = "Freddy Boulton", email = "arugula.ligand.92@icloud.com" }]
|
||||||
keywords = [
|
keywords = [
|
||||||
"streaming",
|
"streaming",
|
||||||
"webrtc",
|
"webrtc",
|
||||||
@@ -65,9 +65,9 @@ classifiers = [
|
|||||||
# encounter your project in the wild.
|
# encounter your project in the wild.
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
repository = "https://github.com/freddyaboulton/gradio-webrtc"
|
repository = "https://github.com/freddyaboulton/fastrtc"
|
||||||
issues = "https://github.com/freddyaboulton/gradio-webrtc/issues"
|
issues = "https://github.com/freddyaboulton/fastrtc/issues"
|
||||||
Documentation = "https://freddyaboulton.github.io/gradio-webrtc/cookbook/"
|
Documentation = "https://fastrtc.org/"
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = ["build", "twine", "httpx", "pytest"]
|
dev = ["build", "twine", "httpx", "pytest"]
|
||||||
|
|||||||
Reference in New Issue
Block a user