summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-02-22 17:32:43 +0100
committerAlfred E. Heggestad <aeh@db.org>2014-02-22 17:32:43 +0100
commit1efeb23ab6899ce901cc05032299c54b89e32e01 (patch)
tree1d4f74336e573b51dba89c58c2f0fb89b0de98ba /src
parent22a712f547e764006b0341b6bc939135e593129e (diff)
stream_debug: also print local SDP address
Diffstat (limited to 'src')
-rw-r--r--src/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stream.c b/src/stream.c
index 0e5b89c..bb2600b 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -561,7 +561,8 @@ int stream_debug(struct re_printf *pf, const struct stream *s)
s->pt_enc);
sdp_media_raddr_rtcp(s->sdp, &rrtcp);
- err |= re_hprintf(pf, " remote: %J/%J\n",
+ err |= re_hprintf(pf, " local: %J, remote: %J/%J\n",
+ sdp_media_laddr(s->sdp),
sdp_media_raddr(s->sdp), &rrtcp);
err |= rtp_debug(pf, s->rtp);