<div dir="ltr"><div>Hi, All</div><div><br></div><div>I cross compiled the dynamic library of live555 for ARM linux first, and then mixed compiled the modified example “testH264VideoStreaming.cpp" with my C routine for Arm platform, I add extend "C" for all the functions called by C routine in “testH264VideoStreaming.cpp", no problem came out when compile and link the source code and object file. </div><div><br></div><div>The only problem is that the URL is wrong, so I tracked back to the live555 library, and in the RTSPServer.cpp, in the function rtspURLPrefix(), the address in urlBuffer is wrong when using sprintf, the portNumHostOrder is defined as unsigned short, then %hu is right, but when urlBuffer is printed out, 8554 is printed out as 20552, it seems the output is in its octonary format, do have one have this problem similar with. Thank you. </div><div><br></div><div>I compile the code with CodeSoourcery G++ Lite 2009q1-203,  vesrion 4.3.3, arm-none-linux-gnueabi-gcc for the C code, and arm-none-linux-gnueabi-g++ for the c++ code. </div>







<div><br></div><div><br></div>-- <br><div class="gmail_signature"><div>Xingjun Chen<br></div>
<div><br></div></div>
</div>