cors wowza 3.5 setting...

In Wowza3.5, we have set the following to apply CORS, but this is not applicable.

  1. make httpHeader.jar and add /lib folder

[httpHeader.java sorce]

package com.vermontinternetdesign.module;

import com.wowza.wms.httpstreamer.model.IHTTPStreamerSession;

import com.wowza.wms.application.*;

import com.wowza.wms.module.*;

import com.wowza.wms.client.*;

import com.wowza.wms.amf.*;

import com.wowza.wms.request.*;

public class httpHeader extends ModuleBase {

public void onAppStart(IApplicationInstance appInstance) { }

public void onHTTPSessionCreate(IHTTPStreamerSession httpSession){ getLogger().info("ModuleHTTPTestPlayStart.onHTTPSessionCreate: "+httpSession.getSessionId()); httpSession.setUserHTTPHeader(“Access-Control-Allow-Origin”, “*”); }

public void doSomething(IClient client, RequestFunction function, AMFDataList params) { }

}

  1. add a property in /conf/vod/Application.xml

cupertinoUserHTTPHeaders

Access-Control-Allow-Origin: *

I wonder if the setting is wrong or if I can not use CORS in Wowza3.5.

please answer about my question.

Hello,

It will not work in Wowza 3.5. Custom CORS headers were not an option until Wowza version 3.6.4.

Regards,

Andy E.

@Andy Engberson Hi, if I need to upgrade my wowza to 3.6.4, would my perpetual license of wowza 3.1.1 work for that version of wowza also?