Skip to main content
Participating Frequently
February 23, 2012
Question

FMS serverscript stream.play not working becaues of FMLE?

  • February 23, 2012
  • 1 reply
  • 898 views

i was modified the main.asc script in livepkgr,

it used to call s.play(streamObj.name), which i assume this is the code it play the stream from FMLE

to s.play("FileName") , which is a flv video file in my application.

unfortunately when i start the FMLE stream to the FMS and watch the stream with the FMS Sample Video player,

i was expecting to see the video content from the flv, but instead the camera footage in playing on the player.

i am very confusing now, i thought the s.play the only code to control what should be playing in application.

or when FMLE is connected to server, the server must play the footage from FMLE by some hidden code,

no matter what s.play wanna to play?

This topic has been closed for replies.

1 reply

Adobe Employee
February 25, 2012

So you are saying you have replaced default "livepkgr" and replaced it with newer livepkgr with custom main.asc?

Also when you are playing back the stream - are you trying to playback HDS stream or RTMP live stream?

paymokAuthor
Participating Frequently
February 25, 2012

   

"So you are saying you have replaced default "livepkgr" and replaced it with newer livepkgr with custom main.asc?"

Yes, i removed the default main.far. the main.asc is extracted from main.far, and custom with my own code and placed on livepkgr directory.

Also when you are playing back the stream - are you trying to playback HDS stream or RTMP live stream?

i have tried to play it in HDS stream and RTMP live stream, both content are the footage from my camera rather than the s.play("FileName").

i have already replaced all the s.play(s.streamName) to s.play("FileName"), but still it play the content from my camera...