mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
rtc publish release
This commit is contained in:
parent
775065175a
commit
8dc0746e2d
10 changed files with 146 additions and 44 deletions
|
@ -1290,9 +1290,7 @@ srs_error_t SrsGoApiRtcPublish::exchange_sdp(const std::string& app, const std::
|
|||
|
||||
local_sdp.group_policy_ = "BUNDLE";
|
||||
|
||||
int mid = 0;
|
||||
|
||||
for (int i = 0; i < remote_sdp.media_descs_.size(); ++i) {
|
||||
for (size_t i = 0; i < remote_sdp.media_descs_.size(); ++i) {
|
||||
const SrsMediaDesc& remote_media_desc = remote_sdp.media_descs_[i];
|
||||
|
||||
if (remote_media_desc.is_audio()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue