Advertisement
Guest User

Untitled

a guest
May 20th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.55 KB | None | 0 0
  1. KSR.info(
  2.             '[rtp] msg has sdp: {}'.format(
  3.                 str(KSR.textops.has_body_type("application/sdp"))
  4.             )
  5.         )
  6.  
  7.         # engage rtp engine 
  8.         if KSR.is_INVITE() or KSR.is_UPDATE() and KSR.textops.has_body_type(
  9.                 "application/sdp") > 0:
  10.             KSR.info('[rtp] RTP ENGAGE RELAY')
  11.             if to_fs:
  12.                 self.engage_rtpengine(internal=True)
  13.             else:
  14.                 self.engage_rtpengine()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement