omni.kit.widget.live_session_management#

Classes Summary:

LiveSessionCameraFollowerList

Widget to build a user list to show all followers of the specific camera.

LiveSessionModel

Omni UI model for omni.ui.Combobox, which can be used to build a customized combobox for listing, watching, and selecting Live Sessions for a specific layer.

LiveSessionUserList

Widget to build a user list to show all live session users of the interested layer.

Functions Summary:

build_live_session_user_layout

Utility function to build an user icon widget with user information.

is_viewer_only_mode

Return True if viewer only mode is enabled based on settings.

reload_outdated_layers

Reloads outdated layer. It will show a prompt to the user if the layer is in a Live Session.

stop_or_show_live_session_widget

Stops current live session or shows widget to join/leave session. If current session is empty, it will show the session start dialog. If current session is not empty, it will stop session directly or show stop session menu.