Exemplo n.º 1
0
 public void newStartStream()
 {
     textBlock1.Text += "hi";
     newstream = new RTPAudioStream(0, null);
     newstream.Bind(newLocalEp);
     newstream.AudioCodec = new G722CodecWrapper();
     newstream.Start(newRemoteEp, 100, 100);
 }
Exemplo n.º 2
0
 public void newStartStream()
 {
     newstream = new RTPAudioStream(0, null);
     newstream.UseInternalTimersForPacketPushPull = false;
     IPEndPoint newLocalEp = new IPEndPoint(IPAddress.Parse("172.16.41.174"), 4001);
     newstream.Bind(newLocalEp);
     newstream.AudioCodec = new G722CodecWrapper();
     newstream.Start(newRemoteEp, 100, 100);
 }
Exemplo n.º 3
0
 // Constructor
 public MainPage()
 {
     InitializeComponent();
     localEp = new IPEndPoint(IPAddress.Parse("172.16.41.174"), 4505);
     stream = new RTPAudioStream(0,null);
     stream.AudioCodec = new G722CodecWrapper();
     stream.UseInternalTimersForPacketPushPull = false;
     stream.Bind(localEp);
 }
Exemplo n.º 4
0
 void InitializeStream()
 {
     stream = new RTPAudioStream(0, null);
     stream.Bind(localEp);
     Log(localEp.ToString());
     stream.AudioCodec = new G722CodecWrapper();
     stream.UseInternalTimersForPacketPushPull = false;
 }
Exemplo n.º 5
0
 public void StartStream()
 {
     stream = new RTPAudioStream(0, null);
     stream.UseInternalTimersForPacketPushPull = false;
     stream.AudioCodec = new G722CodecWrapper();
     IPEndPoint LocalEndpoint = new IPEndPoint(IPAddress.Parse("172.16.41.174"), 3001);
     stream.Bind(LocalEndpoint);
     stream.Start(RemoteEp, 100, 100);
 }
Exemplo n.º 6
0
        void InitializeStream()
        {
            stream = new RTPAudioStream(0, null);
            stream.Bind(localEp);
            Log(localEp.ToString());
            stream.AudioCodec = new G722CodecWrapper();
            stream.UseInternalTimersForPacketPushPull = false;
            try
            {
                stunEp = stream.GetSTUNAddress(new DnsEndPoint("stun.ekiga.net", 3478), 4000);
            }
            catch (Exception e)
            {
                Log("Stun address retrieval failed.Cant work with this device.");
            }

            Log(stunEp.ToString());
        }