Results 1 to 5 of 5

Thread: Variable bitrate stream name, Flash client

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Default Variable bitrate stream name, Flash client

    We are having trouble implementing variable bitrate Flash client for Wowza. With ordinary streams, everything works perfectly (the video is played smoothly). But if we switch the stream name to, for example, ngrp:mpegts.stream_all/manifest.f4m (taken from the example on Wowza support site), in order to connect to a multi-bitrate stream, Wowza access logs show that the flash client discards everything before the colon ( sign, and actually tries to connect to a stream named mpegts.stream_all/manifest.f4m (which doesn't exist). The server is configured correctly, because the stream works when invoked from JW player, so the problem has to be with the flash client.
    Is this the right way to invoke this stream, or are we doing something wrong?
    Here is the relevant piece of code used to connect to the server:

    conn = new NetConnection();
    conn.connect("10.0.0.7");         // Wowza IP
    var streamPlayer = new NetStream(conn);
    var streamPlayerClient:Object = new Object();
    streamPlayer.client = streamPlayerClient;	
    // streamPlayer.play("mpegts.stream");                                                  // this one works
    streamPlayer.play("ngrp:mpegts.stream_all/manifest.f4m");                      // this one doesn't, showing only mpegts.stream_all/manifest.f4m on server

    Thank you for your help.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi
    Are you using Flash HTTP because if your using Flash RTMP you don't need manifest.f4m on the end of the stream name.

    I'm not sure if that will fix the problem because I found the "ngrp:myStream_all" at the bottom of this page,
    http://www.wowza.com/forums/content....live-streaming

    There is no mention of rtmp connections with the "ngrp" method, they are all HLS connection types.
    Are you using OSMF player for testing?

    There is a Wowza simple example player for flash HTTP at this location :
    Windows - [Wowza-Install]\examples\SimpleVideoStreaming\clientOSMF\bin-release
    Linux - [Wowza-Install]/examples/SimpleVideoStreaming/clientOSMF/bin-release

    Jason

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Take a look at JW Player's RTMP Dynamic Streaming plugin:
    http://www.longtailvideo.com/support...amic-streaming

    And here is a bridge between Wowza MediaPlaylist (ngrp or smil) and JW player .rss file used in the above plugin:
    http://www.wowza.com/forums/content....a-Media-Server

    Richard

  4. #4
    Join Date
    Jul 2012
    Posts
    2

    Default

    Thank you for your response.
    I have done some more research since my original post, and came across this:
    http://www.wowza.com/forums/showthre...-Flash-Clients

    Around the middle of the page it is said that (server-side) Adaptive bitrate is not supported for Flash RTMP clients, but only for HTTP Flash streaming (which we are not using). Is that true, or did I misunderstand the post? If it is true, it seems that the only solution would be to implement stream switching on the client side.
    Do you have any advice on implementing this functionality on the client side, because we have a custom Flash client?

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You can use RTMP Dynamic Streaming in Flash, and JW Player has a plugin:

    http://www.longtailvideo.com/support...amic-streaming

    And you can leverage server-side smil or transcoder ngrp to generate the rss for JW Player
    http://www.wowza.com/forums/content....a-Media-Server

    Richard

Similar Threads

  1. Variable Bitrate Audio Only
    By jsull824 in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 04-21-2014, 03:03 PM
  2. Replies: 1
    Last Post: 06-14-2013, 05:35 AM

Posting Permissions

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