• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Can FMS do this?

Guest
Aug 05, 2009 Aug 05, 2009

Copy link to clipboard

Copied

What I'm looking to do is have a flash player that constantly plays a loop of videos, but it automatically switches to our live stream whenever we start the encoder. Is this possible, and if it is...how can I do this?

Thanks in advance for your help!

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 05, 2009 Aug 05, 2009

Copy link to clipboard

Copied

Yes , it can .

You should get the help from SSL Document.

The play method of stream has many parameter , if you use it like this stream.play(stream_name) , it will play your live stream ,not your video files .

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 14, 2009 Aug 14, 2009

Copy link to clipboard

Copied

LATEST

What you can do is as follows:

Start playing videos on demand placed at FMS side using client-side playlist. Also have one handler defined at client-end which will get invoked by server-side code.

Once you encoder starts publishing, application.onPublish will get triggered on server-side application code. In application.onPublish, we can call client-side handler(as i said above) which will basically notify client that live publish has started. Once we know that on client side we can stop the VOD Client-side play and issue new play for live stream. You can read client-side documentation regarding NetStream.play

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines