问题描述
我正在构建流式视频服务器.现在,我必须将视频文件的序列数据(数据包)传输到客户端.但我不知道定时器滴答滴答传输数据包.如果我传输太快,客户端没有足够的时间解码和显示.我不知道它是否取决于视频文件的比特率或其他信息?我正在使用的视频文件是WMV.我用于流式传输的协议是Windows Media Http流式传输协议.我正在使用的编程语言是C#.
视频文件信息:
音频:Windows Media音频48000Hz立体声64Kbps [原始音频0]
视频:Windows Media Video 9 320x240 24.00fps 230Kbps [原始视频1]
I''m building a streaming video server. Now I must transfer sequence data (data packets) of a video file to client. But I don''t know timer tick to transfer a data packet. If i transfer too fast, client don''t have enough time to decode and display.I don''t know whether it depend on Bitrate or other information of a video file ?.Video file i''m using is WMV. Protocol i''m using to streaming is Windows Media Http Streaming protocol. Programing language I''m using is C#.
Information of video file :
Audio: Windows Media Audio 48000Hz stereo 64Kbps [Raw Audio 0]
Video: Windows Media Video 9 320x240 24.00fps 230Kbps [Raw Video 1]
Whether have formular to calculate time interval to transfer data?
推荐答案
这篇关于适当的时间间隔将视频文件流式传输到客户端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!