This is an old revision of the document!
Ficsorok
========
stream enable/disable
---------------------
app.xml - Connections/AllowAccept (true/false)
majd ZMQ app stop (vhost, app, target: *)
vhost enable/diable
-------------------
nem találtam lehetőséget rá :(
úgy tűnik ki kell venni a vhosts.xml-ből
majd ZMQ vhost stop, utana start (vhost, app ures, target: *)
filter ip
---------
appl.xml - Connections/AllowDomains (comma delimited IP)
one time url
-------------
app.xml - properties:
<Property>
<name>streamKey</name>
<value><value> - 128 bájtos random alphanum
<type>String</type>
</Property>
<Property>
<name>streamCreateTime</name>
<value><value> - timestamp, csak létrehozáskor, módosításkor nem változik
<type>Integer</type>
</Property>
output stream
-------------
Transcode/Encodes/Encode/Enable: true/false
Transcode/Encodes/Encode/Name: <suffix>
Transcode/Encodes/Encode/StreamName: mp4:${SourceStreamName}_<suffix>
FramSize/Width
FramSize/Height
StreamGroups/StreamNameGroup/Name: ${SourceStreamName}_all
StreamGroups/StreamNameGroup/Members:
<Member>
<EncodeName>source</EncodeName> - encode-bol kell a source, a tobbi az output
</Member>
<Member>
<EncodeName></EncodeName> - <suffix>
</Member>
...
vod
---
- app.xml
Streams/StreamType: file
Streams/StorageDir:
vod: <storage path>/<partnerid>/<vhostid>/content/vod/<streamid>
otvod: <storage path>/<partnerid>/<vhostid>/content/otvod/<streamid>
Streams/KeyDir: <storage path>/<partnerid>/<vhostid>/keys
Client/Access/StreamReadAccess: *
Client/Access/*: <empty>
Modules:
<Module>
<Name>AppStreams</Name>
<Description>AppStreams</Description>
<Class>com.doclerweb.dwsc.AppStreams</Class>
</Module>
live - origin
-------------
- app.xml
Streams/StreamType: liverepeater-origin | liverepeater-origin-record (ha nincs rogzites, akkor elso)
Streams/StorageDir:
vod: <storage path>/<partnerid>/<vhostid>/content/vod/<streamid>
otvod: <storage path>/<partnerid>/<vhostid>/content/otvod/<streamid>
Streams/KeyDir: <storage path>/<partnerid>/<vhostid>/keys
Client/Access/StreamReadAccess: *
Client/Access/StreamWriteAccess: <streamid> - a megadott sztringgel kezdodo streameket engedi publikalni
Transcoder:
<Transcoder>
<LiveStreamTranscoder>transcoder</LiveStreamTranscoder> - ha nincs trancoding, akkor ures
<Templates></Templates> - <streamid>.xml
<ProfileDir><storage path>/<partnerid>/<vhostid>/conf/<streamid>/<streamid>.xml</ProfileDir>
<TemplateDir><storage path>/<partnerid>/<vhostid>/conf/<streamid>/<streamid>.xml</TemplateDir>
</Transcoder>
Modules:
<Module>
<Name>ModuleRTMPAuthenticate</Name>
<Description>ModuleRTMPAuthenticate</Description>
<Class>com.wowza.wms.security.ModuleRTMPAuthenticate</Class>
</Module>
<Module>
<Name>AppStreams</Name>
<Description>AppStreams</Description>
<Class>com.doclerweb.dwsc.AppStreams</Class>
</Module>
Properties:
<Property>
<Name>rtmpEncoderAuthenticateFile</Name>
<Value>${com.wowza.wms.context.VHostConfigHome}/conf/publish.password</Value> - létre kell hozni a password file-t
</Property>
<Property>
<name>maxStreams</name>
<value><value> - outgoing streams + 1
<type>Integer</type>
</Property>
live - edge
-------------
- app.xml
Streams/StreamType: liverepeater-edge
Streams/StorageDir:
vod: <storage path>/<partnerid>/<vhostid>/content/vod/<streamid>
otvod: <storage path>/<partnerid>/<vhostid>/content/otvod/<streamid>
Streams/KeyDir: <storage path>/<partnerid>/<vhostid>/keys
Streams/LiveStreamPacketizers: cupertinostreamingrepeater,smoothstreamingrepeater,sanjosestreamingrepeater
Client/Access/StreamReadAccess: *
Client/Access/StreamWriteAccess: <empty>
partner
-------
- authentication.xml
ahol:
Authentication/Methods/Method/Name = "admin-digest" | "admin-basic"
Properties/Property/Name = passwordFile
pw file url: /srv/dwsc/default/conf/admin.password
- vhost.xml
3 HostPort:
VHost/HostPortList/HostPort/IpAddress: <private>
VHost/HostPortList/HostPort/Port: <computed>
VHost/HostPortList/HostPort/IpAddress: <public>
VHost/HostPortList/HostPort/Port: 80,1935
VHost/HostPortList/HostPort/IpAddress: <private>
VHost/HostPortList/HostPort/Port: 8086
HTTPProviders:
<HTTPProvider>
<BaseClass>com.doclerweb.dwsc.LVSStatus</BaseClass>
<RequestFilters>lvs*</RequestFilters>
<AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>
Ez meg valami advanced módba:
HandlerThreadPool/PoolSize: 120
TransportThreadPool/PoolSize: 80
IdleWorkers/WorkerCount: 4
HTTPTunnel/KeepAliveTimeout: 2000
Client/ClientTimeout: 90000
Application/ApplicationTimeout: 60000
Application/PingTimeout: 12000
NetConnections/SocketConfiguration/AcceptorBackLog: 1000