Fix comment in examples/binding.cc

This commit is contained in:
Aaro Altonen 2020-04-16 13:59:46 +03:00
parent 8a18eb4824
commit 07ac7aa1b5
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ int main(void)
* and bind ourselves to interface pointed to by the ip 10.21.25.200 */ * 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"); 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) /* 8888 is source port or the port for the interface where data is received (ie. 10.21.25.200:8888)
* 8889 is source port or the port for the interface where data is received (ie. 10.21.25.200:8889) */ * 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); kvz_rtp::media_stream *hevc = sess->create_stream(8888, 8889, RTP_FORMAT_HEVC, 0);
while (true) { while (true) {