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) {