Daniel Live SDK-Windows Push Terminal Instructions

Since the Daniel Live SDK Demo mainly focuses on the SDK interface display, the huge functions make many users discouraged. The following is a brief introduction of the Windows push SDK:

Daniel Live SDK push side provides C++/C# two sets of interfaces, and 32/64-bit libraries are provided externally.

We are different:

  1. The Daniel Live SDK has its own framework, which is easy to expand, and the adaptive algorithm makes the delay lower and the acquisition, encoding and transmission more efficient;
  2. All functions are provided in the form of SDK interfaces, and all states have event callbacks, which perfectly supports automatic reconnection after disconnection;
  3. The SDK is modular, and can be combined with the Daniel Live Player SDK to realize streaming media data forwarding, continuous microphone, one-to-one interaction and other scenarios;
  4. The push overlay is provided in a hierarchical mode , and developers can combine data sources by themselves (such as multi-camera/screen/watermark overlay);
  5. Support external YUV/RGB/H.264/AAC/SPEEX/PCMA/PCMU data source access;
  6. All parameters can be set individually through the SDK interface, and can also be set in a fool's way through the default parameters;
  7. The push and video modules are completely separated and can be used alone or in combination;
  8. It is even difficult to find SDKs with similar effects in the industry that can be PKed.

Instructions for use:

Video capture settings:

Question [Confirm Data Source]: Capture Desktop or Camera? If desktop, full screen or partial area?

answer:

  1. If it is a camera: you can select the camera list, and then the resolution and frame rate.
  2. If it is a screen: the default frame rate is 5 frames, which can be adjusted according to the actual scene, select the screen area, and select the area to be captured or recorded in real time;
  3. If it is superimposed mode: you can choose whether the camera is superimposed on the screen or the screen is superimposed on the camera;
  4. Users with higher requirements can set up watermarks or apply layer masking.

Question: If it is a camera, what should I do if the captured camera angle is wrong?

Answer: We support camera mirroring and flipping settings, and the camera can easily achieve horizontal/vertical flipping and mirroring effects through the SDK interface.

Bit rate setting:

Question [Set bit rate]: Set the bit rate by yourself or use our recommended value?

answer:

选择使用平均码率,关键帧间隔一般设置到屏幕或摄像头设置帧率的2~5倍(如帧率15,关键帧间隔可以设置到60),默认可以2倍,码率如果是专业用户,可以自行设定,如果是普通用户,可以点击“获取默认值”,拿到大牛直播SDK推荐的码率。

NOTE:点击“推送”或“录像”之前,一定设置码率,如不想手动设置,请点击“获取默认值”!!!

音频采集设置:

问答式:采集音频吗?如果采集,采集麦克风还是扬声器的,亦或混音?

回答:

  1. 如果想采集电脑输出的音频(比如音乐之类),可以选择“采集扬声器”;
  2. 如果想采集麦克风音频,可以选择“采集麦克风”,并选择相关设备;
  3. 如果两个都想采集,可以两个都选择,混音输出。

音频编码:

问题:是AAC还是SPEEX?

回答:我们默认是AAC编码模式,如果需要码率更低,可以选择SPEEX编码模式,码率更低。

音频处理:

问题:我想过滤背景噪音怎么办?

回答:选中“噪音抑制”。

问题:我想做一对一互动怎么办?

回答:选中“回音消除”。

问题:我推送或者录像过程中,随时静音怎么办?

回答:推送过程中,随时选择或取消选择“静音”功能。

推送:

问题:我想同时推送到多个url怎么办(比如一个内网服务器,一个外网服务器)?

回答:同时填写多个url,然后点推送即可。

截图:

问题:我想推送或者录像过程中,截取当前图像怎么办?

回答:那就设置好截图路径,推送或录像过程中,随时点击“截图”。

录像:

问题:我还想录像,怎么办?

回答:设置录像文件存放目录,文件前缀、单个文件大小,是否加日期、时间,随时录制即可。

功能列表:

windows屏幕截取/摄像头推送录像

  1. 视频源相关:
  •  [屏幕/摄像头]支持帧率、关键帧间隔、码率、编码profile、编码速度等设置;
  •  [屏幕]支持屏幕裁剪,根据帧率和推送分辨率,自动推荐码流;
  •  [摄像头]支持摄像头选择、分辨率设置、帧率设置;
  •  [扩展数据]支持外部H.264接口输入;
  1. 音频源相关
  •  [音频]采集麦克风;
  •  [音频]采集扬声器;
  •  [扩展数据]AAC, Speex WB, PCMA, PCMU数据接口输入;
  1. 摄像头和屏幕合成
  •  [摄像头和屏幕实时切换]支持推送过程中,摄像头和屏幕互相切换,单画面显示摄像头或屏幕;
  •  [摄像头叠加到屏幕] 支持摄像头按照设置坐标,叠加到屏幕指定位置,并支持实时关闭叠加层;
  •  [屏幕叠加到摄像头] 支持屏幕按照设定坐标,叠加到摄像头指定位置,并支持实时关闭叠加层;
  1. 水印和透明度遮挡
  •  [实时水印]支持动态水印设置,完美支持文字水印、实时时间水印和图片水印
  •  [透明度]可以设置透明度处理(设置遮盖);
  1. 音频合成
  •  [音频]支持扬声器和麦克风音频混音输出(同时选择“采集扬声器”和“采集麦克风”);
  1. 音频处理
  •  [音频]支持音频“端点检测(VAD)”,自适应码流,音频码流更节省;
  •  [音频]支持回音消除功能(一对一功能:可通过在两台windows机器同时开启daniulive的推送和播放端demo,相互推送播放测试);
  •  [音频]支持噪音抑制功能;
  •  [音频]支持自动增益控制;
  1. 音视频推送类型选择
  •  [视频]支持推送H.264;
  •  [音频]支持推送AAC;
  •  [音频]支持推送Speex;
  •  [音频]支持推送PCMA/PCMU;
  1. 音视频类型、静音、快照、录像等
  •  [音视频]支持纯音频、纯视频、音视频推送;
  •  [音频]推送过程中实时静音/取消静音;
  •  [对接服务器]完美支持自建服务器或CDN;
  •  [录像]录像和推送完全分离,完美支持“边推送边录像”、“先推送、后录像”、“先录像,后推送;
  •  [录像]支持设置录像文件前缀、录像文件大小,录像文件增加日期、时间;
  •  [快照]支持推送或录像过程中,随时快照

更多资料,可以访问官网 http://daniulive.com 或 https://github.com/daniulive/SmarterStreaming/


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324531571&siteId=291194637