Skip to content

Commit 83239bc

Browse files
committed
[Navigation]
* streamStatusChangedCB ignore local host
1 parent c396747 commit 83239bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/python/Navigation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ def stopRecordService(self, service):
506506
return ret
507507

508508
def streamStatusChangedCB(self, status, sref, host):
509+
if "127.0.0.1" in host: # Ignore local host.
510+
return
509511
print(f"[Navigation] Stream status changed: {status}, {sref}, {host}.")
510512
recService = iRecordableServicePtr() # This is only a dummy variable
511513
if status == 0:

0 commit comments

Comments
 (0)