This shows you the differences between two versions of the page.
dwsc:xmlupdate [2013/04/14 16:54] efpe |
dwsc:xmlupdate [2013/04/16 22:52] (current) ivan [Folyamatban] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Ficsorok ===== | ===== Ficsorok ===== | ||
==== Folyamatban ==== | ==== Folyamatban ==== | ||
+ | |||
+ | === partner === | ||
+ | <del>azt beszeltuk, hogy fix lesz:</del> kesz<code> | ||
+ | |||
+ | - authentication.xml | ||
+ | ahol: | ||
+ | Authentication/Methods/Method/Name = "admin-digest" | "admin-basic" | ||
+ | Properties/Property/Name = passwordFile | ||
+ | pw file url: /srv/dwsc/default/conf/admin.password | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | - 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 | ||
+ | |||
+ | </code> | ||
+ | |||
+ | ==== Kesz ==== | ||
+ | |||
+ | |||
+ | === filter ip === | ||
+ | <code> | ||
+ | appl.xml - Connections/AllowDomains (comma delimited IP)</del> | ||
+ | </code> | ||
+ | |||
+ | === one time url === | ||
+ | <code> | ||
+ | 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> | ||
+ | </code> | ||
+ | |||
=== stream enable/disable === | === stream enable/disable === | ||
<code> | <code> | ||
Line 12: | Line 76: | ||
úgy tűnik ki kell venni a vhosts.xml-ből | úgy tűnik ki kell venni a vhosts.xml-ből | ||
majd ZMQ vhost stop, utana start (vhost, app ures, target: *) | majd ZMQ vhost stop, utana start (vhost, app ures, target: *) | ||
- | </code> | ||
- | |||
- | === output stream === | ||
- | <code> | ||
- | |||
- | 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> | ||
- | ... | ||
</code> | </code> | ||
Line 51: | Line 96: | ||
</Module> | </Module> | ||
</code> | </code> | ||
+ | |||
+ | === live - edge === | ||
+ | <code> | ||
+ | |||
+ | - 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> | ||
+ | </code> | ||
+ | |||
+ | === output stream === | ||
+ | <code> | ||
+ | |||
+ | Transcode/Encodes/Encode/Enable: true/false | ||
+ | Transcode/Encodes/Encode/Name: <suffix> | ||
+ | Transcode/Encodes/Encode/StreamName: mp4:${SourceStreamName}_<suffix> | ||
+ | Transcode/Encodes/Encode/Video/FrameSize/Width | ||
+ | Transcode/Encodes/Encode/Video/FrameSize/Height | ||
+ | Transcode/Encodes/Encode/Video/Bitrate | ||
+ | |||
+ | 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> | ||
+ | ... | ||
+ | </code> | ||
+ | |||
=== live - origin === | === live - origin === | ||
Line 96: | Line 177: | ||
</code> | </code> | ||
- | === live - edge === | ||
- | <code> | ||
- | |||
- | - 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> | ||
- | </code> | ||
- | |||
- | === partner === | ||
- | <code> | ||
- | |||
- | - 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 | ||
- | |||
- | </code> | ||
- | |||
- | ==== Kesz ==== | ||
- | |||
- | |||
- | === filter ip === | ||
- | <code> | ||
- | appl.xml - Connections/AllowDomains (comma delimited IP)</del> | ||
- | </code> | ||
- | |||
- | === one time url === | ||
- | <code> | ||
- | 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> | ||
- | </code> | ||