Switching between live streams

Hello,

Stream.play allows to switch between live streams.

Is it possible to create 2 out streams with Stream.newIntance and use 2 in streams for out streams?

Example input Live1 and Live2. Create New1 and New2. Switch New1 between Live1 and Live2 and switcher New2 between Live1 and Live2?

Currently done this, but second New2 stream is allways blank, i.e. no Live1 nor Live2 is visible.

Take a look at this technique:

How to switch streams using Stream class streams

For a lower-level API, take a look at the IPublishingProvider API

How to use IPublishingProvider API to publish server-side live streams

Regards,

Salvadore