• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. STEP 7: Streaming Video with ... > The NetStream() Object, Methods, Pro...

The NetStream() Object, Methods, Properties, and Event

The NetStream() object is used to connect multiple one-way streams between the Flash player and the Flash Communication Server using the NetConnection method. Consider this object as a channel inside the NetConnection. Each channel can be either sending (publishing) or receiving (subscribing to) data. You can connect as many “channels” to your server connection as your bandwidth permits. Consider the relationship of the telephone and your phone company for a moment.

You cannot connect two telephones together and expect them to work without the phone company. You need a connection and a telephone service provider. Your local telephone company redirects your connection to other telephones within their network, or it establishes a series of connections with other telephone service providers to connect a telephone in their network. The microphone in your telephone is a stream that can only send (or publish) an audio stream through the phone company to the receiving (or subscribed) phone at the other end. The earphone subscribes to a one-way stream from the phone company to allow you to listen to the sender on the other end.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint