stream

WCF and ExtJS FileUpload

I been trying to upload File throught WCF using ExtJS here a snippted of my code browseFile = new Ext.ux.form.FileUploadField({ id: 'form-file', name: 'BrowseFile', fieldLabel: 'Browse', allowBlank: false, maxLength: 8000, emptyText: '' }); added to the form and use the fileupload:true property too but havent been...

c# audiostream listening

Does somebody know a good library for making a radio station app to listen livestream radio's from the web in c#? ...

Is calling MemoryStream.ToArray() dangerous after disposing?

In the below code, is there any chance the GC will clean out the MemoryStream so that ToArray will fail, since it is outside the using statement? private static byte[] getBytes() { MemoryStream ms = null; using (ms = new MemoryStream()) { // ... } return ms.ToArray(); } ...

php streaming or buffering mp3 file problem.

I built a mp3 playing website. I use a flash mp3 player to play the mp3 file.It can play, but it can not load the correct time and not stream and buffer the mp3 file located on my server. It can play the mp3 file correctly if the url is from other site, like Google music. I think the important problem is the header output of the mp3 f...

Application.GetResourceStream throws IOException

I'm working on a Version History dialog box, and I created a sample to test it. It seems, however, that the sample can't find the HTML file: var dlg = new VersionHistoryDialog(); var uri = new Uri(@"pack://application:,,,/VersionHistory.html", UriKind.Absolute); var source = Application.GetResourceStream(uri).Str...

.NET equivalent of Delphi IStream initialization

I have the following Delphi code: var Stream: TMemoryStream; StreamI: TStreamAdapter; OleStream: IStream; begin Stream:= TMemoryStream.Create; Stream.LoadFromFile(filename); StreamI:= TStreamAdapter.Create(Stream, soOwned); VSPDFViewer1.LoadStream(StreamI as IStream, ''); end; Which actually passes an IStream object to a COM c...

c++ socket stream api

I'm using what looks to be a real nice API for streaming sockets found here: http://www.pcs.cnu.edu/~dgame/sockets/socketsC++/sockets.html. I'm having trouble accessing the IP of the connected user because its a private member of a class "Socket" that is used within another class "ServerSocket". My program looks exactly like the demo on...

How does websites get live Channel coverage

there are thousand of websites on the internet that have live coverage of the channels ,cricket matches.how does they do that? from where does they pick the coverage? i am asking this because i have no idea . any input will lead me to go further in the implementation i want to implement this in an asp.net website ...

Get image from canvas in C#

I have a canvas (HTML5) on my website and I would like to get the content of this canvas and convert it into a file stream in my C# code behind and save this file stream as an image. Is this possible in C# or is there a workaround? Thanks ...

Are video streams(e.g. MJPEG streams) always connection Oriented ?

Is there any stream that relies on Connectionless protocols like UDP? ...

how to stream live audio video using java j2ee?

I wanted to stream live audio & video from one client to another over the internet, iam using websphere community edition as my server, and iam supposed to do this task using java j2ee technologies. iam doing this as a part of the project for IBM TGMC. pls suggest which particular api or tech is best suited for my purpose? i googled out...

How to peek for icecast [relays'] metadata without real "data" connection?

I have an icecast2 relay and want to collect some stats about tracks being transfered. I'm now peeping into relayed streams themselves with twisted shoutcast procol client, but that's prone to errors, mangles server stats and imposes unnecessary load on server. ...

Reading Remote MP3 File's ID3 Tags using Java

I am looking for a way to read the ID3 tags from an MP3 file on a remote server without actually downloading the file. I have seen libraries like JAudioTagger and Entagged, but both seem to require a file object and not a URL or InputStream, which I know how to get with a remote file. Is there another library that can do this? Or is ther...