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.

A stream is a series of data elements (characters, bytes or complex packets) which can be accessed or made accessible in a serial fashion. Random access is not possible.

The term stream is also used for streaming media, a method in which the media can be played while it is being accessed (no full download required). The ability to stream media is largely dependent on the container format used. Seeking functionality in streaming media is typically achieved through a different protocol, for example RTSP or HTTP 1.1's Range function.

15725 questions
5
votes
1 answer

Html5 separating audio stream from video stream

Using userMedia I get a stream that contains both video and audio. Is there a way to separate them? Ie out of the one stream get 2 streams one that has only video and the other has only audio?
Ronen Rabinovici
  • 8,680
  • 5
  • 34
  • 46
5
votes
1 answer

Execute long time command in SSH.NET and display the results continuously in TextBox

Is there any way to execute Linux command and display the result in text box in Windows application like PuTTY. For example I'm trying to execute the following commands wget http://centos-webpanel.com/cwp-latest sh cwp-latest using the following…
AAHN
  • 381
  • 1
  • 4
  • 18
5
votes
1 answer

Akka streams - resuming graph with broadcast and zip after failure

I have a flow graph with broadcast and zip inside. If something (regardless what is it) fails inside this flow, I'd like to drop the problematic element passed to it and resume. I came up with the following solution: val flow =…
user3364192
  • 3,783
  • 2
  • 21
  • 30
5
votes
1 answer

'ZipException: invalid code lengths set' when streaming input file to Apache-POI

I'm attempting to create an xlsx workbook object with Apache-POI by passing my .xlsx as a resource stream: Workbook workbook = WorkbookFactory.create(RFQGenerator.class.getResourceAsStream("/com/lumos/xlsx_manager/es/da/template.xlsx")); I can…
Tiocrash
  • 347
  • 5
  • 16
5
votes
1 answer

TokBox Error: OT.Session: Cannot connect, the session is already undefined

I had a similar problem but can't figure out what is happening here. I have a .Net page that contains all the TokBox methods for subscribing. I launch a new window (video monitor for multiple streams), initialize the clients, store their…
Velocedge
  • 1,222
  • 1
  • 11
  • 35
5
votes
2 answers

Java 8 streams - map element to pair of elements

I have a stream of elements. I want to map each element to two different elements of the same type so that my stream will be two times longer in consequence. I did this by concatenating two streams, but I'm wondering is it possible to do this…
k13i
  • 4,011
  • 3
  • 35
  • 63
5
votes
1 answer

Cast HttpPostedFileBase to Stream

I'm working on an ASP.NET MVC project in in C#, trying to get upload a document from a form to my database. I'm currently in my controller where I have imported the file as HttpPostedFileBase, and it has to be converted to type Stream. How could I…
Nuss9
  • 425
  • 1
  • 5
  • 12
5
votes
1 answer

Python Way to check whether internet radio stream is avaliable/live

I work on collecting internet radio stream files such as m3u with a link to stream inside (for example http://aska.ru-hoster.com:8053/autodj). I didn`t find example on how it is possible to check if the link is avaliable/live. Any help is…
Michael
  • 1,170
  • 2
  • 14
  • 35
5
votes
2 answers

Stream data (such as music) using PHP (or another language)

For years, I've been investigating how to create music streams from my computer. I've seen programs, but anything useful I've seen is Windows only (I use a Mac). Eventually, I got interested in how streams work. Is there any way I could create my…
stalepretzel
  • 15,543
  • 22
  • 76
  • 91
5
votes
2 answers

Android: Bluetooth - How to read incoming data

I have successfully paired and connected with a Bluetooth device. I am now interested in receiving all data being transferred between the 2 and seeing whats what. I am getting the input stream from the socket and attempting to read it. I return this…
user7714918
5
votes
1 answer

How can I add in reactive Java a new Object to an existing stream?

Assuming I've already a reactive stream and now I wanna add one more object to this existing stream. How can I do this? This is the approach i found, is this the way to go? import java.util.ArrayList; import java.util.List; import…
botscripter
  • 805
  • 2
  • 11
  • 21
5
votes
1 answer

RTSP to HTTP MJPEG transcoding embedded in website

I have a phone which can display http MJPEG streams, and I would like to get this working. I have a camera here, which only sends out an RTSP Stream, I could convert this with vlc to a http MJPEG stream, but my phone needs this embedded into a…
Manuel
  • 613
  • 1
  • 6
  • 20
5
votes
1 answer

Delphi: TFileStream progress on read/write (without wasting performance)

i want implement a progress event on TFileStream for read/write operation for assign on it a progress bar. I have create a clild class (TProgressFileStream) of TFileStream: unit ProgressFileStream; interface uses System.SysUtils, …
ar099968
  • 6,963
  • 12
  • 64
  • 127
5
votes
1 answer

Streaming microphone input to Google Speech API

I have looked into Google Cloud Speech API and got streaming my microphone working on a Node server. I was then wondering what would be best practice for streaming my microphone from a web frontend? Is it sending an audiostream from getUserMedia to…
Adam Byström
  • 51
  • 1
  • 3
5
votes
0 answers

Reading h264 stream in Python

I am trying to read a video stream from a Parrot Bebop 2 drone. The video stream is written as "socket" to a file as H264 stream. $ ffmpeg -i [STREAM] Input #0, h264, from 'stream_h264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264…
verified.human
  • 1,287
  • 3
  • 17
  • 26
1 2 3
99
100