![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
音视频
Jimi1985
这家伙很懒,什么也没留下
展开
-
Kurento 源码解析系列(4)- RtpEndpoint端点c层代码的调用处理
当完成rtpbaseendpoint的初始化后,根据我们业务调用的逻辑。首先是在服务端调用genrateOff方法,从而生成服务端的sdp信息返回给远端RTP,然后远端处理sdp后返回answer给本端rtp,再然后就是本端的sdpbaseendpoint继续answer这个offer后,进开始发送数据。流程大致如下假如我们有A服务器的rtp端点需要和B服务器的rtp端点进行通信,具体的代码在kurento中调用方法的流程如下:首先在A中,我们调用genrateOffer方法,实际是发送了1个原创 2020-10-21 17:01:15 · 718 阅读 · 1 评论 -
Kurento 源码解析系列(3)- RtpEndpoint端点初始化解析
关于kurento的rtpendpoint 从客户端发起rpc调用后,在服务器内部如何从cpp层到c层进行相关实例化需要先回顾以下每个可直接实例化对象的创建的流程首先是JAVA客户端通过rpc调用在media-server工程中的ServerMethods.cpp中create方法;voidServerMethods::create (const Json::Value ¶ms, Json::Value &respon...原创 2020-10-08 11:33:08 · 751 阅读 · 0 评论 -
Kurento 源码解析系列(2)- PlayerEndpoint的初始化过程
Kurento 源码解析系列(2)- PlayerEndpoint的初始化一个将源项目各个子项目整合并编译以后的工程地址https://github.com/ywcai/JKms.gitPlayerEndpoint.cpp 初始化过程代码分析回顾 PlayerEndpointImpl.cpp初始化的过程,会先初始化他的父类MediaElementImpl.cpp以及UriEndpointImpl.cpp.其中MediaELement.CPP会作最重要的c层gstreamer插件的初始化工作:原创 2020-07-18 00:51:41 · 841 阅读 · 0 评论 -
Kurento 源码解析系列(1)- PlayerEndpoint的play方法
PlayerEndpoint.cpp 播放的流程解析Playendpoint 收到java层的rpc指令,启动play方法Play方直接调了start()方法,start方法来自继承的父类,UriEndpoint.cpp的start方法;UriEndpoint.cpp的调用方法调用了if (!kms_uri_endpoint_set_state (KMS_URI_ENDPOINT (getGstreamerElement() ),...原创 2020-07-15 22:20:30 · 857 阅读 · 0 评论