streaming

Enable Streaming in Biztalk WCF Adapter

人走茶凉 提交于 2020-01-01 03:40:49
问题 I want to send a large blob from biztalk with some metadata to a WCF service. I can control both the service settings and the biztalk settings freely, though I have to use http to reach the service. The blob may well be in the gigabyte range, so the plain WCF BizTalk adapter with BasicHttp or WSHttp is out of question since it serializes the message content into XML. My current scenario would put the metadata as XML into the first part of the biztalk multipart message and the payload into a

Django: return a StreamingHttpResponse on an existing html page

折月煮酒 提交于 2020-01-01 02:58:07
问题 Since it is better to have a single question for each issue, be patient if is similar to another part of another my question related to the same project. The situation: I have a form on html in which I can set a number and when it is submitted, it is call views.stream_response which pass the value to stream.py and it returns a StreamingHttpResponse and "virtual" blank browser page appears ( /stream_response/ ) in which I can see a progressive number every second up to m : 1 2 3 .. m stream.py

How to unzip a big zip file containing one file and get the progress in bytes with swift?

旧巷老猫 提交于 2019-12-31 19:40:07
问题 I try to unzip a big zip file containing only one item (more than 100MB) and like to show the progress during unzipping. I found solutions where the progress can be determined based on the amount of files unzipped but in my case I have only one big file inside. So I guess it must be determined by the amount of bytes unzipped? Actually I am using SSZipArchive with the following code which works fine: var myZipFile:NSString="/Users/user/Library/Developer/CoreSimulator/Devices/mydevice/ziptest

ID3 over audio streaming?

为君一笑 提交于 2019-12-31 04:19:07
问题 I've used AudioStreamer courtesy Matt I need to extract id3 metadata and display the current song playing. 回答1: Since you mention "current song playing", I assume you are trying to play a stream, probably from SHOUTcast or Icecast. These streams don't have ID3 data encoded... they use a separate mechanism. This is fully detailed here: http://www.smackfu.com/stuff/programming/shoutcast.html And here: Pulling Track Info From an Audio Stream Using PHP 来源: https://stackoverflow.com/questions

Create video streaming server in indy

风格不统一 提交于 2019-12-31 03:58:10
问题 I am trying to create video streaming server using Indy Http server. I am using ranged requests to send large files. One chunk of data is 10 Mb long. If video file which requests client is smaller than 10 Mb then it is all ok and vido is played. But if file size is longer than 10 Mb I return first chunk of data. Then client asks me for another chunk of data from the end of file and then my client says that it is unrecognizable video format. Can someone tell me where is problem in my code. my

rtsp streaming on java

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-31 03:36:24
问题 can anyone please help me with a tutorial on how to implement a RTSP streaming server in java using gstreamer. link text 回答1: RTSP build up procedure Server (The code is in C but look at my client code to see how gstreamer-java APIs are used. It should be fairly straight forward) I modified the code from the URL http://www.ip-sense.com/linuxsense/how-to-develop-a-rtsp-server-in-linux-using-gstreamer/ /* GStreamer * Copyright (C) 2008 Wim Taymans <wim.taymans at gmail.com> * Copyright (c) 2012

Desktop TCP Streaming (java)

核能气质少年 提交于 2019-12-31 02:45:28
问题 I want to stream desktop screen captures using sockets. I don't know the exact way to do this, so I went with AWT's robot :) Robot robot = new Robot(); BufferedImage image = robot.createScreenCapture(screenRectangle); The problem is that images coming from the robot are too large to make a stream. A 1440x900 capture is about 0.3MB and I can't transfer it fast enough to create a smooth 24fps stream. Currently I'm using a TCP socket, because I had problems cutting down the image into multiple

How do I stream data to browsers with Hapi?

馋奶兔 提交于 2019-12-30 08:17:14
问题 I'm trying to use streams to send data to the browser with Hapi, but can't figure our how. Specifically I am using the request module. According to the docs the reply object accepts a stream so I have tried: reply(request.get('https://google.com')); The throws an error. In the docs it says the stream object must be compatible with streams2, so then I tried: reply(streams2(request.get('https://google.com'))); Now that does not throw a server side error, but in the browser the request never

Streaming to iphone via m3u8

孤人 提交于 2019-12-30 07:03:48
问题 I've been reading around about streaming on the iphone via m3u8 but I'm not sure if I'm missing something. It is well documented that MPMoviePlayerController will only play full-screen in OS 3.1, so iPhone users are stuck watching the video (listening to audio, in my case) and can't navigate in the application. I haven't found a way to stream via m3u8 like you can, for example, using Matt Gallagher's code and an mp3... any ideas on how to include a m3u8 player that will play embedded? thanks!

Anyone have sample code for doing a “chunked” HTTP streaming download of one web directly to a upload to a separate web server?

无人久伴 提交于 2019-12-30 06:53:10
问题 Background - I'm trying to stream an existing webpage to a separate web application, using HttpWebRequest/HttpWebResponse in C#. One issue I'm striking is that I'm trying to set the file upload request content-length using the file download's content-length, HOWEVER the issue seems to be when the source webpage is on a webserver for which the HttpWebResponse doesn't provide a content length. HttpWebRequest downloadRequest = WebRequest.Create(new Uri("downloaduri")) as HttpWebRequest; using