http-live-streaming

How to make a HLS video player from my custom make DASH like video player?

牧云@^-^@ 提交于 2020-01-06 07:13:16
问题 I'm making a web video player which can change the video type from 2d to 3d, video quality from 2160p to 144p, video fps from 60fps to 5fps, audio from english to tamil and subtitles from off to other languages. I cannot make my video player work on IOS because IOS supports HLS only. So I need guidance to how my make a HLS video player which will operate EXACTLY like my DASH like video player. I was able to make my DASH like video player from this demo: http://nickdesaulniers.github.io/netfix

How to use HLS timeshifting feature in iOS(AVFoundation or other 3rd party libraries) like ExoPlayer in Android?

荒凉一梦 提交于 2020-01-06 07:07:28
问题 I want to use timeshifting (for live streaming videos) feature in iOS player,But I found no library that support timeshifting. I read documents of lots of libraries like these: 1-piemonte 2-kaltura In Android, google introduce ExoPlayer that give us this feature easily. How can I implement this feature in iOS(by swift)? or is there any library that implement that? 回答1: Try this: @IBOutlet weak var liveView: UIView! //Add `UIView` on your ViewController and create @IBOutlet for it. var player

Does v3 Google Cast receiver parse alternative audio tracks from an hls master playlist automatically or do I have to define them in the sender?

柔情痞子 提交于 2020-01-04 14:04:06
问题 I'm trying to get a multi-audio HLS stream working on a v3 Google Cast custom receiver app. The master playlist of the stream refers to several video renditions of different resolution and two alternative audio tracks: #EXTM3U #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="de",NAME="TV Ton",DEFAULT=YES, AUTOSELECT=YES,URI="index_1_a.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="de",NAME="Audiodeskription",DEFAULT=NO, AUTOSELECT=NO,URI="index_2_a.m3u8" #EXT-X-STREAM-INF:AUDIO="aac"

AVPlayer making extraneous http request prior to playback of HLS / AES-encrypted video

一个人想着一个人 提交于 2020-01-02 06:12:10
问题 We're using AVPlayer on iOS 8.4 to play HLS, AES-encrypted video. Our .m3u8 files include the url of the license server, e.g.: EXT-X-KEY:METHOD=AES-128,URI="https://...." In our iOS application, we're using AVAssetResourceLoaderDelegate method resourceLoader:shouldWaitForLoadingOfRequestedResource: to intercept the request that gets sent by the AVPlayer (or some object within AVFoundation) to the license server. Within that method, we add a token (required by the license server) to the

Does the Chromecast support casting videos from Reddit? (HLS and Dash videos)

自闭症网瘾萝莉.ら 提交于 2020-01-02 04:51:10
问题 Called proxy with URL http://192.168.xx.xx:8080/3hyw7hwoajn21/HLSPlaylist.m3u8 Called proxy with URL http://192.168.xx.xx:8080/3hyw7hwoajn21/HLS_540_v4.m3u8 Called proxy with URL http://192.168.xx.xx:8080/3hyw7hwoajn21/HLS_AUDIO_160_K_v4.m3u8 Called proxy with URL http://192.168.xx.xx:8080/3hyw7hwoajn21/HLS_224_v4.m3u8 Here's an example Reddit video: https://www.reddit.com/r/me_irl/comments/b3vrs4/me_irl Looking through the JSON, it has a few options for video sources: "reddit_video": { "dash

Using AVPlayer in iOS can you know the current .ts file or the current timestamp from the encoder?

删除回忆录丶 提交于 2020-01-01 12:32:10
问题 Since we are unable to get Closed caption data or subtitle data out of the AVPlayer, we are looking at other trigger methods, such as timecode or at least the knowledge of the .ts file that is currently active. I couldn't find anything in the documentation and the CMTime from the player doesn't give me the timecode that is embedded in the m3u8 files. NSLog(@"%f", CMTimeGetSeconds([mPlayer currentTime] ) ); is not what I'm looking for. #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:562

HLS Metadata ID3 tag not working

江枫思渺然 提交于 2020-01-01 08:50:10
问题 I have a list of audio URLs in a TableView, so every time I tapped on each cell on didSelectRowAt this method will be called func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { // Prepare Audio URL let audioUrl = URL(string: (channelSelected.audioUrl?.addingPercentEncoding(withAllowedCharacters: .urlFragmentAllowed))!) let playerItem = AVPlayerItem(url: audioUrl!) playerItem.addObserver(self, forKeyPath: "timedMetadata", options: .new, context: nil) player =

How to serve HTTP requests over meteor

本秂侑毒 提交于 2020-01-01 03:22:46
问题 I am creating a live streaming application using meteor. Currently I have a need to create a live transcoding option, so I am trying to integrate this node.js module with our meteor application: https://github.com/mifi/hls-vod. However, the way it works is that you actually call the app.get(hls/) from your HTML5 video tag's src. I am wondering if there is a way to expect the call to this get using meteor. Since I can't integrate express with meteor I am having some trouble doing this. I am

Why does it take longer for some internet audio streams to start playing on a Samsung S3?

两盒软妹~` 提交于 2019-12-31 01:06:39
问题 We are experiencing almost the exact opposite of what is mentioned here: Why does it take so long for Android's MediaPlayer to prepare some live streams for playback? I've tested multiple streams but two in particular 1 - http://usa8-vn.mixstream.net:8138 - SampleRate: 32000Hz and Bitrate: 96 kb/s 2 - http://source01.platform02.true.nl:800 - SampleRate: 44100Hz and Bitrate: 128 kb/s The lower bitrate stream starts playing instantly (as soon as the media player is prepared ), while the higher

Downloading and playing offline HLS Content - iOS 10

三世轮回 提交于 2019-12-30 06:43:31
问题 Since iOS 10, Apple has provided the support for downloading HLS (m3u8) video for offline viewing. My question is: Is it necessary that we can only download HLS when it is being played ? Or we can just download when user press download button and show progress. Does anyone has implemented this in Objective C version? Actually my previous App is made in Objective C. Now I want to add support for downloading HLS rather than MP4 (previously I was downloading MP4 for offline view). I am really