1. 加入课堂,成功后,会返回在sdp中会返回所有流媒体的信息?
2. 切换镜头 客户端自动切换推流数据 其他不变?
* EXOSIP_CALL_REINVITE 底层是怎么区分出来的?
* 注册时,401响应 eXosip会自动鉴权请求再次注册?
* EXOSIP_CALL_MESSAGE_NEW EXOSIP_CALL_INVITE 具体区别是什么?
* EXOSIP_CALL_MESSAGE_NEW EXOSIP_MESSAGE_NEW 具体区别是什么, 如何发送?
* did cid tid sid nid 这些具体怎么区分出来的 什么作用?
did:unique id for SIP dialogs cid:unique id for SIP calls
tid: unique id for transactions (to be used for answers)
rid: unique id for registration
sid: unique id for outgoing subscriptions
nid: unique id for incoming subscriptions
* 订阅 发布订阅 reinvite请求音视频a=sendrecv 取消订阅请求音视频reinvite a=inactive?
发布流和订阅流怎么区别?
# 注册 注销
注册: 发送 register 请求
# 回应
eXosip_lock (ctx);
eXosip_call_send_answer (ctx, evt->tid, 180, NULL);
eXosip_unlock (ctx);
# invite发送
# message消息发送
eXosip_message_build_request(&message,"MESSAGE",stTo.GetFormatHeader().c_str(),stFrom.GetFormatHeader().c_str(),NULL);
osip_message_set_body(message,tmp,strlen(tmp));
osip_message_set_content_type(message,"Application/MANSCDP+xml");
eXosip_lock();
ret = eXosip_message_send_request(message);
# sdp 数据处理
osip 有相应的api
http://www.gnu.org/software/osip/doc/html/structsdp__message.html
sdp 信息处理的 api 同时可以使用osip sdp_message.h
http://www.antisip.com/doc/exosip2/group__eXosip2__sdp.html
sdp 协议详细总结
https://blog.csdn.net/jobbofhe/article/details/78477407 很好的介绍了sdp信息内容
osip 源代码框架详解
https://wenku.baidu.com/view/49462441be1e650e52ea9940.html?sxts=1557060265157
https://wenku.baidu.com/view/7cc81930b90d6c85ec3ac6de.html?rec_flag=default
https://wenku.baidu.com/view/f7988a6b011ca300a6c390ab.html
osip 开发手册
https://wenku.baidu.com/view/fe5ccbebe009581b6bd9eb18.html?sxts=1557122790420
osip 状态机的解释(ICT IST NICT NIST)
https://blog.csdn.net/candy1232009/article/details/39268683