【发布时间】:2013-03-31 15:57:48
【问题描述】:
通过这段代码,我可以在 iPhone 中看到我的桌面流:
vlc -I dummy screen:// vlc://quit --sout='#transcode{threads=300,width=554,height=367,fps=30,vcodec=h264,vb=500000,venc=x264{aud,profile=baseline,level=30,keyint=30,bframes=0,ref=1}}:duplicate{dst=std{access=livehttp{seglen=10,delsegs=true,numsegs=100,index=/var/www/streaming/mystream.m3u8,index-url=http://localhost/streaming/mystream-########.ts},mux=ts{use-key-frames},dst=/var/www/streaming/mystream-########.ts}};
但是我有一个很大的延迟,比如 30-40 秒...你知道如何减少这个延迟吗?
我想要的是:
• 在 iPhone 中清晰地流式传输 600x400 窗口的桌面
• 没有音频
• 1-2 秒的最大延迟
你知道怎么做直播吗?
【问题讨论】:
-
您使用的是同步还是异步的连接方式。
-
我认为是 wifi 局域网...
标签: ios objective-c linux stream vlc