Questions tagged [streaming]

Streaming is the process of delivering digital multimedia content from a provider to a consumer over a network. The provider may have the data stored or may be relaying it from a live source.

In computer science, streaming is the process of sending or receiving a sequence (stream) of data elements made available over time. A stream can be thought of as a conveyor belt that allows items to be processed one at a time rather than in large batches which must be completed in whole before subsequent data transfer occurs.

Streams are processed differently from batch data – normal functions cannot operate on streams as a whole, as they have potentially unlimited data, streams are codata (potentially unlimited), not data (which is finite).

More details in Wikipedia page on streaming media

Streaming Libraries

7307 questions
35
votes
4 answers

Best way to stream files in ASP.NET

What's the best way to stream files using ASP.NET? There appear to be various methods for this, and I'm currently using the Response.TransmitFile() method inside an http handler, which sends the file to the browser directly. This is used for…
Mun
  • 14,098
  • 11
  • 59
  • 83
35
votes
5 answers

Receive audio via Bluetooth in Android

I want to create an Android application that is capable of receiving an audio stream. I thought of using the A2DP profile, but is seems as if Android doesn't support A2DP sink. Looks like there are a lot of people that's searching for a solution for…
Johnny
  • 351
  • 1
  • 4
  • 8
33
votes
5 answers

How to stream MongoDB Query Results with nodejs?

I have been searching for an example of how I can stream the result of a MongoDB query to a nodejs client. All solutions I have found so far seem to read the query result at once and then send the result back to the server. Instead, I would…
Jan Algermissen
  • 4,930
  • 4
  • 26
  • 39
33
votes
4 answers

Using FFMPEG to stream continuously videos files to a RTMP server

ffmpeg handles RTMP streaming as input or output, and it's working well. I want to stream some videos (a dynamic playlist managed by a python script) to a RTMP server, and i'm currently doing something quite simple: streaming my videos one by one…
kketch
  • 673
  • 1
  • 7
  • 10
32
votes
8 answers

How could I play a shoutcast/icecast stream using HTML5?

Is it possible to play a shoutcast/icecast stream using HTML5? If so, how should I implement it?
Cy.
  • 2,125
  • 4
  • 26
  • 35
32
votes
1 answer

WebAPI Request Streaming support

I am writing an ASP.NET Web API application that requires me to accept a file upload and forward that file on to another HTTP endpoint. I am concerned that if many users try to upload a 100MB file each (which is a valid use case) then my application…
Gavin Osborn
  • 2,593
  • 3
  • 27
  • 42
31
votes
4 answers

Random access to gzipped files?

I have a very large file compressed with gzip sitting on disk. The production environment is "Cloud"-based, so the storage performance is terrible, but CPU is fine. Previously, our data processing pipeline began with gzip -dc streaming the data off…
Cera
  • 1,879
  • 2
  • 20
  • 29
30
votes
1 answer

Streaming API vs Rest API?

The canonical example here is Twitter's API. I understand conceptually how the REST API works, essentially its just a query to their server for your particular request in which you then receive a response (JSON, XML, etc), great. However I'm not…
aherrick
  • 19,799
  • 33
  • 112
  • 188
30
votes
1 answer

Streaming videos with ASP.NET Core 3

I'm currently building a API in ASP.NET Core 3 as my first project with .NET Core. I'm currently trying to send a video to my React.js frontend to watch it in the browser. Uploading files and videos does work without a problem and the method you…
Lukas Köhler
  • 403
  • 1
  • 4
  • 8
29
votes
3 answers

Web Audio API: How to play a stream of MP3 chunks

So I'm trying to use Web Audio API to decode & play MP3 file chunks streamed to the browser using Node.js & Socket.IO. Is my only option, in this context, to create a new AudioBufferSourceNode for each audio data chunk received or is it possible to…
Jonathan Byrne
  • 304
  • 1
  • 3
  • 7
29
votes
3 answers

Using Gstreamer to serve RTSP stream, working example sought

We are trying to get Gstreamer working on a DM368 Leopardboard*, we've successfully persuaded it to create a test video (videotestsrc), encode it, and dump it into a file. The pipe that worked is: gst-launch -v videotestsrc num-buffers=100 ! queue !…
John U
  • 2,886
  • 3
  • 27
  • 39
29
votes
6 answers

Apache Storm compared to Hadoop

How does Storm compare to Hadoop? Hadoop seems to be the defacto standard for open-source large scale batch processing, does Storm has any advantages over hadoop? or Are they completely different?
18bytes
  • 5,951
  • 7
  • 42
  • 69
28
votes
5 answers

Lustre, Gluster or MogileFS?? for video storage, encoding and streaming

So many options and so little time to test them all... I wonder if someone has experiences with distributed file systems for video streaming and storage/encoding. I have a lot of huge video files (50GB to 250GB) that I need to store somewhere, be…
Horacio
  • 2,727
  • 5
  • 26
  • 29
28
votes
2 answers

Explaining The Count Sketch Algorithm

Can someone explain how the Count Sketch Algorithm works? I still can't figure out how hashes are used, for example. I have a hard time understanding this paper.
neilmarion
  • 2,372
  • 7
  • 21
  • 36
28
votes
5 answers

Writing a Python Music Streamer

I would like to implement a server in Python that streams music in MP3 format over HTTP. I would like it to broadcast the music such that a client can connect to the stream and start listening to whatever is currently playing, much like a radio…
AJ.
  • 27,586
  • 18
  • 84
  • 94