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