*** id: b02aad92-cf64-40b2-ae69-44cb2504a8c6 title: 'off' slug: /js/reference/video/room-session/off description: off method for the RoomSession class. max-toc-depth: 3 ---------------- ### off * **off**(`event`, `fn?`) Remove an event handler. #### Parameters | Name | Type | Description | | :------ | :------- | :-------------------------------------------------------------------------------------------------------- | | `event` | `string` | Name of the event. See the list of [events](/docs/browser-sdk/v3/js/reference/video/room-session/events). | | `fn?` | Function | An event handler which had been previously attached. |