Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 6f2760e

Browse files
taste1981daijh
authored andcommitted
Changes for enabling webrtc agent on m59
Change-Id: I8be554e0548465cf49c13a8adf3db80379b5d39a Reviewed-on: https://git-ccr-1.devtools.intel.com/gerrit/60267 Reviewed-by: Zhu, Jianjun <[email protected]> Reviewed-by: Dai, Jianhui J <[email protected]> Tested-by: Dai, Jianhui J <[email protected]>
1 parent a4e74e6 commit 6f2760e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

tools-woogeen/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ rtc_include_opus=true
9292

9393
fi
9494

95-
ninja -C out video_coding audio_coding audio_conference_mixer metrics_default field_trial_default
95+
ninja -C out video_coding audio_coding audio_conference_mixer metrics_default field_trial_default rtp_rtcp remote_bitrate_estimator bitrate_controller congestion_controller rtc_event_log_impl
9696

9797
if [ -e "${ROOT}/libwebrtc.a" ];
9898
then

webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@ int32_t RTPReceiverVideo::InvokeOnInitializeDecoder(
119119
const PayloadUnion& specific_payload) const {
120120
// TODO(pbos): Remove as soon as audio can handle a changing payload type
121121
// without this callback.
122+
// jianlin: added back this for M59 since MCU needs this to register decoder
123+
if (-1 ==
124+
callback->OnInitializeDecoder(
125+
payload_type, payload_name, kVideoPayloadTypeFrequency, 1, 0)) {
126+
return -1;
127+
}
128+
122129
return 0;
123130
}
124131

0 commit comments

Comments
 (0)