Answered
Flash Media Server 2 - Protecting RTMP Streams...
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.
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.
