Wowza Community

schedule stream target in wowza engine

Hi

I’m using stream target to send my streaming to facebook live, but how can I schedule to publish automatic ? is possible?

Thks

what about a cron job ? what do u mean by “automatic” ?

u could do this if we had more infos about the rest api…the process would be:

login to fb and extend your token life (get a long lived token)

store this token in db or whatever

create a cron job calling a php page that login to fb, retrieve the streamId, url etc

post to wowza rest to create the stream target

but so far there is something wrong (or not documented/explained) in wowza regarding the token: a token generated with login button is not working, but the (enctrypted) token generated from the manager works…

i guess wowza team is aware of this issue:it’s mentionned in the facebook stream doc that “resaving” a stream created from the rest api will fix the token issue. i can confirm this point, but still waiting for news from Wowza…

For example I need to send 4 different streaming to facebook (also to 4 different facebook accounts) at 7AM every day … Now I woke up early and do the job manually, I would like to schedule this task so my server can do the job for me. Do you know how can I do this?

Hello,

We suggest that you update to the latest version of Wowza Streaming Engine 4.5.0.01 (just released), as this does include some Stream Target fixes related to the token process with Facebook.

You should be able to find this update by logging into your Wowza portal My Account and selecting the My Downloads tab.

How to update your Wowza Streaming Engine installation

Best regards,

Andrew