Media Foundation ::如何限制在频道流媒体播放期间创建的临时互联网文件夹中.dat文件的大小? [英] Media Foundation ::How can i limit the size of .dat file in temporary internet folder,created during streaming of channels?

查看:99
本文介绍了Media Foundation ::如何限制在频道流媒体播放期间创建的临时互联网文件夹中.dat文件的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


问题::在我的Windows应用程序中,当我从电视流式传输到应用程序时,它开始以.dat文件的形式缓冲临时Internet文件夹中的数据。此文件的大小不断增加,直到流式传输为止在一小时的文件大小。达到
到1.0 GB。



我正在使用媒体基础技术并使用URL进行频道流媒体。



问题:我如何设置.dat文件的限制或修复大小限制后删除文件的方式是什么。所以我可以保存我的C盘空间。我想在流式传输期间删除此文件或重新使用.dat文件后固定大小。



或流式传输需要这种缓冲机制吗?

解决方案

您可以在注册表中设置它:


[QWord,bytes ] HKCU \Software \ Mycoftoft \ Windows Media Foundation \ Network \CacheDiskQuota

[QWord,seconds] HKCU \ Software \ Mysoftoft \ Windows Media Foundation \ Network \CacheTimeQuota


Problem ::In my Windows application when i do streaming from TV to Application,it start buffering data in temporary internet folder in the form of .dat file.Size of this file keeps on increasing until streaming is running.In an hour size of file approx. reaches to 1.0 GB.

I am using media foundation technique and use URL for channel streaming.

Question: How i can set limit on .dat file or what is the way to delete the file after a fix size limit.so that i can save my C drive space.I want to delete this file during streaming or reuse the .dat file after a fixed size.

or this buffering mechanism is required for streaming??

解决方案

You can set it in the registry:

[QWord, bytes] HKCU\Software\Microsoft\Windows Media Foundation\Network\CacheDiskQuota
[QWord, seconds] HKCU\Software\Microsoft\Windows Media Foundation\Network\CacheTimeQuota


这篇关于Media Foundation ::如何限制在频道流媒体播放期间创建的临时互联网文件夹中.dat文件的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆