mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-18 14:12:21 +08:00
提前映射ssrc与rid的关系
This commit is contained in:
@@ -579,6 +579,10 @@ string RtpExtContext::getRid(uint32_t ssrc) const{
|
||||
return it->second;
|
||||
}
|
||||
|
||||
void RtpExtContext::setRid(uint32_t ssrc, const string &rid) {
|
||||
_ssrc_to_rid[ssrc] = rid;
|
||||
}
|
||||
|
||||
void RtpExtContext::changeRtpExtId(const RtpHeader *header, bool is_recv, string *rid_ptr) {
|
||||
string rid, repaired_rid;
|
||||
auto ext_map = RtpExt::getExtValue(header);
|
||||
|
||||
Reference in New Issue
Block a user