In case 'Videoroom -> Streaming' with h.264 simulcast, Only a substream can be chosen.

389 views
Skip to first unread message

Hyunseop Han

unread,
Jul 2, 2019, 4:59:26 AM7/2/19
to meetecho-janus
Hello, everyone.

I tried simulcast broadcasting with h.264, but I cannot change to another substream by a configure command.
(VP8 is worked very well. But not h.264...)

My scenario is next:
chrome M75 -> Videoroom(rtpForward) -> Streaming -> chrome M75

I checked videoroom got two substreams, and streaming got two from videoroom by janus log.
But I cannot get high-quality substream, even I sent configure command with {substream:2}.
There is no change in substream's value. (always 0);

In the if sentence, janus looks like to support VP8 simulcast only on streaming_plugin.

So I put '|| janus_h264_is_keyframe(...)' in the sentence, finally, I got the high-quality substream1. 
But I got SRTP protect error:srtp_err_status_replay_old when I choose low-quality substream0.
I think 2 Stream from Videoroom arrived at Streaming definitely. 

Questions
1. Is streaming_plugin supported simulcast width h.264? I thought Videoroom supports it, so do streaming_plugin.
2. If streaming_plugin support it, are there any pieces of advice? please.

Thanks,
Hyunseop.

Lorenzo Miniero

unread,
Jul 2, 2019, 7:15:59 AM7/2/19
to meetecho-janus
I can't remember if we ever tested H.264 simulcasting with the Streaming plugin, but it should work. I'll check later if there was any regression.

Lorenzo

Hyunseop Han

unread,
Jul 3, 2019, 4:34:32 AM7/3/19
to meetecho-janus
Thanks for your answer.

I will try it more and report it if I get more info.

Hyunseop.

2019년 7월 2일 화요일 오후 8시 15분 59초 UTC+9, Lorenzo Miniero 님의 말:

Lorenzo Miniero

unread,
Jul 4, 2019, 1:03:21 PM7/4/19
to meetecho-janus
Should be fixed in this commit (which also adds some more improvements, especially if RTCP is configured)

Please let me know if that's not the case,
Lorenzo

Hyunseop Han

unread,
Jul 4, 2019, 10:05:33 PM7/4/19
to meetecho-janus
With the commit, h.264 Simulcast is worked!

Thank you so much, Lorenzo!


2019년 7월 5일 금요일 오전 2시 3분 21초 UTC+9, Lorenzo Miniero 님의 말:
Reply all
Reply to author
Forward
0 new messages