http-live-streaming

Android HLS- Streaming failed to fetch segment

拥有回忆 提交于 2019-12-11 12:19:22
问题 I write a Videoplayer for Android to stream Video over HLS. On my Server I have the m3u8-Playlist and the .ts-Segments. My Code look like this: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); vidSurface = (SurfaceView) findViewById(R.id.surfView); vidHolder = vidSurface.getHolder(); vidHolder.addCallback(this); } public void surfaceCreated(SurfaceHolder arg0) { try { mediaPlayer = new MediaPlayer(); mediaPlayer

Http Live Streaming - Segmenting mp3 on Linux

独自空忆成欢 提交于 2019-12-11 09:19:49
问题 I simply want to segment an mp3 for HTTP Live Streaming in any linux distro (preferably CentOS) for the purpose of audio streaming to an iOS app. Out of the linux segmenters, I can get the following to compile in CentOS. http://wiki.andy-chu.com/doku.php?id=http_live_streaming (not sure last time this was updated) m3u8-segmenter on github (updated months ago) https://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor [ruby wrappers + c] (last updated 2 years ago, and a

Encrypted Live stream does not play in IOS5 but plays in IOS4

落花浮王杯 提交于 2019-12-11 08:43:52
问题 basically the below shown segmented video files playlist plays fine in IOS4 but not in IOS5, so i guess that there is no error in the encoding, segmenting or the encryption. #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-KEY:METHOD=AES-128,URI="http://xxx.xx.x.xx/ios/keys/key.txt",IV=0x00000000000000000000000000000000 #EXTINF:10, http://xxx.xx.x.xx/ios/myvideo/stream-1.ts #EXTINF:10, http://xxx.xx.x.xx/ios/myvideo/stream-2.ts ... #EXTINF:10, http://xxx.xx.x.xx/ios/myvideo

How can live video be streamed from an iOS device to a server? [closed]

隐身守侯 提交于 2019-12-11 06:18:36
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I want to be able to stream live video from an iOS device to a server. I tried to use an AVCaptureOutput that captures each frame as a CMSampleBuffer and appends it using an AVAssetWriter , but I don't know when or how to take the input from the file and send it to the server. How

AVQueuePlayer sometimes moves to the next AVPlayerItem in its items queue without sending AVPlayerItemDidPlayToEndTimeNotification

雨燕双飞 提交于 2019-12-11 05:30:57
问题 I'm using AVQueuePlayer to play a couple of streams in order. But often the AVQueuePlayer decides to skip to the next song without sending AVPlayerItemDidPlayToEndTimeNotification . Also no error is logged in the player. The streaming protocol used is Http Live Streaming. Could this behavoir be due to a problem with the streams? Has anyone else encountered it? 回答1: Have you checked the status of the item that didn't play? It may have failed, for some reason. 来源: https://stackoverflow.com

Http live streaming: Forcing MPMoviePlayerController to pack headers in the http requests

会有一股神秘感。 提交于 2019-12-11 04:46:55
问题 I am streaming video from a server to iPhone using Http Live Streaming. I need to set certain headers in the http packets that the phone sends to the server. For regular packets, the following code would suffice: NSMutableURLRequest* request = [[[NSMutableURLRequest alloc] initWithURL:url] autorelease]; [request setValue:VALUE forHTTPHeaderField:@"Field You Want To Set"]; Unfortunately, I did not find a similar API for MPMoviePlayerController . In other words, how do I force

Does iOS support anything outside of HTTP Live Streaming?

戏子无情 提交于 2019-12-11 02:55:23
问题 If streaming video to an iOS device, do I have to use HTTP Live Streaming? Is HDS supported? The problem is we have limited storage space and HTTP Live Streaming would require us to have more video files. Can someone give me some elucidation on these matters? 回答1: iOS devices support HTTP progressive download for .mp4 files, the server could be simply Apache or Nginx. The user experience is quite similar to HTTP live streaming. RTSP is also possible. You can migrate live555 to iOS platform as

HLS video is not playing on simulator and real device

喜你入骨 提交于 2019-12-11 02:05:14
问题 I am working on an iOS app that simply plays the live stream HLS video. My issue is that I have used AVPlayer and view controller to set up the playground, All things are working fine the view controller is started, the player is also started but the streaming doesn't start. The stream is a type of .m3u8 that works extremely fine in safari and chrome. The iOS doesn't show me up the video either on simulator or real-device. I have also searched for other SO solutions but neither of them worked

How to Convert Rtp Multicast Stream from DVB-T to HLS?

↘锁芯ラ 提交于 2019-12-11 01:55:15
问题 I use Mumudvb to get signal from dvb-t and dvb-s to RTP Multicast stream and successfully do that, The result stream URL is something like rtp://239.1.2.1:60001. Now i want to know How can i convert RTP (Or UDP)stream to Http Live Stream (HLS)? Edit : I could convert live stream with ffmpeg, but its not stable, when an error occurred in ffmpeg the conversation stop and there is no way to found fail and for example restart ffmpeg, I am looking for new way for that convert operation. Thanks a

Is videoview supports adaptive streaming in android?

ぃ、小莉子 提交于 2019-12-11 00:37:35
问题 In Android is there any way way to support Adaptive Streaming while using Android VideoView . I am playing HLS video inside VideoView . Now i want to change the quality of the video based on the bandwidth. if bandwidth is low then VideoView should play the low bitrate content and if bandwidth is high then VideoView should play the high bitrate video. I have searched a lot but did not get any satisfactory result. I have searched the player like ExoPlayer they are doing this. Please follow the