我正在使用evostream,一个商业版本的rtmpd。
在用flash制作一个示例录制和回放应用程序时,我可以发布实时流,并播放它们,但不能播放 record 或附加。
netStream.publish(_streamName, "record");在闪存中使用上述方法会导致连接的关闭&服务器控制台中的一系列错误。
这是这个系列的一部分,我相信这会给我们一些启示。
...
/common/src/utils/misc/file.cpp:78 Unable to open file with mode `w+b`. Error was: (2) No such file or directory
/thelib/src/protocols/rtmp/streaming/outfilertmpflvstream.cpp:44 Unable to initialize file
/thelib/src/protocols/protocolmanager.cpp:45 Enqueue for delete for protocol CTCP(10) <-> TCP(4) <-> [IR(5)]
/thelib/src/application/baseclientapplication.cpp:262 Stream INR(2) with name `_20120626133918` unregistered from application `evostreamms` from protocol IR(5)
/thelib/src/application/baseclientapplication.cpp:262 Stream OFRFLV(3) with name `_20120626133918.flv` unregistered from application `evostreamms` from protocol IR(5)
/thelib/src/application/baseclientapplication.cpp:240 Protocol CTCP(10) <-> TCP(4) <-> [IR(5)] unregistered from application: evostreamms
/common/src/utils/misc/file.cpp:476 File not opened
/thelib/src/protocols/rtmp/streaming/outfilertmpflvstream.cpp:53 Unable to write FLV signature
/thelib/src/protocols/rtmp/basertmpprotocol.cpp:960 RTMP connection no longer associated with an application
/thelib/src/netio/epoll/tcpcarrier.cpp:89 Unable to signal data available
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 9->8 IOHT_TCP_CARRIER
...我可以从上面假设的是,由于访问权限,文件无法被创建。但是我已经将所有文件夹和文件的权限设置为完全访问。
我不知道该去哪找了。任何对如何前进有任何想法的人都可以分享它。
编辑
可以找到完整的错误日志,这里。
发布于 2012-07-26 19:19:10
我亲自测试过。看来你刚发现了一个窃听器。在下一个版本之前,我们需要创建这样一个文件:
媒体文件夹/_StreamName.flv
一点也不漂亮,但它肯定是下一个版本中的地址。另一项工作是使用记录CLI命令。
您可以将日志文件发送到contact@rtmpd.com,也可以在这里或在pastebin.com上发布所有日志文件。你删掉了其中最有趣的部分,就在你粘贴的第一行上面。
https://stackoverflow.com/questions/11665312
复制相似问题