Don't transition to active until video starts.
Don't transition to active until video starts.

Workaround a Chrome issue, where we don't fire onaddstream before the
SetRD success callback.
https://code.google.com/p/webrtc/issues/detail?id=3358
Also, fix a few logging issues.

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