wowza HTTPProvider 不生效

有个直播播控项目需要用到wowza,所以写了个wowza的插件,由于系统测试和上线隔得时间比较久,测试的时候一起正常,插件用的也很好,到今天正式环境部署却HTTPProvider 不生效,

<HTTPProvider>
    <BaseClass>com.cnlive.wowza.plugins.RestartApplication</BaseClass>
    <RequestFilters>cnlive/restart*</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>
<HTTPProvider>
    <BaseClass>com.cnlive.wowza.plugins.HTTProviderInfoXML</BaseClass>
    <RequestFilters>cnlive/info*</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>
<HTTPProvider>
    <BaseClass>com.cnlive.wowza.plugins.HTTProviderSwitch</BaseClass>
    <RequestFilters>cnlive/switchStream*</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>
<HTTPProvider>
    <BaseClass>com.cnlive.wowza.plugins.HTTProviderStreams</BaseClass>
    <RequestFilters>cnlive/streams*</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>

经过一下午折腾才发现,wowza对 用户自己定义的HTTPProvider 需要 放在wowza本身HTTPProvider 的前面。
即:

<HTTPProviders>
    <自定义HTTPProvider>

    <wowza本身HTTPProvider>
<HTTPProviders>

虽然是小问题,也记录一下,每天进步一点点。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值