Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
corrected name of example method for rtsp streams
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashogstrom authored and m4reko committed Aug 12, 2022
1 parent fea6433 commit 8dba9cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/streamrtsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
logging.basicConfig(level=logging.INFO)


async def access_recordings():
async def stream_rtsp():
async with connect_to_glasses(os.environ["G3_HOSTNAME"]) as g3:
async with g3.stream_rtsp() as streams:
async with streams.scene_camera.decode() as decoded_stream:
Expand All @@ -23,7 +23,7 @@ async def access_recordings():


def main():
asyncio.run(access_recordings())
asyncio.run(stream_rtsp())


if __name__ == "__main__":
Expand Down

0 comments on commit 8dba9cc

Please sign in to comment.