疑難雜症, google 就對了 XD
Use VS2008 to build Live555 source code:
http://tdistler.com/2011/05/14/live555-compiling-with-vs2008
很詳細的描述, 一步一步做就 ok 了
再來就是把這些 lib 整合到原本的 dll.
原本的 Sample Code 是一個小型的 application,
所以從 Start 到 Stop 都是一氣呵成.
但因為現在要把 RTSP/RTP 編成的 lib 整合到一個大的 dll,
因此 Stop mechanism 就很重要了,
只要 Stop 時機、順序不對,
很有可能整個 dll 或 系統 就會 Crash.
在 live555 的 mailing list 找相關資訊,
發現這方面的討論還不少, 很且很多是2012年的.
release environment, 注意事項
http://lists.live555.com/pipermail/live-devel/2012-January/014416.html
Start & Stop in different threads
http://lists.live555.com/pipermail/live-devel/2012-March/014841.html
http://lists.live555.com/pipermail/live-devel/2012-September/015844.html
http://lists.live555.com/pipermail/live-devel/2012-September/015850.html
整個看下來,
最有印象的還是這句
As stated very clearly in the FAQ - ***that you were asked to read before you posted to this mailing list***
出現了很多次 XD
而這句雖然只出現一次, 也是令人印象深刻 XDDD
Look folks, how many times do I have to say this: A LIVE555 application runs as a single-thread of control