aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-24 01:44:17 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-24 16:45:37 +0200
commit7216c1779a799652a8fb4d9301bbf05952b33661 (patch)
tree8644234c0966e9f78d1ed9519bf3cad1395c7b63 /packages/meshbay-node/tests
parent15e7084bad34edb60a5999994731a8a2ed1dc6c8 (diff)
downloadmeshbay-7216c1779a799652a8fb4d9301bbf05952b33661.tar.gz
refactor(node): move the subtitle handler out of webrtc_server
SubtitlesMixin in transport/webrtc/apps/subtitles.py; _locate, which it shares with the files, music and streaming handlers, in webrtc/disk.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/tests')
-rw-r--r--packages/meshbay-node/tests/test_stream_subtitle_tracks.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/meshbay-node/tests/test_stream_subtitle_tracks.py b/packages/meshbay-node/tests/test_stream_subtitle_tracks.py
index 7a27a37..32b503b 100644
--- a/packages/meshbay-node/tests/test_stream_subtitle_tracks.py
+++ b/packages/meshbay-node/tests/test_stream_subtitle_tracks.py
@@ -37,11 +37,8 @@ from meshbay_common.crypto import generate_gek
from meshbay_common.webcrypto import chunk_key_aes, decrypt_chunk_aes
from meshbay_node.indexer.group_index import GroupIndex
from meshbay_node.media_probe import TEXT_SUBTITLE_CODECS
-from meshbay_node.transport.webrtc_server import (
- WebRTCPeerSession,
- _probe_video,
- _subtitle_timeout_for,
-)
+from meshbay_node.transport.webrtc.media_tools import _subtitle_timeout_for
+from meshbay_node.transport.webrtc_server import WebRTCPeerSession, _probe_video
from conftest import needs_subprocess, one_root