iPhone Live Video Stream Media Player -


I'm hoping to create an app that shows live videos in the streams that have been labeled and placed on top of its buttons I seeing .

From its research and testing of the HTI Video Streaming feature (available since the iPhone 3.0 OS), it seems that you create a webview which indicates the index HTML in which the converting video stream is , And it displays a quicktime video in the app, that means I do not have control over the media player which has been opened. Does anyone know how you can control it?

I know that the Movie Player sample code of Apple shows you how ideas are placed on a media player video, but how can this be done with the http live stream?

Thank you in advance.

Now there is a problem displaying a scene / label of the movie player at the top of the / button apple In the Movie Player sample project, you can add a scene above the video with this code:

  Movie Player AppDigit * App Delegate = (Movie Player Appendage *) [[UIApplication Shared Application]]]; // Launch a new MP MPV Player Controller object with the specified URL, and play the movie [app deliite Initplelamovi [SP local movie url]]; NSArray * windows = [[UIApplication shared application] window]; If (counting windows)> 1) {// Find Movie Player window UI window * Movie player window = [[UIPPPlay Shared Application] Keyword]; // Add our overlay footage to the movie player's subwives so that it can be displayed above it. [Movie PlayerWindows Adsview: Self. Overlayviews]; }  

The overlayview is a sequence that contains the requested labels and buttons. However, when I apply the same code to the movie url containing the .m3u8 file, this overlay view, e.g.

  NSURL * newMovieURL = [NSURL URLWithString: @ "http: // does not display devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8">]; If (movieURL) {NSLog (@ "Movie URL"); If (scheme of [movie url]) // check sanitary url {nslog (@ "movie url scheme"); [App deliitte init endplaimovi: pneumoviral]; NSArray * windows = [[UIApplication shared application] window]; NSLog (@ "Window Count:% d", [Windows Count]); If ([windows count]> 1) {UIWindow * moviePlayerWindow = [[UIApplication shared application] keyWindow]; [Movie PlayerWindows Adsview: Self. Overlayviews]; }} And NSLog (@ "! [Movie URL scheme]"); } And NSLog (@ "! Movie URL");  

The number of windows coming back is only 1, as opposed to 2 in the previous example, even if the movie plays. When I check the URL to see if it was ok, then the movie URL is empty, but it still runs streaming content. I tried to remove the check that the window count was greater than 1, but it still did not display the overlay sequence.

Do anyone know any way around this? Thanks


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -