Sorry, I got it. I can use triggerEvent() method to call live555 functions in 
multiple threads. 

Thanks. :)


-----邮件原件-----
发件人: live-devel [mailto:live-devel-boun...@us.live555.com] 代表 Ross Finlayson
发送时间: 2019年11月18日 10:06
收件人: LIVE555 Streaming Media - development & use <live-de...@us.live555.com>
主题: Re: [Live-devel] How to stop the one streaming in other thread?

> I found that sometimes crash will happen if I call 
> RtspServer->deleteServerMediaSession to stop the streaming in other thread 
> but not live555 thread.  

I’m sorry, but I’m not sure that I understand this.  What is the “other 
thread”, and what/how is it “streaming”?

I hope you have read:
        http://live555.com/liveMedia/faq.html#threads

LIVE555-based applications use a single-threaded event loop for concurrency, 
rather than multiple threads.  (If your application consists of multiple 
threads, then *only one* of these threads can call LIVE555 functions (except 
for “triggerEvent()”).


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


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to