Results 1 to 5 of 5

Thread: iRandomAccessReader never calls read

  1. #1
    Join Date
    Oct 2011
    Posts
    9

    Default iRandomAccessReader never calls read

    I am trying the HttpRandomAccessReader example and see the URL get opened, and then eventually get closed. I don't see the read function in the interface ever get called however. Any idea why it would open the URL and never call the read function? Is there something else that needs to be done?

    Also, init and open seemed to get called twice.
    Last edited by mstate1981; 11-05-2011 at 07:36 PM.

  2. #2

    Default

    We would need more details to help. What is the URL the file you are trying to play? What rtmp url and stream name are you using. Is Wowza calculating the correct http URL for remoted retreival of the file.

    Charlie

  3. #3
    Join Date
    Oct 2011
    Posts
    9

    Default

    The url I am using is a local url to a proxy server that redirects to another site. It is redirecting to http://www.yo-yo.org/mp4/yu.mp4. I did get it to stream but only audio - no video. I am still seeing the open twice and the close twice. Is that normal? Any idea why I would only see audio?

  4. #4

    Default

    Because the video is MPEG 4 and not H.264. The file needs to be transcoded to H.264 video. Try the same thing with [install-dir]/content/sample.mp4 and it should work.

    Charlie

  5. #5
    Join Date
    Oct 2011
    Posts
    9

    Default

    Thanks Charlie. I had tried sample.mp4 and it works - I didn't realize I had selected a non H.264 test stream for my test. Used a different one and it works great now. Thanks again!!

Similar Threads

  1. stream.getHTTPStreamerSession().getSessionId() null in custom IRandomAccessReader
    By SaschaA. in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 02-03-2014, 03:48 AM
  2. IRandomAccessReader doesn't trigger
    By skorolev in forum Server-side Modules and Code Samples Discussion
    Replies: 2
    Last Post: 06-14-2013, 02:33 AM
  3. Get full URL in iRandomAccessReader
    By mstate1981 in forum Video On Demand Streaming Discussion
    Replies: 8
    Last Post: 11-14-2011, 11:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •