startStream
startStream
- startStream():
Promise<RoomSessionStream>- See RoomSessionStream documentation for more details.
Starts streaming the audio/video of this room to an external service. You can use the returned RoomSessionStream object to interact with the stream.
Parameters
params
Object containing the parameters of the method.
url
RTMP or RTMPS url. This must be the address of a server accepting incoming RTMP/RTMPS streams.
Returns
Promise<RoomSessionStream> - See RoomSessionStream documentation for more details.
Permissions
room.stream(or the more specificroom.stream.start)
You need to specify the permissions when creating the Video Room Token on the server side.