예제 #1
0
 def getSDP(self, dialog, othersdp):
     s = SDP()
     m = MediaDescription()
     m.port = 54321
     s.addMediaDescription(m)
     m.addRtpMap(PT_PCMU)
     if othersdp:
         s.intersect(othersdp)
     return s