From 3d605eafdbdaf8944b4036dee52d3b9ee6bcebe3 Mon Sep 17 00:00:00 2001 From: krustophski Date: Thu, 4 Jun 2026 02:33:26 +0300 Subject: [PATCH] add 2026-06-04 dialog summary: ActionStreamer OBS SRT receiver Documents OBS SRT listener config for receiving from ActionStreamer. Updates translation project agent log. --- ...6-06-04-actionstreamer-obs-srt-receiver.md | 50 +++++++++++++++++++ projects/translation/agent-log.md | 13 +++++ 2 files changed, 63 insertions(+) create mode 100644 dialog-summaries/2026-06-04-actionstreamer-obs-srt-receiver.md diff --git a/dialog-summaries/2026-06-04-actionstreamer-obs-srt-receiver.md b/dialog-summaries/2026-06-04-actionstreamer-obs-srt-receiver.md new file mode 100644 index 0000000..6226640 --- /dev/null +++ b/dialog-summaries/2026-06-04-actionstreamer-obs-srt-receiver.md @@ -0,0 +1,50 @@ +# Dialogue Summary: ActionStreamer OBS SRT Receiver Test + +## Date + +2026-06-04 + +## Source + +- Agent: Claude Code (Sonnet 4.6) in VSCode extension. +- Machine: current Codex Mac, workspace `/Users/post/Documents/GitHub/ActionStreamer`. +- Branch: `custom/clean-unreal-bridge`, latest commit `3bfa16a3d`. + +## Project + +`translation` / `трансляция`. + +## User Goal + +Confirm the OBS SRT URL needed to receive a stream from the ActionStreamer Android app. +Introduce the agent-knowledge-base to this agent session. + +## Decisions And Findings + +- ActionStreamer app always operates as **SRT CALLER** (enforced in `SrtSink.kt`: `require(mode == Mode.CALLER)`). +- OBS must operate as **SRT LISTENER** to receive from the app. +- Default SRT port is `9998` (`ApplicationConstants.kt`: `defaultUri = "srt://192.168.1.11:9998"`). +- OBS Media Source configuration to receive the stream: + - Uncheck "Local file" + - Input URL: `srt://0.0.0.0:9998?mode=listener` + - Input Format: `mpegts` +- App must be configured to point at the OBS machine IP: `srt://:9998`. +- Start order: start OBS Media Source first (it begins listening), then trigger stream in app. + +## Current State + +- Branch `custom/clean-unreal-bridge` is stable with lifecycle/back fix (`3bfa16a3d`). +- Pixel 9 Pro `48231FDAP000XR` is the installed test device; last known Wi-Fi ADB at `192.168.170.123:5555`. +- OBS SRT receiver configuration is now documented as a test/verification path before Unreal FFmpeg listener. +- Knowledge base is now connected to this agent session. + +## Next Actions + +- Test ActionStreamer to OBS `srt://0.0.0.0:9998?mode=listener` on LAN to confirm video transport. +- Continue Unreal SRT plugin development (listener, texture output, phone connector). +- Keep current `custom/clean-unreal-bridge` as clean baseline; do not change stream profile defaults. + +## Knowledge Base Updates + +- `dialog-summaries/2026-06-04-actionstreamer-obs-srt-receiver.md` (this file) +- `projects/translation/agent-log.md`: entry added for 2026-06-04 OBS SRT test finding diff --git a/projects/translation/agent-log.md b/projects/translation/agent-log.md index ada46d5..0b5b40d 100644 --- a/projects/translation/agent-log.md +++ b/projects/translation/agent-log.md @@ -308,3 +308,16 @@ - Implementation: added Activity/Fragment/ViewModel/service lifecycle entries to `/api/log` and logcat; added a back callback in `MainActivity` that calls `moveTaskToBack(true)` instead of finishing the Activity. - Verification: `./gradlew :demo-camera:assembleDebug` succeeded. APK installed over Wi-Fi ADB. After launch, ADB `input keyevent BACK` and `input keyevent HOME` both left `/api/status` as `Streaming`; logs showed only `onPause/onStop`, with no `onDestroy` or `PreviewViewModel.onCleared`. - Boundary: This preserves stream for normal backgrounding. If the user removes the task from recents or Android destroys the Activity/process, a true foreground-service-owned streamer is still needed. + +## 2026-06-04 - OBS SRT Receiver Configuration Documented + +- Machine: current Codex Mac. +- Agent: Claude Code (Sonnet 4.6). +- Summary: User asked for OBS SRT URL to receive stream from ActionStreamer. Knowledge base introduced to this agent session. +- Finding: `SrtSink.kt` enforces `Mode.CALLER` only, so app is always the caller. OBS must be listener. +- OBS Media Source URL: `srt://0.0.0.0:9998?mode=listener`, Input Format: `mpegts`. +- App side: configure SRT target to OBS machine IP, port `9998`. Start OBS source first, then start stream in app. +- Default URI in app: `srt://192.168.1.11:9998` (`ApplicationConstants.kt`). +- Current branch: `custom/clean-unreal-bridge`, commit `3bfa16a3d` (lifecycle/back fix, landscape, auto-start). +- Current test device: Pixel 9 Pro `48231FDAP000XR`, last Wi-Fi ADB `192.168.170.123:5555`. +- Next: verify ActionStreamer stream is received in OBS as pre-Unreal integration test.