Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

hi,about the publisherIds

Avatar

Not applicable

hi,mate

i have following code:

<rtc:WebcamSubscriber publisherIDs="{[]}" width="50%" height="50%"/>

as the doc said,if you take publisherIDs with zero lengh array,then you would accept all default published stream,right?

but when i try this,i dont work(does not show anything).When i set up the paramters with "{[source_id]}",it works like a charm.

Can somebody tell my why?

thanks!

0 Replies

Avatar

Level 10

HI Vincent,

There's no need to start the subscriber with a blank array - it will default to showing everyone's streams.

  nigel