diff libervia/frontends/tools/webrtc_models.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents 79c8a70e1813
children
line wrap: on
line diff
--- a/libervia/frontends/tools/webrtc_models.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/frontends/tools/webrtc_models.py	Wed Jun 19 18:44:57 2024 +0200
@@ -62,6 +62,7 @@
     @param dc_open_cb: Called when Data Channel is open.
         This callback will be run in a GStreamer thread.
     """
+
     name: str = Field(default_factory=lambda: str(uuid.uuid4()))
     dc_open_cb: Callable[[GstWebRTC.WebRTCDataChannel], None]
 
@@ -79,8 +80,9 @@
     @param audio_properties: Elements properties to set.
 
     """
-    video_pipeline: str|None = None
-    audio_pipeline: str|None = None
+
+    video_pipeline: str | None = None
+    audio_pipeline: str | None = None
     video_properties: dict = Field(default_factory=lambda: {})
     audio_properties: dict = Field(default_factory=lambda: {})