winlin

disable detail log

@@ -113,14 +113,14 @@ int proxy(srs_rtmp_t irtmp, srs_rtmp_t ortmp) @@ -113,14 +113,14 @@ int proxy(srs_rtmp_t irtmp, srs_rtmp_t ortmp)
113 trace("irtmp get packet failed. ret=%d", ret); 113 trace("irtmp get packet failed. ret=%d", ret);
114 return ret; 114 return ret;
115 } 115 }
116 - trace("irtmp got packet: type=%s, time=%d, size=%d", 116 + verbose("irtmp got packet: type=%s, time=%d, size=%d",
117 srs_type2string(type), timestamp, size); 117 srs_type2string(type), timestamp, size);
118 118
119 if ((ret = srs_write_packet(ortmp, type, timestamp, data, size)) != 0) { 119 if ((ret = srs_write_packet(ortmp, type, timestamp, data, size)) != 0) {
120 trace("irtmp get packet failed. ret=%d", ret); 120 trace("irtmp get packet failed. ret=%d", ret);
121 return ret; 121 return ret;
122 } 122 }
123 - trace("ortmp sent packet: type=%s, time=%d, size=%d", 123 + verbose("ortmp sent packet: type=%s, time=%d, size=%d",
124 srs_type2string(type), timestamp, size); 124 srs_type2string(type), timestamp, size);
125 } 125 }
126 126