Skip to main content
Participant
December 27, 2007
Answered

Flash Media Server 2 - Protecting RTMP Streams...

  • December 27, 2007
  • 1 reply
  • 242 views
Hello,

I'm working on a project involving Flash Media Server 2 and streaming
videos using RTMP.


At first I thought I could just use the FLVPlayback control, but it
doesn't seem so secure. I don't even need to connect to the
NetConnection object before passing along a value to the .source
property or .load method.


So I've begun looking at NetStreams and then using attachNetStream to
a Video object. This way, it will only connect to the stream if it
successfully hooked up with the NetConnection
(application.acceptConnection). Am I right in assuming this is more
secure than using a FLVPlayback control?


Is there a way to pass a stream to a FLVPlayback control so the UI is
already built, including start/stop/pause and the playhead they can
use to scrub? Or is there an easy way to build the UI on a custom
video object? Any links to examples would be greatly appreciated.


I currently have it so users can click thumbnails (loaded through XML)
to .seek() to particular spots in the stream. That works great. But
the main functionality I need now is a playhead and scrub bar. I know
I could create a Play/Pause/Stop button easily enough.


Sorry if this question doesn't make a lot of sense. Right now I'm
feeling a little lost in this project 🙂


Thanks,


Chris T.
    This topic has been closed for replies.
    Correct answer CTifer
    Just wanted to update (in case anyone else runs across this), but it looks like http://www.gotoandlearn.com/ has the exact tutorials I needed on how to build my own custom player using a Video object and NetStream. At the bottom of the list of tutorials, there's 6 Video tutorials that helped.

    Already well on my way to completing this!

    1 reply

    CTiferAuthorCorrect answer
    Participant
    December 28, 2007
    Just wanted to update (in case anyone else runs across this), but it looks like http://www.gotoandlearn.com/ has the exact tutorials I needed on how to build my own custom player using a Video object and NetStream. At the bottom of the list of tutorials, there's 6 Video tutorials that helped.

    Already well on my way to completing this!