【发布时间】:2026-02-16 12:05:01
【问题描述】:
我正在尝试在 Wowza 服务器上安排播放列表,以便连续播放视频(如电视频道)。我开始学习本教程:
在 /usr/local/WowzaStreamingEngine/conf/Server.xml 我在 ServerListeners 中添加了这个:
<ServerListener
<BaseClass>com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher</BaseClass>
</ServerListener>
在/usr/local/WowzaStreamingEngine/conf/Application.xml 我在模块中添加了这个:
<Module>
<Name>streamPublisher</Name>
<Description>Schedules streams and playlists.</Description>
<Class>com.wowza.wms.plugin.collection.module.ModuleStreamPublisher</Class>
</Module>
我在/usr/local/WowzaStreamingEngine/content/ana.smil 中创建了一个包含以下内容的 smil 文件:
<?xml version="1.0" encoding="UTF-8"?>
<smil>
<head>
</head>
<body>
<stream name="live"></stream>
<playlist name="pl1" playOnStream="live" repeat="true" scheduled="2013-09-25 16:00:00">
<video src="mp4:sample.mp4" start="5" length="5"/>
<video src="mp4:sample.mp4" start="50" length="5"/>
<video src="mp4:sample.mp4" start="150" length="5"/>
</playlist>
</body>
</smil>
我重新启动了服务器...
现在我期待看到流“通过名为“live”的流“直播”进入我的应用程序...但没有显示。
我想我错过了一步,可能添加了streamPublisherSmilFile 属性,正如我在上面发布的 Wowza 链接中所说的那样......但是我在哪里设置呢?
感谢您的帮助。 问候, 约翰
【问题讨论】:
标签: video-streaming wowza