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
28
votes
1 answer

iOS RTMP streaming library - LFLiveKit vs VideoCore lib vs alternative

We're using VideoCore lib for a live streaming app and started to reach certain limits e.g. project maintenance, saving the stream, portrait-oriented video formatting, external camera sources, etc. Looking for an alternative iOS RTMP streaming…
Yatko
  • 8,715
  • 9
  • 40
  • 46
28
votes
6 answers

Seeking through a streamed MP3 file with HTML5

Hopefully someone can help me out with this. I'm playing around with a node.js server that streams audio to a client, and I want to create an HTML5 player. Right now, I'm streaming the code from node using chunked encoding, and if you go directly to…
Kyle Slattery
  • 33,318
  • 9
  • 32
  • 36
28
votes
8 answers

Streaming Youtube Videos

I am writing an application to play youtube videos using streaming. First method: I am getting the RTSP URL to the video using GData APIs. Here is the code to play the RTSP url. VideoView mVideoView = new VideoView(this); …
Vinay
  • 4,743
  • 7
  • 33
  • 43
27
votes
1 answer

Video Streaming and Android

Today for one of my app (Android 2.1), I wanted to stream a video from an URL. As far as I explored Android SDK it's quite good and I loved almost every piece of it. But now that it comes to video stream I am kind of lost. For any information you…
Spredzy
  • 4,982
  • 13
  • 53
  • 69
27
votes
2 answers

Is WebRTC really peer-to-peer protocol?

WebRTC is a peer-peer communication protocol. I wonder, is it really peer-peer if it does require a web server? For example, to create a "room" one has to create it at apprtc.appspot.com or https://hello.firefox.com/something.
Incerteza
  • 32,326
  • 47
  • 154
  • 261
26
votes
3 answers

Save continuous RTSP stream to 5-10 minute long mp4 files

How can I keep the flow (protocol rtsp, codec h264) in file (container mp4)? That is, on inputting an endless stream (with CCTV camera), and the output files in mp4 format size of 5-10 minutes of recording time. OS: debian, ubuntu Software: vlc,…
Ruslan Sharipov
  • 703
  • 2
  • 7
  • 10
25
votes
4 answers

Convert RTSP to RTMP stream

I have an IP camera which is streaming via RTSP and RTP. Ideally I would like to convert RTSP to RTMP to stream it to LiveStream or similar streaming services. Can anyone please let me know how can I convert RTSP to RTMP for the purpose of streaming…
Namesniper
  • 355
  • 1
  • 4
  • 10
25
votes
3 answers

How to stream large Files using JAXB Marshaller?

The Problem I'm facing is how to marshall a large list of objects into a single XML File, so large I can not marshall the complete list in one step. I have a method that returns these objects in chunks, but then I marshall these using JAXB, the…
Mike Rohland
  • 393
  • 1
  • 4
  • 9
24
votes
5 answers

"The remote host closed the connection" in Response.OutputStream.Write

This code streams large files to our users: // Open the file. iStream = new System.IO.FileStream(filepath, System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.Read); …
spaetzel
  • 1,252
  • 3
  • 16
  • 23
24
votes
2 answers

How do I dispose my filestream when implementing a file download in ASP.NET?

I have a class DocumentGenerator which wraps a MemoryStream. So I have implemented IDisposable on the class. I can't see how/where I can possibly dispose it though. This is my current code, which performs a file download in MVC: using…
fearofawhackplanet
  • 52,166
  • 53
  • 160
  • 253
24
votes
2 answers

HTTP Headers for Unknown Content-Length

I am currently trying to stream content out to the web after a trans-coding process. This usually works fine by writing binary out to my web stream, but some browsers (specifically IE7, IE8) do not like not having the Content-Length defined in the…
jocull
  • 20,008
  • 22
  • 105
  • 149
23
votes
3 answers

Streaming a CSV file in Django

I am attempting to stream a csv file as an attachment download. The CSV files are getting to be 4MB in size or more, and I need a way for the user to actively download the files without waiting for all of the data to be created and committed to…
frederix
  • 1,662
  • 5
  • 18
  • 29
23
votes
3 answers

HTML5 audio streaming: precisely measure latency?

I'm building a cross-platform web app where audio is generated on-the-fly on the server and live streamed to a browser client, probably via the HTML5 audio element. On the browser, I'll have Javascript-driven animations that must precisely sync with…
Daniel Griscom
  • 1,834
  • 2
  • 26
  • 50
23
votes
6 answers

How to stress-test video streaming server?

Does anyone know any good tool that I can use to perform stress tests on a video streaming server? I need to test how well my server handles 5,000+ connections.
Alvin
  • 10,308
  • 8
  • 37
  • 49
23
votes
1 answer

Is it necessary to close the Stream of WebInvoke method

I have a service interface with a method that has a parameter of type Stream. Should i close the stream after i have read all data from this stream or is this done by the WCF Runtime when the method call is completed? The most examples i have seen,…
Jehof
  • 34,674
  • 10
  • 123
  • 155