question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting metadata from a connected room

See original GitHub issue

Hi,

I was wondering if its possible to access the metadata of a connected room.

the metadata is available using the client.getAvailableRooms() method

client.getAvailableRooms('map', (rooms, err) => {
  rooms.forEach((room) => {
   console.log(room.metadata) // Here it is
  })
})

but once you connect to a room we loose access:

client = new Client(ENDPOINT)
room = this.client.join('map')

room.metadata // Nothing here...

I saw that RoomAvailable has the metadata attribute, but Room itself doesn’t.

Is it possible to pass this attribute to the connected Room instance?

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gmfccommented, Feb 20, 2019

The immediate thing does it! Thanks again!

1reaction
endelcommented, Feb 20, 2019

@gmfc Thanks! The listen method accepts a third argument which means “immediate” - that will trigger the changes immediately:

this.room.listen('something', (change) => {}, true);

I just noticed this hasn’t been documented 🤔

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Outlook's Room Finder Uses Metadata from the Places ...
The Outlook Places service uses metadata stored for conference rooms and room lists to help users find suitable meeting places.
Read more >
Room Metadata | Dyte Docs
All metadata pertaining to a meeting is stored in meeting.meta . This includes: roomName : The name of the room the current participant...
Read more >
Embedding Metadata within a Video Stream
Viewing Timed Metadata · Open the Amazon IVS console . · In the top left, choose the hamburger icon to open the navigation...
Read more >
Where can I find metadata for USGS products?
Metadata for USGS data can be found in the USGS Science Data Catalog or on the repository serving the data. USGS data that...
Read more >
Metadata in Data Warehouse (ETL) Explained With Examples
You will also get to know what is metadata-driven ETL and the ... #2) Front room Metadata: Directs the end-users to work with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found