streaming

Soundcloud Streaming on Safari Mobile

隐身守侯 提交于 2019-12-24 10:38:28
问题 I tried to use this snippet from the Soundcloud API: <script src="http://connect.soundcloud.com/sdk.js"> <script> SC.initialize({ client_id: 'YOUR_CLIENT_ID' }); # stream track id 293 SC.stream("/tracks/293", function(sound){ sound.play(); }); </script> It works in any browsers aside from Safari mobile, both on iPhone and iPad, where the music stream does not play at all. What am I doing wrong? (I replaced track id and client id with my own details) Thanks 回答1: In mobile safari the play has

How to Hook up the HTTP Streaming Server APE (Ajax Push Engine) to a Computation-Expensive Server

馋奶兔 提交于 2019-12-24 10:36:25
问题 I've been studying the APE (Ajax Push Engine - http://www.ape-project.org/) for several weeks, and I have read all the documentation they have at the website. The APE project claims " real-time data streaming ", but I just cannot find a good example for that. I'm kind of frustrated with their documentation. The possible wikipage I read at their website: http://www.ape-project.org/wiki/index.php/Tutorial:How_to_write_an_application_with_APE But again, it just has some concepts, not detailed

State management not serializable

不问归期 提交于 2019-12-24 08:12:19
问题 In my application, I want to keep track of multiple states. Thus I tried to encapsulate the whole state management logic within a class StateManager as follows: @SerialVersionUID(xxxxxxxL) class StateManager( inputStream: DStream[(String, String)], initialState: RDD[(String, String)] ) extends Serializable { lazy val state = inputStream.mapWithState(stateSpec).map(_.get) lazy val stateSpec = StateSpec .function(trackStateFunc _) .initialState(initialState) .timeout(Seconds(30)) def

Bigquery streaming data delays

人盡茶涼 提交于 2019-12-24 07:44:13
问题 I'm streaming data into a bigquery table, for some reason last few times I checked the data isn't available instantly. The streamed data eventually is available to query, sometimes it looks like it's more than an hour out of sync. But data does eventually appear after some delays. Is this expected? If it is, what are the ways around it? The table is partitioned by date and we are not "load"-ing data into any particular partition, we are streaming data only for the current day. Update: When I

Bigquery streaming data delays

只愿长相守 提交于 2019-12-24 07:44:04
问题 I'm streaming data into a bigquery table, for some reason last few times I checked the data isn't available instantly. The streamed data eventually is available to query, sometimes it looks like it's more than an hour out of sync. But data does eventually appear after some delays. Is this expected? If it is, what are the ways around it? The table is partitioned by date and we are not "load"-ing data into any particular partition, we are streaming data only for the current day. Update: When I

calculating filesize of a response?

时光毁灭记忆、已成空白 提交于 2019-12-24 07:26:13
问题 im tryingto code a script to do dynamic transcoding of video and audio (likely just audio for now) and streaming to mobile devices, currently im using the script posted elsewhere on here (How do you convert audio files (on the fly) to the browser?) but this seemsto have problems as i do not know how to calculate the filesize of the outputted data, can anyone suggest how i might calculate this dynamicly and pass the correct header? 回答1: (Updated with final solution to specific problem at

validate MPD file - using MPEG-DASH

谁说胖子不能爱 提交于 2019-12-24 06:07:17
问题 I have just started using MPEG-DASH (from the client side), following the c057623_ISO_IEC_23009-1_2012 spec. Does anyone know if there is a public lib or open source to validate MPD file I receive? I have no problem in processing the xml. Any help will be appreciated. 回答1: You may want to check this MPEG-DASH MPD Validator The DASH Industry Forum provides great software resources for all things MPEG DASH. 回答2: Here another MPD Validator from dashif: DASHIF Validator. In respect to the error

Trying to stream 2 way audio over TCP?

这一生的挚爱 提交于 2019-12-24 04:18:17
问题 I'm trying to make a video conferencing application (written in c#) that would allow 2 users to video conference using TCP. In addition, users can text chat separately. Right now, I have a working video stream, yet don't have the audio working yet. I'm unsure of how to access the microphone, stream it using TCP, and then play it on the other user's speakers as I'm relatively new to c# and brand new to using media. If anyone could point me towards sample code, help me know how to access the

Streaming video file?

為{幸葍}努か 提交于 2019-12-24 04:10:23
问题 I need to stream an flv file. Streaming should look like live streaming, and I there should be a way to change the target file. Sorry for my poor English. 回答1: If by "streaming" you mean "showing a flash-video clip", flv-streaming isn't really streaming, but it's a normal file transfer, with the flash player starting playback even if the file isn't completely downloaded to the client. Time seeking is implemented in a standard HTTP way, with a file download offset - if you scroll the video

How to display Motion JPEG binary data stream with Angular/Ionic/JS?

ぃ、小莉子 提交于 2019-12-24 02:28:08
问题 I'm coding an app for a device, such device will receive a POST request, and send back a multipart/x-mixed-replace binary data stream. I must display such stream on one section of my app's home page. I searched through, there's very limited resource on such case. So far, I found that if the Motion JPEG is sent from a specific URL, then maybe it's possible to use iframe/img tag to display it. However, my case is different, it seems I have to parse such binary stream then create an Observable