Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8369521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:40:03+00:00 2026-06-09T13:40:03+00:00

So I am trying to livestream a video using the http live stream example

  • 0

So I am trying to livestream a video using the http live stream example apple provides. The program compiles but, it wont display anything on my iphone. Below is the code:

Thank you.

  NSURL *url = [NSURL URLWithString:@"<#http://developer.apple.com/resources/http-streaming/examples/advanced-stream.html#>"];
    /*
     // You may find a test stream at <http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8>.
     self.playerItem = [AVPlayerItem playerItemWithURL:url];
     [playerItem addObserver:self forKeyPath:@"status" options:0 context:&ItemStatusContext];
     self.player = [AVPlayer playerWithPlayerItem:playerItem];
  */
    /*

    self.player = [AVPlayer playerWithURL:url];
    [player addObserver:self forKeyPath:@"status" options:0 context:&PlayerStatusContext];
    */

                  self.playerItem = [AVPlayerItem playerItemWithURL:url];

                  //(optional) [playerItem addObserver:self forKeyPath:@"status" options:0 context:&ItemStatusContext];

                  self.player = [AVPlayer playerWithPlayerItem:playerItem];

                  self.player = [AVPlayer playerWithURL:url];

    [player play];
    [super viewDidLoad];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:40:05+00:00Added an answer on June 9, 2026 at 1:40 pm

    check out this apple sample code. this is using a AVFoundation.

    I look at the following Apple’s sample code is recommended.

    You just want to implement the steps in it seems to be under the code You will be very helpful.

    StitchedStreamPlayer

    I upload to myServer Tested. Perfectly. also Youtube, Vimeo and so on… is work fine.

    Trust me. 3G, wifi tested in both environments. although sample code, It was surprisingly works perfectly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a video chat program using Adobe Flex but there is
every one. I'm trying to figure out how to play live stream using MPMoviePlayerController.
I'm folowing Apple's proposal in https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-01 . Trying a dummy HTTP Live Streaming to
I am trying to encode a live stream into Apple HLS for iPhone on
I'm trying to get a live radio stream to play on my WordPress (.com)
I want to create a live-stream by using vlc on rtp, (preferably) rtsp or
I have a single key encrypted HTTP Live Stream which decodes fine in Quicktime
im trying to build an fbml for a client that has a live stream
I'm trying to use livestream's extremely helpful mobile api found at http://www.livestream.com/userguide/?title=Mobile_API#Requesting_a_mobile_stream to make
I'm using the twitter gem located here... http://rubydoc.info/gems/twitter/2.0.2 I'm trying to use a method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.