Re: [Live-devel] RTSP URL is error when cross compiled and mixed with C for arm platform

2015-03-28 Thread Xingjun Chen
HI Ross, Thank you so much for your time, yes, I test the example testH264VideoStreaming single routine, it is work fine on my arm platform, they can parse the right URL according to my host ip, and the client can receive stream from the server, the problem only came out when I mix compiled with

Re: [Live-devel] RTSP URL is error when cross compiled and mixed with C for arm platform

2015-03-28 Thread Ross Finlayson
Note also that because you’re *cross*-compiling, you need to be careful if the byte order of the architecture that you’re compiling for is different from that of the architecture that you’re compiling on. If that’s the case, then you need to ensure that the “htons()”, “ntohs()”, “htonl()” and “

Re: [Live-devel] RTSP URL is error when cross compiled and mixed with C for arm platform

2015-03-28 Thread Ross Finlayson
> I cross compiled the dynamic library of live555 for ARM linux first, and then > mixed compiled the modified example “testH264VideoStreaming.cpp” You should first verify that the *unmodified* “testH264VideoStreamer” (sic) application code works OK for you. Then, and only then, should you modif

[Live-devel] RTSP URL is error when cross compiled and mixed with C for arm platform

2015-03-28 Thread Xingjun Chen
Hi, All 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