Options to watch to a stream.
Optional
Token to subscribe to secure streams. If you are subscribing to an unsecure stream, you can omit this param.
import { Room } from '@millicast/sdk-interactivity';const room = new Room({ streamName, streamAccountId,});await room.watch({ subscriberToken: 'SUBSCRIBER_TOKEN'}); Copy
import { Room } from '@millicast/sdk-interactivity';const room = new Room({ streamName, streamAccountId,});await room.watch({ subscriberToken: 'SUBSCRIBER_TOKEN'});
Options to watch to a stream.