mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS4: Refine SDK
This commit is contained in:
parent
a7ab78a588
commit
e50582f9c7
6 changed files with 102 additions and 89 deletions
|
@ -3096,6 +3096,10 @@ srs_error_t SrsRtcConnection::negotiate_play_capability(SrsRtcUserConfig* ruc, s
|
|||
for (int j = 0; j < (int)track_descs.size(); ++j) {
|
||||
SrsRtcTrackDescription* track = track_descs.at(j)->copy();
|
||||
|
||||
// We should clear the extmaps of source(publisher).
|
||||
// @see https://github.com/ossrs/srs/issues/2370
|
||||
track->extmaps_.clear();
|
||||
|
||||
// Use remote/source/offer PayloadType.
|
||||
track->media_->pt_of_publisher_ = track->media_->pt_;
|
||||
track->media_->pt_ = remote_payload.payload_type_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue