diff --git a/pyVoIP/RTP.py b/pyVoIP/RTP.py index c68adaa..6e5bab7 100644 --- a/pyVoIP/RTP.py +++ b/pyVoIP/RTP.py @@ -112,7 +112,7 @@ def __init__(self): def read(self, length=160): while self.rebuilding: #This acts functionally as a lock while the buffer is being rebuilt. - print("Rebuilding") + time.sleep(0.01) self.bufferLock.acquire() packet = self.buffer.read(length) if len(packet)