jacobbo / WebEye

WebEye is a collection of .NET controls.
190 stars 132 forks source link

Clear stream control #74

Open sakalukc opened 4 years ago

sakalukc commented 4 years ago

After you stop the stream, how do you clear what is being shown in the streamcontrol? I am using an rtsp feed and attach the stream and then start the stream. If I want to "close" that stream and reuse the streamcontrol for another rtsp feed, how can I accomplish this. I tried using DetachStream, Dispose and setting the stream to null. Essentially how do I "refresh" the streamcontrol with nothing, so no stream is attached and display an empty streamcontrol?

marekside commented 4 years ago

I overlapped an hidden image onto the player making it visible when I decide to stop the stream or when the camera is not available