http-live-streaming

How can we cache HLS video url once streamed

帅比萌擦擦* 提交于 2019-12-10 21:35:39
问题 I am using exomedia library to play video through hls. I want to cache video as the video gets streamed. AndroidVideoCache library do this job well but it doesn't support HLS . 回答1: It can be done by configuring the okhttp client used by the Exomedia library. First we need provide custom renderbuilder to emvideoview by using setVideoUri(uri,renderbuilder) method. In order to provide custom hls render builder we need to override HlsRenderBuilder class and override createDataSource method. Here

How to play .m3u8 or .ts file in iOS?

人走茶凉 提交于 2019-12-10 19:05:51
问题 I have create one iOS application in xCode 4.5.1 . The main purpose of this applciation is the playing .m3u8 video file. I have add one .m3u8 file with all segment(.ts) in our local resource bundle. So, how to play this file in iPhone locally using MPMoviePlayerController or UIWebView ? And, Can we modify or not this file after the download from the server? If possible then how to do it? pls tell me, any one known... 回答1: You will only be able to play the HLS content if it's being served over

Does android mediaplayer supports HLS audio streams?

久未见 提交于 2019-12-10 18:37:48
问题 we have already developed an application which plays mp4 audio streams. Now we want to replace those mp4 streams with HLS streams(.m3u8) as IOS has out of the box support for playing HLS streams. Now we have tried playing streams with android 5.1 and 6.0 devices and it appears to have HLS support with native android media player. But on some of the 4.4 version devices we saw mediaplayer became unresponsive while doing operations like seek() etc. Can anyone confirm whether native android

Playback of segmented hls stream with m3u8 playlist

為{幸葍}努か 提交于 2019-12-10 18:33:08
问题 Can mediaelement player play a segmented mpegts hls stream defined in an m3u8 playlist and if so could you show the code to do this. In my case there is a test.m3u8 playlist on a webserver: #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:7291 #EXTINF:12, test-7291.ts #EXTINF:12, test-7292.ts #EXTINF:12, test-7293.ts #EXTINF:12, test-7294.ts #EXTINF:12, test-7295.ts #EXTINF:12, test-7296.ts #EXTINF:12, test-7297.ts #EXTINF:12, test-7298.ts #EXTINF:12, test-7299.ts #EXTINF:12, test-7300

Apple policy for http live streaming apps

江枫思渺然 提交于 2019-12-10 18:33:04
问题 Here are the requirement for apps which need take the http live streaming technology, If your app delivers video over cellular networks, and the video exceeds either 10 minutes duration or 5 MB of data in a five minute period, you are required to use HTTP Live Streaming. (Progressive download may be used for smaller clips.) If your app uses HTTP Live Streaming over cellular networks, you are required to provide at least one stream at 64 Kbps or lower bandwidth (the low-bandwidth stream may be

AVAssetResourceLoaderDelegate not being called

谁说胖子不能爱 提交于 2019-12-10 17:34:57
问题 I've been trying to get some messages back on the AVAssetResourceLoaderDelegate protocol but it never seems to get called. I've verified that everything is happening on the main thread; from creation of AVURLAsset , creation of the AVPlayerItem , creation of the delegate, and the delegate queue is set to the main thread. I'm trying to stream web-hosted MP4 content and unencrypted HLS content. My declarations: @property (readwrite, strong) AVPlayer* player; @property (strong) AVPlayerItem*

Failed to compile HTTP-Live-Video-Stream-Segmenter-and-Distributor

一笑奈何 提交于 2019-12-10 10:52:58
问题 I am running on Ubuntu 11.10 with intention to compile HTTP Live Video Stream Segment and Distrbutor. By following instruction from here, I manage to setup FFMpeg accordingly. But run into tihs error when I tried to configure it. gcc -v -Wall -g live_segmenter.c -o live_segmenter \ -lavformat -lavcodec -lavutil -lvorbis -ltheora\ -lbz2 -lm -lz -lfaac -lmp3lame \ -I/tmp/old_ffmpeg/include \ -L/tmp/old_ffmpeg/lib This following is the error message: Using built-in specs. COLLECT_GCC=gcc COLLECT

App Rejected for not using HTTP Live Streaming Protocol

試著忘記壹切 提交于 2019-12-10 10:20:06
问题 Do I need to make any code-level changes to play my videos over HTTP Live Streaming protocol? or is it more a server issue, where i need to re-encode the videos etc? We've reviewed your application, but cannot post this version to the App Store because it is not using the HTTP Live Streaming protocol, which is required for broadcasting streaming video over the cellular networks for longer than ten minutes. We have included additional details below to help explain the issue, and hope you’ll

Is there a way to add support for HLS in desktop Chrome/HTML5 player?

孤人 提交于 2019-12-10 00:52:14
问题 Desktop Chrome and FF do not support HLS. I know there is a plugin available to add HLS support to flash. Is there such plugin or technique available to enhance HTML5 on browsers which dont have HLS support yet? 回答1: Not only it is possible, but it's been done numerous times. There are several open and closed source solutions available. A quick github search gave me this one. https://github.com/RReverser/mpegts EDIT: New/better option just released http://engineering.dailymotion.com

Using OpenSSL to decrypt a .ts file

99封情书 提交于 2019-12-09 23:08:22
问题 Everything is in the same directory. M3u8 File : #EXTM3U #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-KEY:METHOD=AES-128,URI=MyKeyFile.key #EXTINF:10, aes_ts_files/filesequence0000000.ts #EXTINF:10, aes_ts_files/filesequence0000001.ts #EXTINF:10, aes_ts_files/filesequence0000002.ts #EXTINF:10, aes_ts_files/filesequence0000003.ts #EXTINF:10, aes_ts_files/filesequence0000004.ts #EXTINF:10, aes_ts_files/filesequence0000005.ts #EXTINF:10, aes_ts_files