streamPublisher

Hi Alex,

In StreamPublisher the Server properties are set to:

streamPublisherVHost defaultVHost

streamPublisherApplication live/definst

I want to have multiple Applications with different content roots like

streamPublisherApplication live1/definst

But I get error as I cannot define a 2nd application.

Also in the smil script, can I have

Hi ,

you can use subdirectory name in SMIL, yes.

But you can’t use the module to create streams under multiply Wowza applications (content directories).

Thanks you
I was able to create multiple streams however I noticed something

I MUST Restart the Server before any changes can take effect rather than the Application.

.e.g any changes made to the *.smil file does not apply with restart of Application.

Is there a better way, without breaking live streams from another Application?

curl -X PUT \
-H 'Accept:application/json; charset=utf-8' \
[http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/actions/restart](http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/actions/restart)

For more info on how to restart the application and other related tasks:

https://www.wowza.com/docs/application-management-query-examples#restart

If you will require to change playlist without server or Application restart you may post the question in Hire A Consultant space

Hi while trying to use Swagger to run commands I get this errors

<?xml version="1.0" encoding="UTF-8" standalone="no"?><error><wowzaServer>4.8.0</wowzaServer><code>403</code><message>Your IP address (192.168.1.200) has been blocked</message></error>

but server.xml has:

none

127.0.0.1

Am running the REST API Doc from a Web server on the same network

http://192.168.1.7/wowza/?baseUrl=http%3A%2F%2F192.168.1.20%3A8089%2Fapi-docs#!/applications

Hi,

I used the code and it returned:

{“success”:true,“message”:“Application (testlive) shutdown”,“data”:null}
But the Application did not restart but stopped working

I then used

curl -X PUT \
-H 'Accept:application/json; charset=utf-8' \
[http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/actions/start](http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/actions/restart)

It would not work, I had to restart from the restart through "Server|Server Setup|Restart

This shutdown all running services.

I tried using

curl --digest -u user:pass http://localhost:8086/schedules?appName=testlive&action=reloadSchedule

but the schedule did not refetch also.

Looks like StreamScheduling ONLY works with server restarts.