From 07ac7aa1b5b1fe68db7070967c33e575fc78a0c9 Mon Sep 17 00:00:00 2001 From: Aaro Altonen Date: Thu, 16 Apr 2020 13:59:46 +0300 Subject: [PATCH] Fix comment in examples/binding.cc --- examples/binding.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/binding.cc b/examples/binding.cc index 8d304cf..053cfae 100644 --- a/examples/binding.cc +++ b/examples/binding.cc @@ -11,8 +11,8 @@ int main(void) * and bind ourselves to interface pointed to by the ip 10.21.25.200 */ kvz_rtp::session *sess = rtp_ctx.create_session("10.21.25.2", "10.21.25.200"); - /* 8888 is remote port or the port for the interface where the data is sent (ie. 10.21.25.2:8888) - * 8889 is source port or the port for the interface where data is received (ie. 10.21.25.200:8889) */ + /* 8888 is source port or the port for the interface where data is received (ie. 10.21.25.200:8888) + * 8889 is remote port or the port for the interface where the data is sent (ie. 10.21.25.2:8889) */ kvz_rtp::media_stream *hevc = sess->create_stream(8888, 8889, RTP_FORMAT_HEVC, 0); while (true) {