예제 #1
0
 public SessionAnnouncement(SessionDescription sessionDescription, NetworkInterface inter)
 {
     if (sessionDescription.Announcement != null)
     {
         throw new ArgumentException("sessionDescription");
     }
     SessionDescription = sessionDescription;
     SessionDescription.Announcement = this;
     NetworkInterface = inter;
 }
예제 #2
0
파일: SdpSession.cs 프로젝트: bbc/sdp-test
 public SdpSession(SessionDescription sd, NetworkInterface inter)
 {
     SessionDescription = sd;
     NetworkInterface = inter;
 }
예제 #3
0
파일: SdpSession.cs 프로젝트: bbc/sdp-test
 public SdpSession(Origin o, NetworkInterface inter)
 {
     SessionDescription = new SessionDescription();
     SessionDescription.Origin = o;
     NetworkInterface = inter;
 }
예제 #4
0
파일: SdpSession.cs 프로젝트: bbc/sdp-test
 private static int GetInterfaceIndex(NetworkInterface interf)
 {
     if (interf == null)
     {
         return 0;
     }
     else
     {
         return interf.Index;
     }
 }