Skip to main content

Receiving Composed Streams

Receiving Composed Streams

To receiving composed streams, we need to specify options on the join method of the metered sdk.

1. join(options)

Join Method accepts options receiveVideoStreamType and receiveAudioStreamType the default is only_individual . The available options are

default: only_individual Available options:

  • none no video stream will be sent to the user.
  • only_individual: individual video stream of each participant will be sent to the user
  • only_composed: this option only works when composition is turned on in the meeting room, if only_composed is selected then only the composed video stream is sent to the user.
  • all: both individual and composed stream is sent to the user.

You need to set it to either only_composed or all to be able to record composed streams.

You can learn more about the Method here