Udostępnij za pośrednictwem


EventID and restarting publishing points using Expression Encoder 4 SP1

In the service pack for Expression Encoder 4, we added the ability to specify an EventID for live smooth streaming broadcasts.  This feature is extremely useful to prevent down-level cache pollution (where you can here/see stale cached fragments when reusing publishing points).   You can use any string that contains URL safe characters or clicking the Generate button will put the current date/time as a string.

 

Another benefit of the EventID field is that it will allow you to restart your
publishing point from a Stopped state.  When the Encoder stops broadcasting to an IIS Smooth Streaming publish point, we send an empty 'mfra' box which informs the publish point to switch to a Stopped state.  This allows for DVR playback to be available to the users immediately after the broadcast ends.  The Encoder does not allow you to connect to a publishing point that is in use and to check this, we check to see if there is a manifest associated with the pub point.  A manifest will exist if the publishing point is in a Started or Stopped state so by default we block restarting the publish point.  To work around this, if you specify a different EventID for each broadcast (including the first one, null doesn't count)  to the publishing point that contains the tag:   <meta name="restartOnEncoderReconnect" content="true"
/> :  We will ignore the manifest check and restart the publishing point.  Here are the steps:

  1. Install Expression Encoder 4 SP1
  2. Install IIS Media 4.0 on your server
  3. Create a Live Smooth Streaming publishing point on the server.
  4. Using Explorer, navigate to the location of the publishing point.
  5. Open the ISML file in a text editor and add the following between the <head> tags:  <meta name="restartOnEncoderReconnect" content="true"
    />
  6. Now set up your broadcast in the Encoder and point to the publishing point.
  7. Before clicking Start, specify an EventID on the Output panel.
  8. Now if you want to reuse the same publishing point for another broadcast,  just specify a different EventID and click Start

Comments

  • Anonymous
    April 08, 2011
    We start our live stream (Encoder) from a scheduled event. Works great. It appears you have to click on "Generate" to create a new EventID. Any tips on getting an event ID for an unattended start?

  • Anonymous
    May 16, 2011
    Thanks for your info on using the eventid. I wantto use this to stream graduation ceremovnies. When I am archiving the iis smooth streams with the eventid on the server, how to I link up to the archived file?

  • Anonymous
    June 14, 2011
    Nice feature, works perfect for me! By using the Encode SDK you are able to auto generate your own EventID each time you start your live stream session.

  • Anonymous
    July 19, 2011
    It is a nice feature but I'm having a little trouble trying to figure out how it works in relation to the archiving feature on the Live Smooth Streaming side of things. Does the format of the event id matter? Does it have to be in the same format as the auto generated event id in Expression Encoder? Is the archived folder on the smooth streaming server constrained to use the format of the generated event Id in the Expression Encoder?

  • Anonymous
    August 15, 2011
    <a href="www.griffeyshoesonline.net/ken-griffey-jr-jersey-c-2.html">Ken Griffey Jr Jersey</a> How cool the Nike Air Griffey Max GD 2 Black Red is. As you can see from the picture, this kind of shoes is made by two colors, black dotted with red. The color combination is so perfect. In the aspect of the quality, we’d like to make promise that the Nike Air Griffey Max GD 2 is very good. Now there are many orders from all over the world. And we have received the good response. We are looking forward to you.