Skip to content

Commit

Permalink
Update sample_video.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jdibenes authored Mar 14, 2024
1 parent 1494187 commit be8bcb1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions viewer/sample_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
#------------------------------------------------------------------------------

if __name__ == '__main__':
if ((hl2ss.StreamPort.PERSONAL_VIDEO in ports) and (hl2ss.StreamPort.RM_DEPTH_AHAT in ports)):
print('Error: Simultaneous PV and RM Depth AHAT streaming is not supported. See known issues at https://github.com/jdibenes/hl2ss.')
quit()

if ((hl2ss.StreamPort.RM_DEPTH_LONGTHROW in ports) and (hl2ss.StreamPort.RM_DEPTH_AHAT in ports)):
print('Error: Simultaneous RM Depth Long Throw and RM Depth AHAT streaming is not supported. See known issues at https://github.com/jdibenes/hl2ss.')
quit()
Expand Down

0 comments on commit be8bcb1

Please sign in to comment.