How do I record (re-publish) while simulcasting on SFU?

sangsoo

Member
Hello.
I have a question about SFU functions with Simulcast.
- https://docs.flashphoner.com/display/WCS52EN/SFU+functions+with+Simulcast
- sfu_bridge_enabled=true

-----Version info-----
wcs_version=5.2.2279-d930fa3f9060e1b7e872c5d01a886c3a797e6731
wcs_client_version=2.0.258-054d9ffdbefd4be3e8f25fb4e32c0791c4bb34bf

When I am simulcasting my cam with video and audio,
do I record(or Re-publish) the stream created by the mixer with video and audio?
I am wondering if there is a simpler way.
Thank you.
 
Last edited:

Max

Administrator
Staff member
Good day.
The bridge function converting SFU tracks to WCS streams may be unstable, we do not recommend to use it in production.
You can try multiple streams recording to record a multiple streams to the same file.
 

sangsoo

Member
Thanks for your reply.

Additionally, how do I do a YouTube Live (Re-Publish) in this situation?
I need to include both the selected video and audio, but I'm not sure how to do that.
Should I re-publish after mixing the stream?
Thank you.
 

Max

Administrator
Staff member
Should I re-publish after mixing the stream?
Yes, you should mix audio and video streams, then republish the mixer output stream. Note that you should disable displaying audio only streams as black squares in mixer (that is enabled by default)
Code:
mixer_show_separate_audio_frame=false
 

sangsoo

Member
I have another question.
I'm trying to use Mixer, but I can't find the stream name without the bridge option.
When I use the SFU client, outgoing and ingoing information is collected in /sfu/stats, but the stream information required for mixing is missing.
I'm looking for a way to go live (RTMP) while using SFU.

Please tell me how to mix the selected video and audio.
Thank you.
 

Max

Administrator
Staff member
SFU subsystem is separated from streaming subsystem inside WCS core. So you cannot mix or record SFU tracks at server side.
The option is to use Selenium, OBS or similar tools capturing screen with audio at client side. For example:
1. Open SFU conference web page
2. Start OBS with window capture and audio output capture sources
3. Record OBS strem or republish it via RTMP
We raised the ticket WCS-4591 to find a working headless solution.
 

sangsoo

Member
Oh~ I understood from your previous response that it was possible. That's disappointing.

We plan to migrate the service developed with roomApp to the sfuApp platform.
We'll try using the bridge option (not recommended for production) and wait for support on ticket 4591.

Looking forward to good news.
Thank you.
 
Top