http-live-streaming

FairPlay Streaming: Calling copyPixelBufferForItemTime on AVPlayerItemVideoOutput returns NULL

冷暖自知 提交于 2019-11-26 22:02:15
问题 Has anybody had experience using HLS with Fairplay and succeeded in retrieving the pixel buffer? I'm using an AVURLAsset with its resourceLoader delegate set. My AVAssetResourceLoaderDelegate takes care of dealing with the Fairplay process. It displays fine on an AVPlayerLayer , however, when I try to use an AVPlayerItemVideoOutput that is attached to the AVPlayerItem and use copyPixelBufferForItemTime on it, the pixelBuffer returned is always NULL. On the other hand, when I use a non

Realtime Audio/Video Streaming FROM iPhone to another device (Browser, or iPhone)

点点圈 提交于 2019-11-26 19:12:49
问题 I'd like to get real-time video from the iPhone to another device (either desktop browser or another iPhone, e.g. point-to-point). NOTE: It's not one-to-many, just one-to-one at the moment. Audio can be part of stream or via telephone call on iphone. There are four ways I can think of... Capture frames on iPhone, send frames to mediaserver, have mediaserver publish realtime video using host webserver. Capture frames on iPhone, convert to images, send to httpserver, have javascript/AJAX in

Playing m3u8 Files with HTML Video Tag

心已入冬 提交于 2019-11-26 15:45:26
问题 I am trying to use HTTP Live Streaming (HLS) to stream video to my computers and my iPhone. After reading through the Apple 'HTTP Live Streaming Overview' as well as 'Best Practices for Creating and Deploying HTTP Live Streaming Media for the iPhone and iPad', I am a bit stuck. I took my source file (an mkv) and used ffmpeg to encode the file the MPEG-TS format and Apple-recommended settings and a Baseline 3.0 profile: ffmpeg -i "example.mkv" -f mpegts -threads:v 4 -sws_flags bicubic -vf

HTTP LIve Streaming

送分小仙女□ 提交于 2019-11-26 13:58:17
Ok, I have been trying to wrap my head around this http live streaming. I just do not understand it and yes I have read all the apple docs and watched the wwdc videos, but still super confused, so please help a wanna be programer out!!! The code you write goes on the server? not in xcode? If I am right how do i set this up? Do I need to set up something special on my server? like php or something? How do use the tools that are supplied by Apple.. segmenter and such? Please help me, Thanks Jano HTTP Live Streaming HTTP Live Streaming is a streaming standard proposed by Apple. See the latest

How can I get the actual video URL of a YouTube live stream?

 ̄綄美尐妖づ 提交于 2019-11-26 10:19:16
问题 Is there a way to get the HLS URL for YouTube live streams like this one https://www.youtube.com/embed/WVZpCdHq3Qg I\'ve tried the typical get_video_info methods but they don\'t seem to work with live streams. 回答1: You need to get the HLS m3u8 playlist files from the video's manifest. There are ways to do this by hand, but for simplicity I'll be using the youtube-dl tool to get this information. I'll be using this live stream as an example: https://www.youtube.com/watch?v=_Gtc-GtLlTk First,

HTTP LIve Streaming

大憨熊 提交于 2019-11-26 03:46:32
问题 Ok, I have been trying to wrap my head around this http live streaming. I just do not understand it and yes I have read all the apple docs and watched the wwdc videos, but still super confused, so please help a wanna be programer out!!! The code you write goes on the server? not in xcode? If I am right how do i set this up? Do I need to set up something special on my server? like php or something? How do use the tools that are supplied by Apple.. segmenter and such? Please help me, Thanks 回答1