Skip to content

Commit

Permalink
remove line which sets payloadType after it was already set (#2034)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanctech authored Jul 26, 2024
1 parent 20c0af2 commit 09e3e01
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/source/PeerConnection/SessionDescription.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ STATUS populateSingleMediaSection(PKvsPeerConnection pKvsPeerConnection, PKvsRtp
retStatus = hashTableGet(pKvsPeerConnection->pRtxTable, RTC_RTX_CODEC_VP8, &rtxPayloadType);
} else if (pRtcMediaStreamTrack->codec == RTC_CODEC_H265) {
retStatus = hashTableGet(pKvsPeerConnection->pRtxTable, RTC_RTX_CODEC_H265, &rtxPayloadType);
payloadType = DEFAULT_PAYLOAD_H265;
} else {
retStatus = STATUS_HASH_KEY_NOT_PRESENT;
}
Expand Down

0 comments on commit 09e3e01

Please sign in to comment.