code: async def setup():
      
      connection = await qtm.connect("127.0.0.1")
      if connection is None:
          return
  
      await connection.stream_frames(components=["3d"], on_packet=on_packet)
docs: Main function