Skip to main content

endSession()

Ends the current panel session and keeps the SDK running.

Syntax​

m.maestro.callFunc("endSession")

Parameters​

This function takes no parameters.

Returns​

This function does not return a value.

Example​

' The viewer left playback but the panel node stays in the scene
m.maestro.callFunc("endSession")

Notes​

  • Stops the panels' timers, closes a panel view in progress, sends the session-end analytics and drops the player timecode.
  • Panels stay built and observers stay in place. Setting config again starts a new session.
  • When the viewer leaves for good, call destroySDK() instead.