Stream Questions
Ad
Flutter Firestore - Streambuilder within a streambuilder
I am trying to calculate the number of unread messages. in the first streambuilder i need to get all the document id's which match the first
Life expectancy of usb stick when datalogging
I know that on average a flashdrive has a life expectancy of roughly 100,000 write cycles. this raises a question for me i have written a
How to write a server by c that can change the progress of video/audio on the server?
How to write a server by c that can change the progress of video/audio on the server? i write a server program by c, but when i using
gstreamer-tsdemux is not discovering all streams
I need to demux and mux a stream with gstreamer (everything is tested with version 1.10.4 on centos and 1.14.1 on ubuntu) this means i have
What is a good commercial tar stream lib for c# and .net?
We are currently using sharpziplib but since it uses the gpl we need to replace it with a commercial lib.
What's the easiest non-memory intensive way to output XML from Python?
Basically, something similar to system.xml.xmlwriter - a streaming xml writer that doesn't incur much of a memory overhead. so that rules out
is_open() function in C++ always return 0 value and getLine(myFile, line) does not return anything
Trying to read a file in c++ using fstream. but the is_open() function always return 0 result and readline() does not read anything. please see
In which directory is being stored a file when I use "Activity.openFileOutput("myFile", Context.MODE_PRIVATE);" to store it?
I have this code to store a remote sqlite .db file with my android app: public string getremotecollection(string url, string
Streaming MP4 to iOS not working with JWPlayer and CloudFront
Trying to setup a test page that access a video hosted on s3 and streamed using cloudfront. the player i'm using is jwplayer, which is supposed to
jwplayer skips video while buffering
Jwplayer skips video streaming while it is buffering. i noticed this problem since a week before only. but there is no change in code. player
Ad
Long delay before playback in Flash JWPlayer
I've got a flash video that takes a very long time (30 seconds+) to load, which is obviously frustrating for users. i'm using the jwplayer to
problem streaming f4v files with jwplayer
I want to stream f4v files with jwplayer. while playing flv files works great with f4v i've got the problem that the video plays only when the
How config nginx to serve flv video streaming with JWplayer
I need to serve flv files from one server, and show those videos on a web page located in another server, with jwplayer. i already config
given: ifstream infile("test.txt") is there advantage to use if(!infile)... versus if(infile.good())...?
I came across this code in my reading: void assure(std::ifstream& infile ) { if(!infile) { /* stuff */} }
How to read input with c++ using program.exe < text.txt
I have to read input according to these rules: "the input consists of several lines of text. some lines may be empty. the
Scalable socket event queue processing
My c# class must be able to process a high volume of events received via a tcp stream style socket connection. the volume of event messages
can I Use parallel stream in groovy or is there any other way
I want to ask how to write this below code in groovy thanks alot;) list < string > nums = ['a','b'] map<string,
need an explanation for a beginner about exception in stream: IllegalStateException
Im a beginner in java programming and i just started streams. i have a problem with this code and i can't understand how to resolve it. i read few
Java group by custom variable and return same object
I want to count number of duplicate in my list by custom variable (myhash) map<personhash, long> result = list.stream()
No suitable method found for collect/reduce - Can't sum a list of Integers with stream()
In the input, i have a list of integers and strings together. the first stream works fine, the second stream works until the filter, i
How to populate a streamlit selectbox with vlaues from a SQL query
The goal is to have a streamlit selectbox show a list of pairs coming from the symbol column from the database.
Ad
How to show a detail page of a product with Laravel and Livewire
I created a laravel jetstream lifewire page from a tutorial. i show a list of records, and added a details button. <button
Check if one List<String> contains specific string from another list
I have a list of emails of list<string> type, and another one of keywords also list<string>. each email
Merge Person objects with similar attributes into a single Map Entry
Person.java class person{ string name; integer age; integer salary; //...getter..setter } list
Whats difference between websocket and flask-streaming from scenario aspect
I'm developing a bs kafka monitor tool. the program will listen to a kafka topic, and constantly output the new message from that topic. so which
Discord.js stream mpeg audio stream into voice channel
I want to stream a mpeg audio stream (mime type: audio/mpeg) from an url (specifically
How to convert video *.ts to *.mp4 on the fly and playback it on web (node.js)
Using the node.js with 'fluent-ffmpeg' i may convert video stream from live tv to mp4, so it is playing in html5 video. what i have:
How can I read files by word (divided with space and return) like `/\s+/g` with fs.createReadStream in Node.js?
I want to read file below and parse it by space and return with node.js. 5 12 45 67 34 56 and i can do it with
How can I stop cin from skippping a line?
So i was trying to make a program where the user is asked to give an input and it gives output with answered questions. everything looks alright
Upload large video to GCS use signed url but video is broken
I have a application for google app engine(gae), using vue.js on the
Is it possible to zip data as we write the data in nodejs?
I am able to append data to a file like this row (this i will get ) fs.appendfile('./file.txt', json.stringify(row) +
c# to Node.js - Flushing named pipe write buffer does not end stream
I'm writing two windows applications (one c# and one electron) that communicates with each other using named pipes. the c# client should send the
Ad
Best practices to build multi room (video and chat) with permissions in django and flutter
So past couple of days i have been looking into building multi room, where users are able to either chat, spectate or make a video calls dependent
Flutter: StreamBuilder does not show data on connection.state.active
I been trying to figure this out for the entire weekend so i finaly decided to ask you for your advice. got a streambuilder which listens
How to remove items from a list (Dart) | Firebase rtdb
I have a list that stores items that i don't want to display as part of my streambuilder, listview. this list retrieves
How to retrieve nested data from Firebase using StreamBuilder and display it all to ListView
I am trying to retrieve nested array data from firebase and display it on listview builder but i got an error of this below.
Flutter StreamBuilder Refresh Screen with updated list data from API
I am trying to convert my app to use a streambuilder periodically of three seconds. however, what i have now ends up with the error. bad state:
What can make a writeStream to emit close without writing to file?
I want to merge chucks of file to another file but writestream is emitting close without writing or appending the
How can I convert FutureBuilder code to StreamBuilder?
I am trying to get data from firestore and pass that data to screen using stream. i have done this using futurebuilder, this solution
Flutter stuck with a "DatabaseEvent subtype" error
The below code gives an error of subtype data
Start working with audio API with Web : Code is working is desktop browser but not working in mobile browser
Below given code is for recording audio from browser and play at the same moment. my problem is this code is working on desktop browser but not
How to make video call in flutter with agora?
I am using official flutter agora example for making video call , but the local camera only opens , and the remote user is never called.
Difference between bytes() and b''
I have the following str:
Ad
How to fix my stream/writing data closing really slow with NodeJS and promise-ftp
I have to download a json file from a ftp server. getting the file goes really fast but then the read/writing with stream closes really slow. the
How to list favorites/bookmarks in Flutter with Firestore
I have a collection called stuff that holds a title. think it like a twitter post. { 'stuffid': string 'title': string
"FlutterError: Unable to load asset" while adding image from network
I was trying to add some leading image into a list view inside of some stream build structure. the problem is whatever i tried i always got the
Readable implementation in typescript :
I implemented the readable stream in typescript. here's how : import * as stream from 'stream'; export class readable extends
Flutter Firestore - Null Safety Error When Fetching URL stored as String
Running into a what appears to be a null safety issue when returning a specific key-value pair from firestore. specifically, the error is being
AppBar and ListView.length
The title: of appbar is text. if the body has listview that was made out of stream. how can the text in the
Read txt file in Resorces folder using vb.net
My goal is to store a txt file in the resources folder of a vb.net application i added the dir.txt file with project > project properties
Getting Unprompted Input in NodeJS
I'm trying to get unprompted input from the user in a nodejs server. the reason is that i want to be able to send strings that can be interpreted
Best way to read a large JSON file
I currently have a 700m file and always end up with a memory limit when i try to read it (purpose: import data to firestore using firestore nodejs
Bypass the 6 downloads limit for multiple videos watching
I have to code a website with the capability of watching many live streams (video-surveillance cameras) at the same time. so far, i'm
How to wait for future inside Kafka Stream map()?
I am implementing spring boot application in java, using spring cloud stream with kafka streams binder. i need to implement blocking
Ad
StreamBuilder: A non-null value must be returned since the return type 'Stream' doesn't allow null
I'm using a streambuilder widget to show the score in real-time (fetching the data from api and then passing it to the stream) but while doing
How can I access the response headers of a request that is piped to a feedparser
I am trying to parse an rss feed using request js and feedparser-promised libraries. i am able to parse the feed using the below code.
How to get GstBuffer flags in Python
In gstreamer c api, we can use the gst_buffer_flag_is_set macro to check gstbuffer flags. this does not seem to be available in the
flutter local notification on firestore change
In my firestore i have a list of documents which represent locations on a map. i would like to show a local notification not only when a
AWS Lambda & Node: Write data while streaming - ends prematurely and data is missing
I've got a lambda function that is triggered by a write to an s3 bucket. it reads the json file that is written to the bucket, parses out the
Zipping two readable streams does not seem to produce anything
I have the following function: const _ = require('highland'); module.exports = (numbers /* readable */, words /* readable */,
Dart Stream firstWhere does not immediately resolve
I have, for example, this simple code: //create stream with numbers from 1 to 100, delayed by 10sec duration stream<int>
How to fix "m=video 9 UDP/TLS/RTP/SAVPF 0" issus in Android/Webrtc/PeerConnection/createOffer
How to get/enable the webrtc/video-coding-format? (android) i'm trying to create sdp-offer with media/vidio, but
Append output mode not supported when there are streaming aggregations on streaming DataFrames/DataSets without watermark;;\nJoin Inner
I wanna join 2 streams but i received the next error and i don't know how to fix it: append output mode not supported when
Create a stream watching a list?
I've got a global list like this: var data = [1,2,3]; i will add more elements to it, and each time i do i want
Nodejs for loop - stream runs out of memory
I'm generating a csv file that i'd like to save. it's a bit large, but the code is very simple. i use streams as to prevent out of memory errors,
Ad
How to avoid streambuilder executes unnecessarytimes
I'm trying to display a list of documents which works, but i read that one good practice is to manage states (which i'm trying currently to
How do I get data from multiple documents with StreamBuilder?
I am trying to make my flutter app with chat. i use a streambuilder to update the chat data. my problem is i don't
Unable to install npm package (kafka-streams)
I am trying to use npm package kafka-streams but getting below
I cannot get the data from the firestore into my application
I am new to programming and while i was trying to create a small todo app, i was able to save the data into cloud firestore but the problems
type 'Future<List<Appointment>>' is not a subtype of type 'List<Appointment>' in type cast
The error should be clear but i'm unsure how to go around it. basically i have a stream builder i'm calling every second by getdata()
Flutter snapshots from one StreamBuilder is showing in another StreamBuilder
I have two collections ('stream1', 'stream2') from firestore and i want them to render to the screen using a streambuilder and a listview. i have
Using StreamBuilder instead of FeatureBuilder to avoid whereIn 10 Limit in Firestore
I want to fetch the particular users' liked posts and show them in staggered grid view. i can able to do this in futurebuilder. but in
node.js filestream to read international characterset(French and German)
In my node.js i read characters from french and german language. as you know some characters doesn't exist in english. so, please help me to read
Node PDFKit pipe to multiple targets
I'm having a problem, when i have to pipe() the created document to multiple targets, in my case to a http response and to an email
How to render Page attributes in a model when displayed in StreamField?
I have the following structblock and page model: class postgrid(blocks.structblock): title =
Ad
get average salary with Java stream api;
How can i get the average salary of company employees whose salary is more than salarylimit? i think first i need to get a list of all salaries
Gulp - [task].pipe() is not a function
I have the following gulpfile.js. the new_version task creates a new version directory in the source code. const
How to refresh a widget with stream builder in flutter
I am trying to show data from the text file as per the data stored in shared preference i have another screen to save data in the text file i have
A value of type 'Stream<dynamic>' can't be returned from the function because it has a return type of 'Stream<Color>'
After migrating to flutter 2, the following section of code no longer works: class colorbloc extends blocbase { // streams of color
How implement back pressure manually
I have child process in that i am piping stream to parent. in child.js let stream = readdirp(pathname);
stop or kill node media server
I am trying to implement stop feature for live video streaming using node-media-server. basically i want to stop node-media-server
How can I implement Stream to get list of sub collection for each docs ? -flutter
I'm try to get sub collection from each doc ex.clothes,notifer witch i have more docs , that means i don't know its id
How to manually end stream created by Table#createReadStream()?
I want to process data from bigtable table in a stream, but end stream early. i am using this code for node.js (slightly modified
How can I create a MediaStream track from a continuous stream of images in node.js? (for usage with WebRTC)
I want to stream a robot cam from a web media element. i have access to the camera in node.js, which is providing a live stream of images
Flutter streamSnapshot.data.docs not working
Trying to grab my stream snapshot length but for some reason the .docs isn't working. it says that docs cant be called on an object, but i dont
Cancel instances of dart.async.StreamSubscription
When i use "streamsubscription" to instance a value. streamsubscription? _webviewlistener; it always
Ad
Avoid ListView's unwanted refresh
As the following animation displays, when i tap one of the list items that streambuilder() is querying, it shows the items data
How to stream a live video from a URL?
I want to embed this link in my android application. i tried doing
Flutter: Firebase realtime updates for Google Maps API in a Flutter App
I am working on a google map based flutter app. what should happen in this app is, when a user adds a marker to the map it should
Nodejs: how can I wait for pipe and createWriteStream to finish before executing next lines?
I'm new to nodejs. i am saving a zip file from s3 bucket to ec2 instance which is hosting the nodejs service, and then i am decompressing the zip
Flutter Update Text Widget Variable without Reloading
Im using flutter with firestore to make investing application. enter image
Listen to changes and get info on updated fields only
I have flutter/firebase app, which allows users to store their book reading data into firestore (books completed reading, reading currently etc).
Stream listener and streamController "talking" asynchronously not working as expected
I'm trying to understand how to work with streams starting from the template flutter code. the output i'm getting is
Two StreamProviders and two DocumentSnapshots
There are two streamprovider under multiprovider. streamprovider<documentsnapshot>( create: (_) =>
event mapper of BLoC not executed, though debugging suggests it should 8-/
That is a strange one, maybe one of you has an idea what happens: i have some events for my bloc, the following one causes the issues
Flutter Firebase: I want to stream the details of the logged in user across the app using Stream provider
I'm getting the below error: the return type 'authuser?' isn't a 'user?', as required by the closure's context.
Ad
How to get data from bloc stream from other page in flutter
I have a problem like this : in splash page , i check in sharedpreference to get saved token when login successfully .if i have token , i request
Request an external streaming JSON feed in Node
In node.js i'm using stream-chain and stream-json to request streaming feeds from local and remote
Ad
Blog Categories
Ad