Skip to content

Commit

Permalink
Use inclusive logic instead
Browse files Browse the repository at this point in the history
  • Loading branch information
domstoppable committed Nov 14, 2024
1 parent b99e6b8 commit 233c1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pupil_labs/realtime_api/streaming/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ def get_rtpmap(self):

def get_primary_media(self):
for media in self.session.sdp["medias"]:
if media["type"] != "audio":
if media["type"] in ["video", "application"]:
return media

0 comments on commit 233c1b5

Please sign in to comment.