<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Adding media stream to terminal in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/adding-media-stream-to-terminal/m-p/3905315#M3867</link>
    <description>&lt;P&gt;I am using JTAPI to register and control a CTI port created in CUCM 12.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the user makes a call to the CTI port, I have the ability to grab the terminal connection and add a media stream to the connection. I do this by first casting the terminal connection to a CiscoTerminalConnection object and calling the addMediaStream method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code looks like this:&lt;/P&gt;&lt;PRE&gt;CiscoTerminalConnection terminalConnection = (CiscoTerminalConnection) terminal.getTerminalConnections()[&lt;SPAN&gt;0&lt;/SPAN&gt;]&lt;SPAN&gt;;&lt;BR /&gt;terminalConnection.addMediaStream("", "");&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;My issue is that I cannot find any guidance on the parameters accepted by the addMediaStream method. Within JTAPI they are just listed as &lt;STRONG&gt;s&lt;/STRONG&gt; and &lt;STRONG&gt;s1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What parameters do I put in here in order to add a media stream to my terminal connection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2019 14:31:59 GMT</pubDate>
    <dc:creator>NiallMcMahon0249</dc:creator>
    <dc:date>2019-08-08T14:31:59Z</dc:date>
    <item>
      <title>Adding media stream to terminal</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/adding-media-stream-to-terminal/m-p/3905315#M3867</link>
      <description>&lt;P&gt;I am using JTAPI to register and control a CTI port created in CUCM 12.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the user makes a call to the CTI port, I have the ability to grab the terminal connection and add a media stream to the connection. I do this by first casting the terminal connection to a CiscoTerminalConnection object and calling the addMediaStream method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code looks like this:&lt;/P&gt;&lt;PRE&gt;CiscoTerminalConnection terminalConnection = (CiscoTerminalConnection) terminal.getTerminalConnections()[&lt;SPAN&gt;0&lt;/SPAN&gt;]&lt;SPAN&gt;;&lt;BR /&gt;terminalConnection.addMediaStream("", "");&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;My issue is that I cannot find any guidance on the parameters accepted by the addMediaStream method. Within JTAPI they are just listed as &lt;STRONG&gt;s&lt;/STRONG&gt; and &lt;STRONG&gt;s1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What parameters do I put in here in order to add a media stream to my terminal connection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:31:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/adding-media-stream-to-terminal/m-p/3905315#M3867</guid>
      <dc:creator>NiallMcMahon0249</dc:creator>
      <dc:date>2019-08-08T14:31:59Z</dc:date>
    </item>
  </channel>
</rss>

