Skip to content

Script Examples

Take Out All

There are 5 different API commands that you can use to "take out all" graphics in Erizos Studio:

Take out All graphics that are currently in the PROGRAM channel

1
  Api.profile.takeOutAll();

Take out All graphics in a specific channel

1
  Api.profile.channel("MyChannel").takeOutAll();

Take out All graphics in a specific profile

1
  Api.profile("MyProfile").takeOutAll();

Take out All graphics in a specific channel in a specific profile

1
  Api.profile("MyProfile").channel("MyChannel").takeOutAll();

Take out All graphics in all channels

This is similar to the first option, but takes out graphics from all channels and not only the PROGRAM channel.

1
  Api.profile.takeOutAllFromAllChannels();