Hi,
Firt of all i'm new to flasphoner I previously used a lot of other media servers but now i think FP will be new prefered choice
I'm trying to build a homogenous strategy for protecting my broadcasters. I Use WebRTC and RTMP/OBS. I succeed to create a "Twitch like" experience where stram_name is used to authenticate the broadcaster so that I can start a broadcast by using the
In WebRTC I receive the
Firt of all i'm new to flasphoner I previously used a lot of other media servers but now i think FP will be new prefered choice
I'm trying to build a homogenous strategy for protecting my broadcasters. I Use WebRTC and RTMP/OBS. I succeed to create a "Twitch like" experience where stram_name is used to authenticate the broadcaster so that I can start a broadcast by using the
"restPolicy":"OVERWRITE"
like here: https://docs.flashphoner.com/display/WCS5EN/Type+2+-+the+direct+invoke and renaming the stream name that is shown to end-users. So that they can't hijack the original stram name and start a broadcast as a broadcaster. this Works for my OBS with RTMP setup. However, I can't manage to make it work with WebRTC.In WebRTC I receive the
"StreamStatusEvent"
with "status" => "PUBLISHING
and the new stream name that I've renamed. However, on the client-side, the player doesn't play the video with a new name on my backend I receive a webhook with "status" => "PLAYING", but width => 0 and height 0.
So in browser but I have no video and then eventually I receive another event with "info" => "Failed by RTP activity" and "status" => "FAILED"
but correct "width" => 426, and "height" => 240
. Maybe in WebRTC stream name is important and can't be changed? So my question is is it possible to make stream rename work with WebRTC? If not I will generate new stream name for each webrtc broadcast.