Skip to content

Commit

Permalink
set default payload type only once
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatim23 committed May 1, 2024
1 parent db77d99 commit 531d749
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/source/PeerConnection/SessionDescription.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,6 @@ STATUS populateSingleMediaSection(PKvsPeerConnection pKvsPeerConnection, PKvsRtp
}
}

if (RTC_CODEC_H265 == pRtcMediaStreamTrack->codec) {
payloadType = DEFAULT_PAYLOAD_H265;
}

if (pRtcMediaStreamTrack->kind == MEDIA_STREAM_TRACK_KIND_VIDEO) {
if (pRtcMediaStreamTrack->codec == RTC_CODEC_H264_PROFILE_42E01F_LEVEL_ASYMMETRY_ALLOWED_PACKETIZATION_MODE) {
retStatus = hashTableGet(pKvsPeerConnection->pRtxTable, RTC_RTX_CODEC_H264_PROFILE_42E01F_LEVEL_ASYMMETRY_ALLOWED_PACKETIZATION_MODE,
Expand Down

0 comments on commit 531d749

Please sign in to comment.