OK, I see now what you're doing.

Because you've made your "TaskScheduler" and "UsageEnvironment" *static* member 
variables, it's not inconceivable that their initialization is taking place 
before the initialization of some other static variables or constants in the 
LIVE555 code that they happen to depend on.  I can't say for sure, but because 
you are seeing such strange behavior (an infinite loop), then I suggest that 
you not do this.  Instead, do what most (every) other LIVE555 application does: 
Create the "TaskScheduler" and "UsageEnvironment" objects at the start of the 
main program (or at the start of each thread if you're using multiple threads), 
before you create any "Medium" objects that use them.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to