Example #1
0
 public SessionAnnouncement(SessionDescription sessionDescription, NetworkInterface inter)
 {
     if (sessionDescription.Announcement != null)
     {
         throw new ArgumentException("sessionDescription");
     }
     SessionDescription = sessionDescription;
     SessionDescription.Announcement = this;
     NetworkInterface = inter;
 }
Example #2
0
 public SdpSession(SessionDescription sd, NetworkInterface inter)
 {
     SessionDescription = sd;
     NetworkInterface = inter;
 }
Example #3
0
 public SdpSession(Origin o, NetworkInterface inter)
 {
     SessionDescription = new SessionDescription();
     SessionDescription.Origin = o;
     NetworkInterface = inter;
 }
Example #4
0
 private static int GetInterfaceIndex(NetworkInterface interf)
 {
     if (interf == null)
     {
         return 0;
     }
     else
     {
         return interf.Index;
     }
 }