Quieten a few debug messages

This commit is contained in:
Mike Brady
2018-02-10 17:58:39 +00:00
parent f94d6a5d16
commit b1e4ac7d05
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ void player_put_packet(seq_t seqno, int64_t timestamp, uint8_t *data, int len,
abuf_t *abuf = 0;
if (!conn->ab_synced) {
debug(2, "syncing to seqno %u.", seqno);
debug(3, "syncing to seqno %u.", seqno);
conn->ab_write = seqno;
conn->ab_read = seqno;
conn->ab_synced = 1;
+2 -3
View File
@@ -225,7 +225,7 @@ void *rtp_control_receiver(void *arg) {
sync_rtp_timestamp = monotonic_timestamp(ntohl(*((uint32_t *)&packet[16])), conn);
debug(1,"Sync timestamp is %u.",ntohl(*((uint32_t *)&packet[16])));
// debug(1,"Sync timestamp is %u.",ntohl(*((uint32_t *)&packet[16])));
if (config.userSuppliedLatency) {
if (config.userSuppliedLatency != conn->latency) {
@@ -234,7 +234,6 @@ void *rtp_control_receiver(void *arg) {
conn->latency = config.userSuppliedLatency;
} else if (packet[0] &
0x10) { // only set latency if it's a packet just after a flush or resume
debug(1,"Set latency");
int64_t rtp_timestamp_less_latency =
monotonic_timestamp(ntohl(*((uint32_t *)&packet[4])), conn);
int64_t la = sync_rtp_timestamp - rtp_timestamp_less_latency + config.fixedLatencyOffset;
@@ -280,7 +279,7 @@ void *rtp_control_receiver(void *arg) {
debug(1, "Sync packet received before we got a timing packet back.");
}
} else if (packet[1] == 0xd6) { // resent audio data in the control path -- whaale only?
debug(1, "Control Port -- Retransmitted Audio Data Packet received.");
// debug(1, "Control Port -- Retransmitted Audio Data Packet received.");
pktp = packet + 4;
plen -= 4;
seq_t seqno = ntohs(*(uint16_t*)(pktp + 2));