/// +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= /// <summary> /// Handles topology status changes reported by the media session TantaAsyncCallbackHandler /// </summary> /// <param name="sender">the object sending the event</param> /// <param name="mediaEvent">the event generated by the media session. Do NOT release this here.</param> /// <param name="mediaEventType">the eventType</param> /// <param name="topoStatus">the topology status flag</param> /// <history> /// 01 Nov 18 Cynic - Originally Written /// </history> private void HandleTopologyStatusChanged(IMFMediaEvent mediaEvent, MediaEventType mediaEventType, MFTopoStatus topoStatus) { LogMessage("HandleTopologyStatusChanged event type: " + mediaEventType.ToString() + ", topoStatus=" + topoStatus.ToString()); if (topoStatus == MFTopoStatus.Ready) { MediaSessionTopologyNowReady(mediaEvent); } else { // we are not interested in any other status changes return; } }
private void HandleTopologyStatusChanged(MediaEventType mediaEventType, MFTopoStatus topoStatus) { Console.WriteLine("HandleTopologyStatusChanged event type: " + mediaEventType.ToString() + ", topoStatus=" + topoStatus.ToString()); // we currently arent paying attention to these return; }