Flussonic Channel to Stalker

301 views
Skip to first unread message

Edy

unread,
Aug 17, 2016, 8:44:19 PM8/17/16
to Stalker Middleware
Hello,

hope that somebody can help me in this case.

1. I have added 1 Stream to Flussonic with 2 Sources (Main Stream + Backup Channel)
2. This Flussonic Link i have put in my Stalker Middleware
3. The Problem what i have: 

when Main Stream is down, Flussonic takes backup channel, but every time when Flussonic takes backup channel i have no audio, i must switch to another channel than switch back to have audio.

Does anybody know why ? Is there anything in the stalker or flussonic config what i must change to solve this Problem ?

Thanks in forward for every help.


Max Lapshin

unread,
Aug 18, 2016, 5:26:12 AM8/18/16
to Stalker Middleware
Show ffmpeg -i output of your primary and backup sources.

Edy

unread,
Aug 18, 2016, 6:41:46 AM8/18/16
to Stalker Middleware
can you write me the full command what i have to type in Putty ?

Max Lapshin

unread,
Aug 18, 2016, 3:21:33 PM8/18/16
to Stalker Middleware

smirnof

unread,
Aug 19, 2016, 11:31:58 AM8/19/16
to Stalker Middleware
is it possible to have 2 stalker portals in 1 flussonic for tmp links?
i tried the 2 backend lua script but didn't worked for me.

Thanks

Max Lapshin

unread,
Aug 19, 2016, 12:57:28 PM8/19/16
to Stalker Middleware
Yes, of course.  Our lua script is working. If you had any problems, perhaps you need to open a support ticket.

smirnof

unread,
Aug 19, 2016, 3:01:32 PM8/19/16
to Stalker Middleware
If I use the sctipr this way, should it work? 

 
function convert_reply(reply)
  if reply.code == 200 then
    t = {}
    if reply.headers["x-authduration"] then
      t["auth_time"] = tonumber(reply.headers["x-authduration"])
    end
    if reply.headers["x-max-sessions"] then
      t["max_sessions"] = tonumber(reply.headers["x-max-sessions"])
    end
    if reply.headers["x-userid"] then
      t["user_id"] = reply.headers["x-userid"]
    end
    return true, t
  else
    return false,{["code"] = reply.code}
  end
end



reply1 = http.get("http://STALKER1/stalker_portal/server/api/chk_flusso
nic_tmp_link.php"..http.qs_encode(req))

status1, headers1 = convert_reply(reply1)
if status1 then
  return status1, headers1
end

reply2 = http.get("http://STALKER2/stalker_portal/server/api/chk_flusso
nic_tmp_link.php"
..http.qs_encode(req)) status2, headers2 = convert_reply(reply2)  
return status2, headers2 

Edy

unread,
Aug 22, 2016, 8:40:16 PM8/22/16
to Stalker Middleware
As i have heard from other users, i am not the only one with the audio problem when Flussonic takes the backup channel.

I tried many streams, all works fine than when Flussonic switch to backup no audio.
Reply all
Reply to author
Forward
0 new messages