~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to doc/C/BackLash/netconnection.xml

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-13 14:29:49 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20081013142949-f6qdvnu4mn05ltdc
Tags: 0.8.4~~bzr9980-0ubuntu1
* new upstream release 0.8.4 (LP: #240325)
* ship new lib usr/lib/gnash/libmozsdk.so.* in mozilla-plugin-gnash
  - update debian/mozilla-plugin-gnash.install
* ship new lib usr/lib/gnash/libgnashnet.so.* in gnash-common
  - update debian/gnash-common.install
* add basic debian/build_head script to build latest CVS head packages.
  - add debian/build_head
* new sound architecture requires build depend on libsdl1.2-dev
  - update debian/control
* head build script now has been completely migrated to bzr (upstream +
  ubuntu)
  - update debian/build_head
* disable kde gui until klash/qt4 has been fixed; keep kde packages as empty
  packages for now.
  - update debian/rules
  - debian/klash.install
  - debian/klash.links
  - debian/klash.manpages
  - debian/konqueror-plugin-gnash.install
* drop libkonq5-dev build dependency accordingly
  - update debian/control
* don't install headers manually anymore. gnash doesnt provide a -dev
  package after all
  - update debian/rules
* update libs installed in gnash-common; libgnashserver-*.so is not available
  anymore (removed); in turn we add the new libgnashcore-*.so
  - update debian/gnash-common.install
* use -Os for optimization and properly pass CXXFLAGS=$(CFLAGS) to configure
  - update debian/rules
* touch firefox .autoreg in postinst of mozilla plugin
  - update debian/mozilla-plugin-gnash.postinst
* link gnash in ubufox plugins directory for the plugin alternative switcher
  - add debian/mozilla-plugin-gnash.links
* suggest ubufox accordingly
  - update debian/control
* add new required build-depends on libgif-dev
  - update debian/control
* add Xb-Npp-Description and Xb-Npp-File as new plugin database meta data
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<sect4 id="asnetconnection">
 
2
  <title>NetConnection ActionScript Class</title>
 
3
 
 
4
  <para>
 
5
    This class implements an NetConnection object. The NetConnection
 
6
    object opens a client connection to load an FLV video file from a
 
7
    local system, or a remote one using the RTMP or RTMPT protocols.
 
8
    RTMP connections use port 1935, and RTMPT connections use port 80.
 
9
  </para>
 
10
 
 
11
  <para>
 
12
    This class was first introduced for swf v7 and the behavior has
 
13
    recently changed slightly to allow the loading of files from
 
14
    external systems. Prior to this, you were required to pass NULL to
 
15
    this class. Gnash handles both cases. The older behavior is default
 
16
    when connecting to the local filesystem for the file.
 
17
  </para>
 
18
 
 
19
  <para>
 
20
    The URL that can be passed to <emphasis>connect()</emphasis> in newer
 
21
    versions of the swf format is as follows:
 
22
    <programlisting>
 
23
      protocol:[//host][:port]/appname/[instanceName]
 
24
    </programlisting>
 
25
    For protocol, specify either <emphasis>RTMP</emphasis> or
 
26
    <emphasis>RTMPT</emphasis>. If rtmp is specified, SWF Player will create
 
27
    a client connection. If <emphasis>RTMPT</emphasis> is specified, SWF
 
28
    Player will create an HTTP "tunneling" connection to the server.
 
29
  </para>
 
30
 
 
31
  <para>
 
32
    You can omit the host parameter if the SWF movie is served from
 
33
    localhost. If the instanceName parameter is omitted, SWF Player
 
34
    connects to the application's default instance (_definst_).
 
35
  </para>
 
36
 
 
37
    <sect5 id="netconnectionmethods">
 
38
        <title>The Methods of the  Class</title>
 
39
 
 
40
        <variablelist>
 
41
          <varlistentry>the same host where Flash Communication Server is installed
 
42
          <term>NetConnection.connect(const char *)</term>
 
43
          <listitem>
 
44
            <para>
 
45
              Connect to a local or remote system to load a
 
46
              FLV file. Arg can be NULL, or a URL.
 
47
            </para>
 
48
          </listitem>
 
49
          </varlistentry>
 
50
        </variablelist>
 
51
    </sect5>
 
52
 
 
53
<!--    
 
54
    <sect5 id="netconnectionprops">
 
55
      <title>The Properties of the NetConnection Class</title>
 
56
      
 
57
      <para>
 
58
        <variablelist>
 
59
          
 
60
        </variablelist>
 
61
      </para>
 
62
    </sect5>
 
63
-->
 
64
    
 
65
    <sect5 id="netconnectionconf">
 
66
      <title>NetConnection Class Conformance</title>
 
67
      
 
68
      <informaltable frame="all">
 
69
        <?dbhtml table-width="75%" ?>
 
70
        <tgroup cols="2">
 
71
          <thead>
 
72
            <row>
 
73
              <entry valign="top">
 
74
                <para>Class Name</para>
 
75
              </entry>
 
76
              <entry valign="top">
 
77
                <para>Conformance</para>
 
78
              </entry>
 
79
            </row>
 
80
          </thead>
 
81
          <tbody>
 
82
            <row>
 
83
              <entry valign="top" align="left">
 
84
                <para>NetConnection.connect()</para>
 
85
              </entry>
 
86
              <entry valign="top" align="center">
 
87
                <para>
 
88
                  This method is partially implemented. It can only be
 
89
                  used in conjunction with the <link
 
90
                  linkend="asnetstream">NetStream</link> and <link
 
91
                  linkend="asvideo">Video</link> classes; it cannot
 
92
                  load a FLV file by itself.
 
93
                </para>
 
94
              </entry>
 
95
            </row>
 
96
          </tbody>
 
97
        </tgroup>
 
98
      </informaltable>
 
99
  </sect5>  
 
100
</sect4>