Skip to main content

Questions tagged [stream]

DO NOT USE FOR THE JAVA STREAM API INTRODUCED IN JAVA 8 (use [java-stream] for those questions!) A stream is a series of data elements which can be accessed in a serial fashion.

0 votes
0 answers
9 views

Nodemailer not working in nextjs say's Module not found: Can't resolve 'stream'

Module not found: Can't resolve 'stream' https://nextjs.org/docs/messages/module-not-found Import trace for requested module https://nextjs.org/docs/messages/module-not-found Import trace for ...
Vedant Raut's user avatar
1 vote
0 answers
17 views

convert object to mock stream

given below was my object class .here i am trying to convert this object class to mock stream public class WebHookBody { public string entryId { get; set; } } i am trying to add ...
Harikarthik's user avatar
0 votes
0 answers
22 views

Flutter , How to form a sentence from a words that broadcasted from a websocket

Im using a websocket to make a chatbot. This is a broadcast Stream WebSocketHelper(@Named('webSocketUrl') String url) : channel = IOWebSocketChannel.connect(url) { _broadcastStream = ...
Febin Johnson's user avatar
-1 votes
0 answers
18 views

how to redirect absl logs in a pybinded C++ from the calling Python module [closed]

I have a Python binary that leverages numerous C++ functions through pybind11. Both in Python and C++ I'm using absl logging. I am trying to setup absl in Python to wrote logs to file instead of ...
Amir's user avatar
  • 509
1 vote
0 answers
24 views

process json response as a stream

I have an http response with a body that is a ByteReadChannel. I know that the content is an array of JSON objects. I need to filter that response body by properties of the JSON object. As the array ...
Martin's user avatar
  • 131
0 votes
0 answers
48 views

Extracting large password protected 7zip files whilst streaming?

I have a requirement to unzip password protected 7zip files from AWS S3 to a container that has limited space. The problem is I can't download the entire zip file and then attempt to extract it ...
Brunaldo's user avatar
-3 votes
1 answer
118 views

How to interface with a UNIX port? [closed]

I have encountered this same question in numerous forms over the past year, and have not been able to find the solution I am after. As the question has yet again reared its head, I am asking here with ...
BrownianBridge's user avatar
0 votes
0 answers
15 views

integrating chat with zoom clone

i am creating a meeting app using the stream . i want to integrate the chat in my application meeting room so can anyone tell me where should i integrate the code of my chat .currently i am adding it ...
lakshya agarwal's user avatar
1 vote
1 answer
17 views

ASP.NET Web Api Model Binding From A Stream

Im trying to send a http post request from Action1 to Action2 and instead of sending the payload as string Im sending it as stream for performance. Im getting the error. Unsupported Media Type [...
VJAI's user avatar
  • 32.6k
2 votes
1 answer
38 views

Continuously process data stream from external program in Matlab

So, I have written a C program that starts an external sensor module and then gets a stream of measurements from the sensor until the process is interrupted. Currently it just writes the measurements ...
ummg's user avatar
  • 291
0 votes
0 answers
10 views

How can I record internal computer sound joined with input sound and save all in one file?

I want to write a client and server in c#, client will record internal sound + input sound (microphone) and stream it to the server, how can I achieve the join effect, to stream their both without any ...
Errant Wanderer's user avatar
0 votes
0 answers
19 views

stream is hunging when no internet is detected instead of closing the pipeline

I'm trying to display save and stream rgb/ir data to an external server via network, but i want to also be able to display and save in case there is no network so that i don't lose data. iam using ...
Ihssane Oubari's user avatar
0 votes
0 answers
19 views

Exoplayer HLS Cache

Is it possible to cache played hls stream from exoplayer? I was reading a lot about caching of other media types, but I couldn't find any solution for hls streams. There are some old comments like the ...
X3NomoRpH's user avatar
0 votes
0 answers
6 views

How Can I Use Run Manager to Stream Response on RetrievalQA?

I'm working with the langchain library and transformers to build a language model application. I want to integrate a CallbackManagerForLLMRun to stream responses in my RetrievalQA chain. Below is the ...
rahul raj's user avatar
-1 votes
1 answer
43 views

RxJava strip bytes at regular interval from a stream and then further extract messages based on length indicator of message bytes

I have a Java inputstream, that I skip 2 bytes every n bytes. Now the output of that are bytes that are clean after stripping the 2 delimiters every n bytes. This output is a series of bytes where the ...
chhil's user avatar
  • 440
1 vote
1 answer
32 views

System.Text.Json.JsonSerializer does not overwrite existing file fully when using file stream

Consider the following code: internal class Program { static async Task Main(string[] args) { var t = new Thing() { Name = "Some Long Name" }; string path = @"c:\...
rory.ap's user avatar
  • 34.8k
0 votes
0 answers
32 views

Streaming data from delegate to function call

I have a 3rd party library that calls a delegate every time there is a buffer of data, and I need to get this buffer into a stream and send the stream to S3. So I use a FileStream to write to a ...
Andy's user avatar
  • 97
0 votes
0 answers
67 views

NodeJS ECONNRESET error onStreamRead while downloading large csv

I'm trying to download a very large gzipped csv file, hosted on a S3 server. I want to insert each csv row to my database. To achieve that I get the encoded stream, unzip it, parse it and save it to ...
Jose Alvera's user avatar
0 votes
3 answers
157 views

Issues in Streaming response from flask-smorest

I'm encountering issues in streaming response in flask-smorest. I'm following the guidance here - https://flask.palletsprojects.com/en/2.3.x/patterns/streaming/ for streaming responses from my flask-...
FahdS's user avatar
  • 49
0 votes
2 answers
70 views

Array not resetting in JavaScript while reading from stream

I am trying to insert data coming from a remote CSV file in MongoDB (using Mongoose). I would like to do so in bulk inserts of 100 items at a time. Here's my code: import csv from 'csv-parser' import ...
mrodo's user avatar
  • 565
0 votes
1 answer
53 views

NextJS v14 architecture to call a LLM

In a NextJS v14 application, I need to call a proxy API that interacts with an LLM. The API returns an NDJSON response, which needs to be processed using the ndjsonStream function from the can-ndjson-...
aestheticsData's user avatar
0 votes
0 answers
9 views

How to extract particular field from custom duplicate objects and build a another response list using java 8 streams

I have below response from database and I need to convert it into the final json format using java 8 streams. Response from Database: [ { "name": "Test1", "age": "33&...
user26037047's user avatar
0 votes
1 answer
15 views

Azure Stream Analytics get counts only if count has changed between windows

I'm trying to create a query in Azure Stream Analytics that each hour will give me number of events (grouped by some columns) in last 8 hours. I'm using HoppingWindow(hour, 8, 1) in my GROUP BY clause ...
cornisto's user avatar
  • 201
0 votes
0 answers
61 views

Stream hls/m3u8 with HTML

I was wondering, is it possible to make a html code to play a video file hosted in a host that use hls/m3u to stream the video?, for example, if I have a link let's say: www.hostvideos.com/e/file123 ...
Free GOT's user avatar
0 votes
1 answer
35 views

how to read ndjson stream response in php

sorry if my question is silly but there's something I'm not getting. I'm using Guzzle in a PHP process to make an API call. $response = $this->client->request('GET', 'droits_acces', [ ...
Florian B's user avatar
-2 votes
0 answers
48 views

Upload a file to Google cloud storage bucket: Camel vs gcloud CLI

I want to upload a file to a Google cloud storage bucket. With Java/Camel: from("file://target/upload?delete=true") .routeId("GCP file upload route") .log("...
Guido's user avatar
  • 347
1 vote
1 answer
53 views

Write and read string from MemoryStream

Please consider this scenario: I want to read a file and then place its bytes to MemoryStream and then write some strings to it and then immediately read entire MemotyStream. For example I have a text ...
DooDoo's user avatar
  • 13.3k
0 votes
0 answers
25 views

What is the difference between : RTMP, HLS, DASH, HTTP, WebRTC, ngx_stream in nginx conf

Studing nginx I cam to the stream directive and rtmp I found many streeming options There is many things called streaming and I'm new to these concepts RTMP HLS DASH HTTP(S) ngx_stream (stream ...
Abd-Elaziz Sharaf's user avatar
0 votes
0 answers
20 views

Issue when adding text in liquidsoap

Using liquidsoap to stream to facebook, however I have an issue where if i add text or image, i get the following error, any idea why #!/usr/bin/liquidsoap enc = %ffmpeg( format="flv", %...
Ossama's user avatar
  • 2,421
0 votes
0 answers
29 views

How to disable buffer_output when using Symfony's build in server?

My eventual goal is to create an SSE stream, but for now I just created a simple php file in the public folder of my Symfony project. The code in it has nothing to do with Symfony: <?php header('...
Jack33's user avatar
  • 121

15 30 50 per page
1
2 3 4 5
520