7,387 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
93
views
How to Prevent Auto-Scroll During Streaming When User Manually Scrolls Up?
I'm building a chat interface where AI responses are streamed chunk by chunk (similar to ChatGPT). The current implementation automatically scrolls to the bottom as each chunk arrives, which works ...
Advice
1
vote
2
replies
66
views
Turning off buffering in k8s nginx ingress greatly increases client side latency and streaming in downstream
I have the following architecture:
Browser App (React) -> Nginx K8S Ingress -> Streaming Service A (Kotlin, POD) -> Streaming Service B (Java,POD)
From the browser I upload a json array of ...
2
votes
1
answer
107
views
React 18 streaming chat messages updating with stale state
i’m building a small AI chat ui in react (next.js app router, react 18) that streams tokens from my backend (openai style stream). basic flow:
user types a prompt
i push the user message into ...
0
votes
1
answer
35
views
How do I enable streaming in a NextJS app that is self hosted?
We are self-hosting the NextJS app with an Nginx proxy. The streaming functionality allows for the suspense states to show up while the page is loading. I am aware this is available by default if the ...
0
votes
0
answers
69
views
Android: Video streaming in WebView not working on certain devices (Yacine TV APK)
I am developing an Android app similar to Yacine TV that streams video content using a WebView. However, on some devices running Android 12 and 13, the video player shows a black screen while the ...
-1
votes
1
answer
61
views
FFmpeg doesn't detect small invalid data inputs [closed]
While writing tests for an endpoint that writes input to an FFmpeg process's stdin, I encountered an issue where FFmpeg doesn't respond when I pass small, invalid data (non-media data). It only reacts ...
1
vote
0
answers
56
views
Duplicate reponse from ADK when calling streaming reponse
I’m using Google ADK with a Sequential Workflow orchestrator.
I have two agents:
sql_agent – generates SQL query
execute_sql_agent – executes SQL query
I’m streaming responses into a custom Chainlit ...
1
vote
1
answer
57
views
How to determine if a BER ASN.1 identifier uses one or multiple octets?
I'm implementing a parser for BER-encoded ASN.1 data, and I'm confused about how identifier octets work. According to the ASN.1 BER rules:
Each identifier octet encodes class, primitive/constructed, ...
1
vote
0
answers
95
views
Why do I observe so high memory usage for copying a Parquet file with streaming using Polars with Rust?
Goal
I want to write a function in Rust using the Polars crate that does the following:
Copy a Parquet file from one location to another
Handle files larger than RAM
Not load the entire file into ...
2
votes
1
answer
119
views
How can I make PyAV write mp4 data to an buffer (BytesIO) for RTS?
I’m working on a RTS task as part of a project.
Here’s the flow:
Receive audio chunks in real time.
Send these chunks to a video generator, which creates video frames like a talking head video based ...
0
votes
0
answers
77
views
Use Grpc-web with Cloud Endpoints gRPC for Cloud Run with ESPv2
I am creating a GRPC service that should be accessible from the web but have found no working guides for getting grpc-web to work with cloud-endpoints and ESPv2. I have used this guide to set ...
0
votes
0
answers
151
views
Vercel AI-SDK not streaming with Capacitor
I'm working on Nuxt.js/Vue app using Vercel's AI-SDK and I'm wrapping it in Capacitor.
When I test the app in a browser (Chrome/Safari/Firefox) chat is working perfectly. When I build the iOS app and ...
0
votes
1
answer
110
views
Amazon Nova Sonic — should contentStart / contentEnd be sent once per session or once per user turn?
I'm integrating Amazon Nova Sonic (the speech-to-speech foundation model available through Amazon Bedrock) using the bidirectional streaming API
The official Amazon Nova Sonic User Guide explains that:...
0
votes
0
answers
32
views
agora media push apis to support passing text as a label
I am using these apis in create and update converter. We handle these from BE side.
we want to pass text to display participants names...etc
it can't be shown here that it's supported
I tried adding ...
0
votes
0
answers
75
views
Spring Boot + JdbcTemplate: Large Oracle CLOB streaming breaks connection with ORA-17002 / SQLSTATE 08006
I’m trying to stream a large query result from Oracle using Spring Boot and JdbcTemplate, but the connection breaks when processing big rows containing concatenated strings and CLOBs.
The query works ...