[英]With Flash + Adobe Media Server, how do I access a video on a directory other than _definst_
I'm using Adobe Media Server 5
to stream my videos. 我正在使用
Adobe Media Server 5
播放视频。
I can connect to my app and play videos by calling 我可以通过以下方式连接到我的应用并播放视频
NetConnection.connect([rtmp link]/[application])
And then 接着
NetStream.play([name of video])
All the files that I play by using this method are in [application]\\streams\\_definst_\\
我使用此方法播放的所有文件都在
[application]\\streams\\_definst_\\
If I want to play a file from, say \\streams\\output
instead, how would I do that? 如果我想从中播放文件,请说
\\streams\\output
,我该怎么做?
I tried creating an Application.xml
with storageDir
set to the output
directory, but that didn't work. 我尝试使用将
storageDir
设置为output
目录来创建Application.xml
,但这没有用。
This is how I did it with my Application.xml file 这就是我对Application.xml文件的处理方式
<Application>
<StreamManager>
<VirtualDirectory>
<Streams>/;[path to app]streams\output</Streams>
</VirtualDirectory>
</StreamManager>
</Application>
This, however, changes the default file that streams publish to as well. 但是,这也会更改流发布到的默认文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.