streaming

How can I tell if Response data has been sent to the client yet in ASP.NET?

I'm writing a helper method in C#/ASP.NET that streams a file to the browser, and I would like to be able to detect if any content has been written to the browser prior to clearing the response headers/content and sending file bytes. If a page that makes a call to my helper method is not set up correctly, it seems like it would be possib...

How to calculate an RTP Timestamp

Hi, I'm confuse with the RTP timestamp. With a PCMU file 8000hz 20ms it is 160Bytes. But, how can I calculate it for a L16Mono file with 44100Hz and also 20ms. VLC says the timestamp is 2205 and the packet size is 4410. Can anybody help me with this calculation? All regards St. ...

Streaming MP3/AAC in Flash over HTTP

I need to be able to play MP3/AAC audio with a custom-built Flash player, embedded in a web page using my standard HTTP server. The loadSound() method seems to work fine for this, but I need to be able to skip the MP3 to unbuffered regions of the audio timeline and to start it streaming/downloading from there. Anyone know how I can acc...

Streaming Response in Rails / Mongrel

I'm trying to send a streaming response in a Rails application, specifically using the multipart/x-mixed-replace content type. As far as I can tell, streaming responses are not supported by Rails since the container tries to buffer and determine the length of the response body before sending anything to the client. Incidentally, we are...

Reading a repeating streaming data source in C#

Hello Everyone, Let's say I have a url to a streaming data source (for example a stream of updated weather data) and I know this url works with GET (I verified that it does return steaming data). The stream is compressed with GZIP, each "message" begins with a 1 byte id, a 2 byte part containing the message length, then another 2...

m3u8 stream not working on jailbroken iPhone

Hi, I have set up wowza on our company server and its working fine, serving m3u8 streams to iPhone 3G, QuickTime player, iPhone simulator etc. Any idea what might be preventing this stream to play on a jailbroken iPhone 3.1.3?? It doesn't give any error just shows up the file like a normal text file. ...

mediafilesegmenter on CentOS?

I'm working on a project where I need to batch convert files to multiple media formats, some of which will be streamed to iPhone. I'm using ffmpeg on a CentOS server, and have been using mediafilesegmenter locally to create m3u8 playlists, and it's gone swimmingly, but, in trying to get the process going on the unix server, I can't seem ...

DirectShow: select a source video stream from an MP4 container

I am building an application that needs to read H264 and AC3 streams from a MP4 container and mux them into a single ISMV file. The source MP4 file contains a number of video streams of different bitrates and a number of audio streams of different languages. When I call IGraphBuilder::AddSourceFilter for my source file, I get a filter t...

Hadoop streaming maximum line length

I'm working on a Hadoop streaming workflow for Amazon Elastic Map Reduce and it involves serializing some binary objects and streaming those into Hadoop. Does Hadoop have a maximum line length for streaming input? I started to just test with larger and larger lines but figured I would ask here first. ...

iPhone - Rejected for not using HTTP Live Streaming protocol

My first application got rejected for not using the HTTP Live Streaming Protocol. Ok, now I have done some reading, and apparently I need to re-encode with Apples 'HTTP Live Streaming Tools' my videos into various files so it can be streamed. So am I correct, that I don't have to change anything in my binary/code to refresh my app or is...

Best technology for web-to-application video chat?

I'm starting to look into technologies to support a project that involves video chat between one party using a web browser and another party using a fat client (technology TBD, per below). I see three components that need to be identified (and I'd prefer to avoid reinventing any wheels): the web client (video recording & playback), fat ...

Java: How to get upload and download speed

I write a program to upload and download files to FTP server but I can not monitor the speed and the transfer rate. I used FTPClient class and its two methods retrievFile() and storeFile() ...

Streaming from webcam on OS X - what technology to use?

I'm building a videoconferencing application in OS X. What technology would be best to use for real-time streaming video/audio captured from webcam/microphone in OS X? So far I was unsuccessful with these methods: - using QTKit I captured the media, but there isn't a way to stream it (without using the QTSS which is too bloaty and hard...

Streaming live H.264 video via RTSP to iphone does work! w/example

Using FFMPEG, Live555, JSON Not sure how it works but if you look at the source files at http://github.com/dropcam/dropcam_for_iphone you can see that they are using a combination of open source projects like FFMPEG, Live555, JSON etc. Using Wireshark to sniff the packets sent from one of the public cameras that's available to view wi...

Stream a song on an iphoe to another iphone?

Hi, Is it possible to write an iphone app that allows a user to pick a song (located on their iphone) and have it play out on an another iphone based on a client-server type relationship over a wifi connection? Thanks for your help, Lee ...

Streaming SAX XML Processing on iPhone

NSXMLParser allows SAX parsing of either an NSData block or from a URL source. The problem is that both these methods require the entire XML source to be known before parsing begins. Suppose I have a stream of XML Data (say a sequence of NSData objects) and I want to process the stream using NSXMLParser or another cocoa class, how can ...

HTC Hero Update 2.1 --> Broke Audio Streaming ????

Hi there, I have installed the 2.1 update on my HTC Hero yesterday, and happy as a puppy I instaleld my streaming app... Just to discover that it won't stream decently... It has to stream an mp3 stream and it works on my ADP 1.6 device, on a Samsung Galaxy S test-device (with 2.1) and on the 2.1 emulator... Logcat is gettign the follwoin...

StreamReader and buffer in C#

I've a question about buffer usage with StreamReader. Here: http://msdn.microsoft.com/en-us/library/system.io.streamreader.aspx you can see: "When reading from a Stream, it is more efficient to use a buffer that is the same size as the internal buffer of the stream.". According to this weblog , the internal buffer size of a Stream...

In Java: why some Stream methods take int instead of byte or even char?

Hi Folks, Why some methods that write bytes/chars to streams takes int instead of byte/char?? Someone told me in case of int instead of char: because char in java is just 2 bytes length, which is OK with most character symbols already in use, but for certain character symbols (chines or whatever), the character is being represented in ...

iPhone - App Rejected again, HTTP Live Streaming 64kbps baseline feed

Thank you for submitting APPNAME_HERE. We have reviewed your application and have determined that it cannot be posted to the App Store at this time because it is not using a baseline stream of 64 kbps for the HTTP Live Streaming protocol to broadcast streaming video. HTTP Live Streaming is required when streaming vide...