Beispiel #1
0
        /// <summary>
        /// 设置单独预览的视频流buffer回调函数,可用于预览进行显示
        /// </summary>
        /// <param name="callback">单独推流的buffer回调</param>
        private void SetSoloPreviewCallback(ChildVideoSamplerCallback callback)
        {
            ThrowIfChildServiceException();

            ChildVideoApi.SetSoloPreviewCallback(ChildService, callback);
        }
Beispiel #2
0
 public ChildVideoApiProvider()
 {
     _videoSamplerCallback = new ChildVideoSamplerCallback(OnVideoSamplerChanged);
 }
Beispiel #3
0
 internal static extern void SetSoloPreviewCallback(IntPtr childService, ChildVideoSamplerCallback callback);