<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Startup problems using NetConnection and NetStream to FMS</title>
    <link>https://forums.adobe.com/community/director/director_lingo?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 15 Sep 2014 16:40:00 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-09-15T16:40:00Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Startup problems using NetConnection and NetStream to FMS</title>
      <link>https://forums.adobe.com/message/6731533?tstart=0#6731533</link>
      <description>&lt;!-- [DocumentBodyStart:a16e0273-8fb3-4852-b65a-ec419804a3ac] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi there,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;unfortunately I'm a noob at Director and my task is to build a simple 2-people-video chat. I'm using Director 11.5, Windows 7 and Flash Media Server 3 (well, not sure about the version, but an old one).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I found out that I can use a NetConnection-object in Director to connect to the server. But my only information source is the user manual:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://help.adobe.com/en_US/Director/11.5/UsingScripting/WSc3ff6d0ea77859461172e0811d50262762-7f24.html" rel="nofollow"&gt;http://help.adobe.com/en_US/Director/11.5/UsingScripting/WSc3ff6d0ea77859461172e0811d50262 762-7f24.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;There only are some single code lines without any details. So my code looks like this until now --- I didn't replace any of the sample code, just copied all I would like to use somehow.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:ecee5cea-896b-4f62-8a8b-23ede0a4e71a][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
&amp;nbsp; myNetConObject = sprite(1).newObject("NetConnection")
&amp;nbsp; myStream = sprite(1).newObject("NetStream", myNetConObject)
&amp;nbsp; myStream.attachVideo(source)
&amp;nbsp; myStream.attachAudio(source)
&amp;nbsp; mystream.publish(whatToPublish)
&amp;nbsp; mystream.play(whatToPlay) 
&lt;/pre&gt;&lt;!--[CodeBlockEnd:ecee5cea-896b-4f62-8a8b-23ede0a4e71a]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The manual unfortunately does NOT tell me HOW I can give the parameters, for example the source of a camera video. Has it to be the installation URL of the camera? Has it to be the name of the camera? Do I have to set up an "source" object somehow and attach a camera to that? Same thing with the micro. &lt;/p&gt;&lt;p&gt;Next: what is "whatToPublish" and "whatToPlay"? Shall it be the attached video (and how shall I name that)? Shall it be just "video"? (for publidhing.)&amp;nbsp; Shall it be an url for play? &lt;/p&gt;&lt;p&gt;Also: how do I get logged in with a user name and how can I play a stream of another user?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Somehow I'm very frustrated about the help documents... &lt;span style="font-size: 13.63636302948px;"&gt;These example lines didn't help me, because they're not giving any specification what parameters really are needed and such things. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13.63636302948px;"&gt;Can someone help me please? I'd also be glad about links to tutorials or other forum questions about that. Didn't find any myself.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13.63636302948px;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13.63636302948px;"&gt;Thanks in advance fr your help and hints!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13.63636302948px;"&gt;Jana&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a16e0273-8fb3-4852-b65a-ec419804a3ac] --&gt;&lt;img src='/beacon?t=1415930916066' /&gt;</description>
      <pubDate>Mon, 15 Sep 2014 16:40:00 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6731533?tstart=0#6731533</guid>
      <dc:date>2014-09-15T16:40:00Z</dc:date>
      <clearspace:dateToText>1 month 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

