Skip to content

Commit

Permalink
Merge pull request #145 from tayler6000/bugfix/Issue-55
Browse files Browse the repository at this point in the history
Fixes #55
Fixes #146
  • Loading branch information
tayler6000 authored Jun 7, 2023
2 parents 3161551 + 99124e8 commit 0eafe8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyVoIP/RTP.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ def __init__(

def start(self) -> None:
self.sin = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
self.sout = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
# Some systems just reply to the port they receive from instead of
# listening to the SDP.
self.sout = self.sin
self.sin.bind((self.inIP, self.inPort))
self.sin.setblocking(False)

Expand Down

0 comments on commit 0eafe8c

Please sign in to comment.