Expand my Community achievements bar.

SOLVED

stream continuity across room switch

Avatar

Level 2

In our application, users move from room to room regularly.  Ideally we would like their video feed to remain on screen during the switch.  Is that possible with LCCS?

If we used custom components instead of rtc:WebcamPublisher and the accompanying subscriber and audio components, would it be possible to have stream continuity during a room switch?

Would it be possible to publish into a second room so that the stream could be kept alive during a room switch (so the user would be in two rooms simultaneously)?

Or, is it possible to tie a subscriber to the local data being captured by the camera so that we can give the illusion of stream continuity?  In other words, can we tell the subscriber to disregard the network and just display the local capture regardless of whether we are in a room?  The low latency suggests that it is already doing this, displaying without waiting for the round trip.

ChatRoulette does this pretty well.  I presume that their back end is Flash Media Server-based.  Is that a better platform for the continuity I want?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Hi Sauce,

What you could do is just leave your old connection open while you sync up to the new room - as soon as you get synched, swap to a publisher in a new ConnectSession, and kill the old session.

Alternatively, you can definitely extend webcamsubscriber and webcampublisher so that it keeps your local stream on all the time, even when you're not connected. Maybe if you ask Hironmay reeeeaaaally nicely, he'll try to help you out .

  nigel

View solution in original post

3 Replies

Avatar

Correct answer by
Former Community Member

Hi Sauce,

What you could do is just leave your old connection open while you sync up to the new room - as soon as you get synched, swap to a publisher in a new ConnectSession, and kill the old session.

Alternatively, you can definitely extend webcamsubscriber and webcampublisher so that it keeps your local stream on all the time, even when you're not connected. Maybe if you ask Hironmay reeeeaaaally nicely, he'll try to help you out .

  nigel

Avatar

Level 2

So you're saying it is possible to be logged into two rooms at once.

Avatar

Former Community Member

You know it!

(Actually, I've had apps that connect to 100s of rooms at once. Can't broadcast your camera to them all though).

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----