examples: Fix typo in V3C example instructions
This commit is contained in:
parent
e790751cfb
commit
ab70083bab
|
|
@ -36,7 +36,7 @@ To demonstrate V3C streaming, uvgRTP comes with example V3C sender and V3C recei
|
||||||
4. Place the test sequence in uvgRTP/build/examples/Release
|
4. Place the test sequence in uvgRTP/build/examples/Release
|
||||||
5. Start the `v3c_receiver` program with `./v3c_receiver uvgRTP_example_sequence_longdress.vpcc`. If you have changed the filename, modify the command accordingly.
|
5. Start the `v3c_receiver` program with `./v3c_receiver uvgRTP_example_sequence_longdress.vpcc`. If you have changed the filename, modify the command accordingly.
|
||||||
6. Start the `v3c_sender` program with `./v3c_sender uvgRTP_example_sequence_longdress.vpcc`. The program will parse the test sequence for transmission and send it to the receiver.
|
6. Start the `v3c_sender` program with `./v3c_sender uvgRTP_example_sequence_longdress.vpcc`. The program will parse the test sequence for transmission and send it to the receiver.
|
||||||
7. The with `v3c_receiver` will print information on the reception and reconstruction of the V3C bitstream.
|
7. The `v3c_receiver` will print information on the reception and reconstruction of the V3C bitstream. It will also check the received sequence for any differences to the original one.
|
||||||
|
|
||||||
## RTCP example
|
## RTCP example
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ int main(int argc, char* argv[])
|
||||||
if (len == 0) {
|
if (len == 0) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
std::cout << "Reading original file for comparison " << len << std::endl;
|
std::cout << "Reading original file for comparison " << std::endl;
|
||||||
char* original_buf = nullptr;
|
char* original_buf = nullptr;
|
||||||
original_buf = get_cmem(PATH);
|
original_buf = get_cmem(PATH);
|
||||||
|
|
||||||
|
|
@ -161,6 +161,7 @@ int main(int argc, char* argv[])
|
||||||
for (auto i = 0; i < bytes; ++i) {
|
for (auto i = 0; i < bytes; ++i) {
|
||||||
if (original_buf[i] != out_buf[i]) {
|
if (original_buf[i] != out_buf[i]) {
|
||||||
diff = true;
|
diff = true;
|
||||||
|
std::cout << "Difference found in " << i << std::endl;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue