Skip to main content
Participating Frequently
May 28, 2012
Answered

"Doneness" with OSMF 2.0 and FMS 4.5.2

  • May 28, 2012
  • 1 reply
  • 2415 views

One of the new features of OSMF 2.0 and FMS 4.5.2 is the "Best-Effort Fetch" and "Doneness" capability. When the live stream is done (i.e. "Doneness"), the client player should reach the end of the stream and then stop (done). Instead, it reaches the end of the stream and goes into "Buffering....". You can rewind the stream (DVR mode) and it will replay just fine until it gets to the end.  I would like the stream just to end without the "Buffering..." issue.  Any ideas? 

This topic has been closed for replies.
Correct answer

You wont be able to mark a particular stream as done by issuing the above command. You need to give POST request with a request body as:

http:// <server-name>/ctrlplane/livepkgr/_definst_/event-Name.f4m/done

Request body:

<controlplane-request>

<stream> livestream2 </stream>

<stream> livestream3 </stream>

</controlplane-request>

This will mark livestream2 and livestream3 associated with event-name as done(and not the other streams).

1 reply

May 29, 2012

Hey Gio,

For this you can refer to the doc:

http://help.adobe.com/en_US/flashmediaserver/configadmin/WS418c3323187a5d5740d39080135d5593e08-8000.html#WS418c3323187a5d57-1589e7135e4175e0e-8000

To stop the player from buffering you can mark the stream/event as done using a POST request as mentioned in the doc.

Participating Frequently
May 29, 2012

Simpleton,

Thanks for the link.  After reviewing the document and trying the POST, here's what I get:

FOLLOWUP - When I issue the following POST from the server http://localhost/ctrlplane/livepkgr/_definst_/liveevent/livestream1.f4 m/done, here is my response:

<?xml version="1.0" encoding="UTF-8"?>

-<controlplane-response xmlns="http://ns.adobe.com/hds/controlplane/status/1.0"> <manifest-file> /livepkgr/_definst_/liveevent/livestream1.f4m </manifest-file> <status-code> 5 </status-code> <status-desc> Unrecognized Command. </status-desc> </controlplane-response>

This is the correct path where the set-level manifest file located in the wwwroot points to for the base URL.  So what is a status-code 5 Unrecognized command?

Appreciate your feedback.

G

Correct answer
May 31, 2012

You wont be able to mark a particular stream as done by issuing the above command. You need to give POST request with a request body as:

http:// <server-name>/ctrlplane/livepkgr/_definst_/event-Name.f4m/done

Request body:

<controlplane-request>

<stream> livestream2 </stream>

<stream> livestream3 </stream>

</controlplane-request>

This will mark livestream2 and livestream3 associated with event-name as done(and not the other streams).