Skip to main content
Participating Frequently
Feb 23, 2012 4:01 PM UTC
Question

FMS serverscript stream.play not working becaues of FMLE?

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participating Frequently
Feb 25, 2012 2:38 PM UTC

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?

Translate
paymokAuthor
Participating Frequently
Feb 25, 2012 3:48 PM UTC

   

"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...

Translate