*** id: 7cf6cebd-4ada-4e9b-a349-fd46f7b6e74a title: startStream slug: /js/reference/video/room-session/start-stream description: startStream method for the RoomSession class. max-toc-depth: 3 ---------------- ### startStream * **startStream**(): `Promise` - See [RoomSessionStream documentation](/docs/browser-sdk/v3/js/reference/video/room-session-stream) for more details. Starts streaming the audio/video of this room to an external service. You can use the returned [RoomSessionStream](/docs/browser-sdk/v3/js/reference/video/room-session-stream) object to interact with the stream. #### Parameters Object containing the parameters of the method. RTMP or RTMPS url. This must be the address of a server accepting incoming RTMP/RTMPS streams. #### Returns `Promise` - See [RoomSessionStream documentation](/docs/browser-sdk/v3/js/reference/video/room-session-stream) for more details. #### Permissions * `room.stream` (or the more specific `room.stream.start`) You need to specify the permissions when [creating the Video Room Token](/docs/apis/video/room-tokens/create-room-token) on the server side. #### Example ```javascript const stream = await roomSession.startStream({ url: "rtmp://example.com" }); // Stop the stream after 60 seconds setTimeout(() => stream.stop(), 60000); ```