rewrote average as a for loop
rewrote average as a for loop

TribeMedia/samples,martin7890/samples,Roarz/samples,jiayliu/apprtc,jiayliu/apprtc,bbandaru/samples,jessetane/testrtc,jjrasche/cell-based-RC-control,bemasc/samples,xdumaine/adapter,fippo/apprtc,martin7890/samples,xdumaine/samples,YouthAndra/apprtc,JiYou/apprtc,YouthAndra/apprtc,todotobe1/samples,fitraditya/samples,Edward-Shawn/samples,pquochoang/samples,webrtc/testrtc,EmreAkkoyun/sample,arnauorriols/apprtc,myself659/samples,dajise/samples,bemasc/samples,mvenkatesh431/apprtc,jarl-alejandro/apprtc,virajs/testrtc,TheKnarf/apprtc,oliverhuangchao/samples,smayoorans/samples,juberti/samples,kod3r/samples,guoweis/webrtc,fippo/apprtc,Acidburn0zzz/adapter,procandi/samples,ralic/testrtc,bpyoung92/apprtc,tsruban/samples,calebboyd/adapter,Edward-Shawn/samples,TheKnarf/apprtc,TribeMedia/apprtc,webrtc/apprtc,tsruban/samples,fippo/webrtc,Edward-Shawn/samples,JiYou/apprtc,jan-ivar/samples,smbale/samples,todotobe1/apprtc,smadhusu/AppRTC,TheKnarf/apprtc,taylor-b/samples,jjrasche/cell-based-RC-control,virajs/samples,arnauorriols/apprtc,82488059/apprtc,bpyoung92/apprtc,webrtc/samples,webrtc/apprtc,dengshaodong/docker-apprtc,EmreAkkoyun/sample,bpyoung92/apprtc,4lejandrito/adapter,aadebuger/docker-apprtc,shelsonjava/testrtc,knightsofaa/webrtc,virajs/apprtc,dengshaodong/docker-apprtc,mvenkatesh431/samples,pquochoang/samples,TheKnarf/apprtc,webrtc/apprtc,TribeMedia/apprtc,oliverhuangchao/samples,ralic/testrtc,procandi/apprtc,dengshaodong/docker-apprtc,TribeMedia/apprtc,TribeMedia/testrtc,overtakermtg/samples,bbandaru/samples,dajise/samples,procandi/samples,akashrchoksi/newone,fippo/apprtc,TribeMedia/testrtc,jessetane/testrtc,mvenkatesh431/apprtc,smadhusu/AppRTC,overtakermtg/samples,shelsonjava/samples,calebboyd/adapter,procandi/apprtc,Zauberstuhl/adapter,samdutton/apprtc,Acidburn0zzz/adapter,tsruban/samples,shelsonjava/apprtc,aadebuger/docker-apprtc,samdutton/apprtc,jjrasche/cell-based-RC-control,bpyoung92/apprtc,harme199497/adapter,todotobe1/apprtc,leehz/samples,mulyoved/samples,smadhusu/AppRTC,EmreAkkoyun/sample,JiYou/apprtc,procandi/samples,keshwans/samples,MahmoudFouad/samples,arnauorriols/apprtc,todotobe1/samples,taylor-b/samples,shaohung001/samples,TribeMedia/testrtc,volkanh/volkanh.github.io,procandi/apprtc,dengshaodong/docker-apprtc,bpyoung92/apprtc,jiayliu/apprtc,jarl-alejandro/apprtc,volkanh/volkanh.github.io,4lejandrito/adapter,virajs/testrtc,fetterov/samples,aadebuger/docker-apprtc,JiYou/apprtc,Roarz/samples,fippo/webrtc,webrtc/testrtc,dushmis/webrtc,diddie06/webrtc,jan-ivar/samples,oliverhuangchao/samples,pquochoang/samples,ralic/testrtc,askdaddy/samples,samdutton/apprtc,samdutton/apprtc,samdutton/apprtc,ralic/samples,harme199497/adapter,virajs/apprtc,smadhusu/AppRTC,jarl-alejandro/apprtc,b-cuts/samples,guoweis/webrtc,MahmoudFouad/samples,kod3r/samples,smadhusu/AppRTC,smbale/samples,jan-ivar/adapter,shelsonjava/samples,myself659/samples,mulyoved/samples,TribeMedia/samples,aadebuger/docker-apprtc,xdumaine/samples,samdutton/webrtc,YouthAndra/apprtc,guoweis/webrtc,kod3r/samples,leehz/samples,virajs/apprtc,shines/adapter,ralic/testrtc,mauricionr/samples,virajs/apprtc,TribeMedia/samples,webrtc/apprtc,jjrasche/cell-based-RC-control,shelsonjava/testrtc,volkanh/volkanh.github.io,jan-ivar/adapter,82488059/apprtc,shines/adapter,smbale/samples,fitraditya/samples,myself659/samples,JiYou/apprtc,procandi/apprtc,YouthAndra/apprtc,fetterov/samples,fetterov/samples,bbandaru/samples,TribeMedia/apprtc,harme199497/adapter,TheKnarf/apprtc,samdutton/webrtc,dushmis/webrtc,mauricionr/samples,mvenkatesh431/samples,b-cuts/samples,knightsofaa/webrtc,leehz/samples,82488059/apprtc,virajs/samples,dajise/samples,TribeMedia/testrtc,Zauberstuhl/adapter,MahmoudFouad/samples,todotobe1/apprtc,virajs/testrtc,TribeMedia/apprtc,todotobe1/apprtc,todotobe1/samples,overtakermtg/samples,diddie06/webrtc,jessetane/testrtc,virajs/testrtc,webrtc/adapter,webrtc/adapter,Zauberstuhl/adapter,jiayliu/apprtc,virajs/apprtc,keshwans/samples,mulyoved/samples,shelsonjava/apprtc,arnauorriols/apprtc,mauricionr/samples,arnauorriols/apprtc,b-cuts/samples,akashrchoksi/newone,Acidburn0zzz/adapter,shelsonjava/samples,mvenkatesh431/samples,shaohung001/samples,ralic/samples,jarl-alejandro/apprtc,aadebuger/docker-apprtc,jessetane/testrtc,fippo/apprtc,4lejandrito/adapter,jiayliu/apprtc,calebboyd/adapter,shelsonjava/testrtc,dengshaodong/docker-apprtc,fitraditya/samples,82488059/apprtc,todotobe1/apprtc,mvenkatesh431/apprtc,shines/adapter,mvenkatesh431/apprtc,xdumaine/samples,askdaddy/samples,smayoorans/samples,ralic/samples,virajs/samples,mvenkatesh431/apprtc,webrtc/samples,martin7890/samples,shelsonjava/apprtc,shelsonjava/apprtc,juberti/samples,fippo/apprtc,akashrchoksi/newone,smayoorans/samples,82488059/apprtc,Roarz/samples,xdumaine/adapter,jarl-alejandro/apprtc,shelsonjava/testrtc,shelsonjava/apprtc,bemasc/samples,webrtc/apprtc,YouthAndra/apprtc,procandi/apprtc