streaming

synchronizing audio over a network

故事扮演 提交于 2020-02-26 04:31:00
问题 I'm in startup of designing a client/server audio system which can stream audio arbitrarily over a network. One central server pumps out an audio stream and x number of clients receives the audio data and plays it. So far no magic needed and I have even got this scenario to work with VLC media player out of the box. However, the tricky part seems to be synchronizing the audio playback so that all clients are in audible synch (actual latency can be allowed as long as it is perceived to be in

Streaming server or http server

这一生的挚爱 提交于 2020-02-25 22:36:31
问题 We’re taking in mind the possibility of using a media server in order to build our on-premise media service. We’re only focusing at Video- and Audio-on-Demand use-case. Live stream is out of our scope right now. I mean, we’re need to serve pre-registered videos and audios with a good performance. We’ve played with ant community server, but we’ve some issues we’re not quite figure out. We’ve tested two scenarios: to serve a video hosted on a straight http server (httpd) to serve a video behind

Reordering segments in dash segment list

孤人 提交于 2020-02-25 05:01:25
问题 I have a live dash manifest that looks like this. <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="" maxSegmentDuration="PT4S" minimumUpdatePeriod="PT595H" minBufferTime="PT2S" type="dynamic" availabilityStartTime="2016-11-20T17:00:54Z" publishTime="2016-11-20T17:00:54Z" profiles="urn:hbbtv:dash:profile:isoff-live:2012,urn:mpeg:dash:profile:isoff-live:2011" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" timeShiftBufferDepth=

Send data in chunks with nodejs

拜拜、爱过 提交于 2020-02-08 05:43:07
问题 I'm quite new to nodejs and I'm working on a backend for an Angular 4 application. The problem is that the backend is quite slow to produce the whole data for the response and I'd like to send data over time as soon as it's available. I was reading about RxJS but I can't really figure out how to use it in node, can you please help me? 回答1: Maybe you are looking for a way to stream the data Express Normally you respond with res.send(data) , it can be called only once. If you are reading and

How Do I Stream Video From My USB Webcam To A Remote HTML Page

匆匆过客 提交于 2020-01-31 03:38:27
问题 I want to create a program that will stream video from my USB webcam over the internet to a web page. Currently, I use a webservice that when triggered, calls fswebcam to capture an image, save to data store, convert to base64 binary and send that data over to the HTML page where it is rendered into the 'src' attribute of 'img'. The HTML page has JavaScript that calls this service once per second. As you can tell this is a horrible way to do this. I would rather have a proper stream if I can.

How to stream an mp3 file from a URL without using much RAM?

拜拜、爱过 提交于 2020-01-25 21:51:13
问题 I have a method to stream mp3 from url sources. In this method, the file begins downloading and at the same time the downloaded bytes are stored in a MemoryStream. But I realized that this method is not good. Because the RAM usage is approximately 50 mb when the mp3 file is being played. So I want to make it without storing in MemoryStream. I tried storing the downloaded bytes in a temporary file, but it didn't worked. How to fix it to work with FileStream? It works good using MemoryStream:

Cannot use Apache Commons FileUpload with Spring Boot multipart.resolve-lazily

做~自己de王妃 提交于 2020-01-25 10:01:08
问题 I'm building a REST API using Spring Boot framework. There is one endpoint where users will be able to upload a large file (~1GB). I'm using Streaming API from Apache Commons FileUpload. I only want to enable streaming only at that endpoint. Therefore, I configure my Spring Boot as follow: spring.servlet.multipart.enabled = true spring.servlet.multipart.resolve-lazily = true spring.servlet.multipart.max-file-size = 2GB spring.servlet.multipart.max-request-size = 2GB And here is my endpoint:

How can I change the stream my event uses via the YouTube live api?

ぃ、小莉子 提交于 2020-01-25 08:53:25
问题 So I have been looking for a way to get the 16 digit stream name from YouTube and i have finally found out how which is via this line of code -> streamName = returnedStream.getCdn().getIngestionInfo().getStreamName(); stream name is just a String If i try use . setStreamName(); , it does not change the stream name. i tried giving the value of my previous stream I created but the same stays the same. If i try use .setStreamName(); , it does not change the stream name. i tried giving the value

How to consume the download stream from Axios using StreamSaver.js?

↘锁芯ラ 提交于 2020-01-25 00:20:34
问题 On my server-side, which is built using Spring Boot framework, it returns a stream which looks like this: public ResponseEntity<StreamingResponseBody> downloadFiles(@RequestBody DownloadRequest payload) { // Set proper header String contentDisposition = "attachment;filename=download.zip"; // Build the response stream StreamingResponseBody stream = outputStream -> { archiveManagerService.downloadFiles(payload.getArchiveId(), payload.getFiles(), outputStream); }; return ResponseEntity.ok()

Flash streaming player: shoutcast (mp3/aacplus), windows media audio

吃可爱长大的小学妹 提交于 2020-01-23 16:49:45
问题 Is there a flash player that could handle all of the formats mentioned above. Or different players that could handle it? 回答1: http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player.html explains Flash 9's h.264 and aac support. Presumably Flash can play aac audio without h.264 video. Someone wrote an ogg vorbis player in Flash (http://drawlogic.com/2008/10/04/as3-fvorbis-flash-ogg-vorbis-player/) and the performance was acceptable. It's not written in ActionScript. It's