You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Add the <ttclass="docutils literal"><spanclass="pre">opentok</span></tt> package as a dependency in your project. The most common way is to add it to your
<h3>Manually:<aclass="headerlink" href="#manually" title="Permalink to this headline">¶</a></h3>
69
-
<p>Download the latest package zip from the <aclass="reference external" href="https://github.com/opentok/Opentok-Python-SDK/releases">Releases page</a></p>
70
-
</div>
71
-
</div>
72
70
<divclass="section" id="usage">
73
71
<h2>Usage<aclass="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
74
72
<divclass="section" id="initializing">
@@ -85,12 +83,14 @@ <h3>Initializing<a class="headerlink" href="#initializing" title="Permalink to t
85
83
<h3>Creating Sessions<aclass="headerlink" href="#creating-sessions" title="Permalink to this headline">¶</a></h3>
86
84
<p>The create an OpenTok Session, use the <ttclass="docutils literal"><spanclass="pre">opentok.create_session()</span></tt> method. There are two optional
87
85
keyword parameters for this method: <ttclass="docutils literal"><spanclass="pre">location</span></tt> which can be set to a string containing an IP
88
-
address, and <ttclass="docutils literal"><spanclass="pre">p2p</span></tt> which is a boolean. This method returns a <ttclass="docutils literal"><spanclass="pre">Session</span></tt> object. Its
89
-
<ttclass="docutils literal"><spanclass="pre">session_id</span></tt> attribute is useful when saving to a persistent store (e.g. database).</p>
90
-
<divclass="code python highlight-python"><divclass="highlight"><pre><spanclass="c"># Just a plain Session</span>
86
+
address, and <ttclass="docutils literal"><spanclass="pre">media_mode</span></tt> which is a String (defined by the MediaModes class). This method returns
87
+
a <ttclass="docutils literal"><spanclass="pre">Session</span></tt> object. Its <ttclass="docutils literal"><spanclass="pre">session_id</span></tt> attribute is useful when saving to a persistent store (such
88
+
as a database).</p>
89
+
<divclass="code python highlight-python"><divclass="highlight"><pre><spanclass="c"># Just a plain Session:</span>
<h2>Documentation<aclass="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2>
176
-
<p>Reference documentation is available at <<aclass="reference external" href="http://www.tokbox.com//opentok/libraries/server/python/reference/index.html">http://www.tokbox.com//opentok/libraries/server/python/reference/index.html</a>> and in the
185
+
<p>Reference documentation is available at <<aclass="reference external" href="http://www.tokbox.com/opentok/libraries/server/python/reference/index.html">http://www.tokbox.com/opentok/libraries/server/python/reference/index.html</a>> and in the
177
186
docs directory of the SDK.</p>
178
187
</div>
179
188
<divclass="section" id="requirements">
@@ -185,18 +194,19 @@ <h2>Requirements<a class="headerlink" href="#requirements" title="Permalink to t
185
194
<h2>Release Notes<aclass="headerlink" href="#release-notes" title="Permalink to this headline">¶</a></h2>
186
195
<p>See the <aclass="reference external" href="https://github.com/opentok/Opentok-Python-SDK/releases">Releases</a> page for details about
0 commit comments