C# (CSharp) NewTOAPIA.Net.Rtp RtpEvents - 13 examples found. These are the top rated real world C# (CSharp) examples of NewTOAPIA.Net.Rtp.RtpEvents extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
Events contains all the events raised by the Rtp/Rtcp code Each event consists of 4 items - an EventArgs, a Delegate, an Event and an internal method Raise*Event that actually fires the event, and if the event is not hooked logs information to the EventLog. Because all our events follow the same pattern, they have been streamlined to call a single method (FireEvent) to actually fire them. This method uses the delegate's invocation list to call the hooked methods in a non-linked list format Due to our use of the static EventThrower which calls all events from a single thread, all methods in this class are static as well. They are not meant to be called in a multi-threaded way (although it would probably work fine since no static members are touched). Consideration was given to breaking these down by Rtp, Rtcp and shared (Rtp + Rtcp) events but due to the limited number of events it wasn't deemed necessary. It would be interesting to query our API users to see how many of them use the events and which events they use - Rtp, Rtcp or Shared