stream Questions

5

I've tried settings the audio stream of the media player in my application using the following code but when I do this I hear no sound in the emulator. If I don't set the stream for the player then...
Boccherini asked 14/8, 2011 at 13:36

5

Solved

I create a MemoryStream, pass it to CryptoStream for writing. I want the CryptoStream to encrypt, and leave the MemoryStream open for me to then read into something else. But as soon as CryptoStrea...
Apiculture asked 1/11, 2013 at 22:47

1

Solved

The most straightforward monadic 'stream' is just a list of monadic actions Monad m => [m a]. The sequence :: [m a] -> m [a] function evaluates each monadic action and collects the results. A...
Readership asked 11/6, 2018 at 6:37

3

Solved

I' trying to make my Parrot AR Drone 2.0 work with a Windows machine. I have a simple C# application to control it - but now i want the video stream inside of my application. If I execute ffplay tc...
Deification asked 7/1, 2013 at 18:33

1

Solved

How can I capture the output of an ongoing system() operation and stream it to the Shiny front-end in "real-time"? intern=T captures the entire output in a character vector, but I would prefer to...
Gamete asked 1/6, 2018 at 20:29

0

Server sends video as arrayBuffers and streams them to client using websockets. On the client side i receive arrayBuffers in real time. So, is there any way to launch video stream using these array...
Allegory asked 31/5, 2018 at 13:31

2

Solved

The streaming package defines a Stream type that looks like the following: data Stream f m r = Step !(f (Stream f m r)) | Effect (m (Stream f m r)) | Return r There is a comment on the Stream...
Trimurti asked 29/5, 2018 at 13:17

1

Solved

I am reading a constant stream of data coming from a device via Bluetooth. I'm wondering how I can convert this data to a string and print it out? The buffer will contain an ASCII string but...
Mauro asked 25/5, 2018 at 17:57

1

please help! [+] What I have: A lot of blobs in every bucket. Blobs can vary in size from being less than a Kilo-byte to being lots of Giga-bytes. [+] What I'm trying to do: I need to be able ...
Vortex asked 16/5, 2018 at 21:34

1

Solved

I have a Kafka producer which is producing messages at high rate (message key is let us say a username and value is his current score in a game). The Kafka consumer is relatively slow in processing...
Bjorn asked 27/4, 2018 at 14:56

2

Solved

Is there a way to read a table from a network url or from a runpipe external command? It seems that DataFrame.readtable only supports reading from file. For example in R we could do: df = read.ta...
Benioff asked 19/5, 2017 at 7:37

1

Solved

I'm hoping to use a Google Sheets CSV as a data source. I'd like to fetch the CSV data on the client, then convert into JSON. I'm able to fetch the CSV, which returns a ReadableStream. However, I'...
Taradiddle asked 13/5, 2018 at 21:49

2

I am trying to re-upload a stream that I just retrieved. It shouldn't really matter that I am using AWS I believe... Maybe my understanding of working with streams is just too limited? :-) I am us...
Strum asked 17/3, 2017 at 15:46

1

I want to return a file stream using SwashBuckle [System.Web.Http.HttpGet] [System.Web.Http.Route("Files/{uid}/file")] [SwaggerResponse(HttpStatusCode.OK, Type = typeof(Byte[]))] public HttpRe...
Ketti asked 10/5, 2018 at 10:47

2

I want to upload files in chunks to a URL endpoint using guzzle. I should be able to provide the Content-Range and Content-Length headers. Using php I know I can split using define('CHUNK_SIZE',...
Origami asked 19/7, 2017 at 6:37

1

Solved

With this code: using (var stream = new MemoryStream()) { thumbnail.Save(stream); // you get the idea stream.Position = 0; // <- is this needed? WriteStreamToDisk(stream); } If I have a me...
Abshire asked 8/5, 2018 at 17:33

3

Solved

I’ve been reading on InputStream, FileInputStream, ByteArrayInputStream and how their use seems quite clear (output streams too). What I’m struggling is to understand the use of FilterInputStream ...
Walczak asked 5/7, 2013 at 18:5

2

Solved

If I have a program called simplecalc.pl: use v5.10; use warnings; use strict; # SIMPLE CALCULATOR # Usage: simplecalc.pl <n1> <n2> [<verbose> <logswitch>] # Example Usag...
Cenacle asked 23/4, 2018 at 10:46

1

Why use InheritedWidget while we can use Broadcast Streams | StreamBuilder and Static Variables? Why should we bother about redux, scoped model, etc. while we can have a simple and clean arc...
Chintzy asked 21/4, 2018 at 17:12

1

How to parse JSON being downloaded as a stream on Swift? The stream gives incomplete JSON data each time. This is because I have to download MBs of data, the main component of which is a long array...
Suppose asked 24/8, 2016 at 12:4

1

Solved

I am trying to use Flask to show a stream of OpenCV images. I am using ROS and the Zed stereo camera. The issue is that the flask server only shows a broken image icon. I am guessing that the iss...
Schoenfelder asked 20/4, 2018 at 10:43

2

I want to create a program that will stream video from my USB webcam over the internet to a web page. Currently, I use a webservice that when triggered, calls fswebcam to capture an image, save to...
Inroad asked 2/9, 2015 at 7:46

2

Solved

I have a code where the NodeJS server reads a file and streams it to response, it looks like: var fStream = fs.createReadStream(filePath, {'bufferSize': 128 * 1024}); fStream.pipe(response); The...
Moina asked 2/8, 2012 at 19:8

2

Solved

The InputStream of my Process should attach and detach whenever the user wants to see it or not. The attaching works fine, but the detach fails. Default answer to interrupt the readLine() method is...
Tessy asked 4/4, 2018 at 13:59

3

Solved

I know that I can create a PHP stream from a filename (a real one, or an URL), by using the fopen function: $stream = fopen('php://temp', 'r'); The resulting stream ($stream) is then a resource of...
Llanes asked 30/3, 2018 at 12:50

© 2022 - 2024 — McMap. All rights reserved.