Example #1
0
 private void menuActionsUnicast_Click(object sender, System.EventArgs e)
 {
     frmNetworkUnicast unicastSession = new frmNetworkUnicast();
     if (unicastSession.ShowDialog() == DialogResult.OK)
     {
         try
         {
             VenueData vd = new VenueData("Unicast Venue", new System.Net.IPEndPoint(remoteIP, Convert.ToInt32("5004")), 127, VenueType.Custom, null, null, null);
             Venue v = Conference.VenueServiceWrapper.AddCustomVenue(vd);
             JoinVenue(v, true);
             twoWayUnicast = true;
             SetArchiverMenuStatus();
         }
         catch (Exception ex)
         {
             MessageBox.Show(ex.Message);
             twoWayUnicast = false;
             SetArchiverMenuStatus();
         }
     }
 }
Example #2
0
 private void menuActionsUnicast_Click(object sender, System.EventArgs e)
 {
     frmNetworkUnicast unicastSession = new frmNetworkUnicast();
     if (unicastSession.ShowDialog() == DialogResult.OK)
     {
         try
         {
             VenueData vd = new VenueData("Unicast Venue", new System.Net.IPEndPoint(remoteIP,
                 Convert.ToInt32("5004", CultureInfo.InvariantCulture)), 127, VenueType.Custom, null, null, null);
             Venue v = Conference.VenueServiceWrapper.AddCustomVenue(vd);
             JoinVenue(v, true);
             twoWayUnicast = true;
             SetArchiverMenuStatus();
         }
         catch (Exception ex)
         {
             RtlAwareMessageBox.Show(this, ex.Message, Strings.UnableToJoinUnicastVenue, 
                 MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 
                 (MessageBoxOptions)0);
             twoWayUnicast = false;
             SetArchiverMenuStatus();
         }
     }
 }