iptraf

Better way is Amazon Linux and Enhanced Networking on Linux C3、C4、M4 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sriov-networking.html I think is better for performace.

繼續閱讀

1、 http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html#NATSG 1.1、Create instance form ami :ami-vpc-nat-hvm choese best new ***NAT AMI*** 1.2、 Check.IPv4 forwarding is enabled and ICMP redirects are disabled in /etc/sysctl.d/10-nat-settings.conf IPv4 forwarding =1 Run.A script located at /usr/sbin/configure-pat.sh runs at startup and configures iptables IP masquerading. Here have problem, so must delete POSTROUTING sudo iptables -t nat -D POSTROUTING 1 2、 https://holtstrom.com/michael/blog/post/400/Port-Forwarding-Gateway-via-iptables-on-Linux.html eth0 10.0.0.219 52.78.165.129 eth1 10.0.1.149 web server 10.0.1.249 iptables -vxnL –line-numbers iptables -t nat -vxnL –line-numbers

繼續閱讀

First try this demo can play on ios http://jsmpeg.com/ Second https://github.com/phoboslab/jsmpeg#encoding-videoaudio-for-jsmpeg view-stream.html (nodejs localhost:8080 maybe can see) websocket-relay.js this is use node.js then get ws server Import !! ffmpeg -re -i rtmp://xxx.xxx.xxx.xxx/live/ooo -f mpegts -codec:v mpeg1video -bf 0 -codec:a mp2 -s 640x360 -r 30 -q 4 -muxdelay 0.001 http://localhost:8081/password -re 參數表示以視頻實際播放速率解碼,不加這個參數一般會導致直播速率變得飛快 -re一定要加,代表按照帧率发送,否则ffmpeg会一股脑地按最高的效率发送数据。 -muxdelay 0.001 reduce lag (maybe no use) -q 4 Need test You’re setting -q 1, which is the best possible quality.

繼續閱讀

作者的圖片

Sue boy

Sueboy Can support You

CIO

Taiwan