Skip to main content
Participating Frequently
February 16, 2012
Question

severside script not work for HLS?

  • February 16, 2012
  • 1 reply
  • 673 views

I am using some severside script ( create a main.asc under application directory)

for streaming some pre recorded video files as a live to client.

You can think of using a video file for live stream source rather than FMLE .

I follow this helpful instruction in this link http://fmsguru.com/showtutorial.cfm?tutorialID=12

which is suggested in my previous post. http://forums.adobe.com/thread/955046

It works perfectly fine if I watch it in rtmp. 

But I wonder is this work for hls-live? Right now I am try to stream the content to an iPad.

I tried to input the hls-live format URL to the browser URL bar,

but seems the server cannot found such live stream event.

Such as http://192.168.1.106/hls-live/sstream/a/version1/clientPlayStream

I checked the folder used for hls vod or live,

it looks like the documents needed for hls  is more than a simple rtmp application.....

Anybody knows the severside script application is work for HLS ?

This topic has been closed for replies.

1 reply

Adobe Employee
February 17, 2012

Did you republish the VOD stream as f4f:livestream or just livestream..

You need to look the code of livepkgr application that comes with FMS.. There we basically do the following

S = Stream.get("f4f:livestream");

//S.liveevent = "eventName";

S.play(sourceStreamName, -1,-1);

S.record("append");

This case basically creates a livestream which plays the source stream and records it as HDS files.. which are then live-streamed over HLS..

I recommed you to look at the livepkgr application's main.asc ..