Skip to content

Commit de6a26f

Browse files
committed
Version bump, fix tests, remove enableIceStats
1 parent 9933cf7 commit de6a26f

File tree

6 files changed

+4
-11
lines changed

6 files changed

+4
-11
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include(CheckIncludeFiles)
55
include(CheckFunctionExists)
66

77
# The version MUST be updated before every release
8-
project(KinesisVideoWebRTCClient VERSION 1.10.1 LANGUAGES C)
8+
project(KinesisVideoWebRTCClient VERSION 1.10.2 LANGUAGES C)
99

1010
# User Flags
1111
option(ADD_MUCLIBC "Add -muclibc c flag" OFF)

samples/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if(GST_FOUND)
9595
GstAudioVideoReceiver.c
9696
kvsWebRTCClientViewerGstSample.c
9797
)
98-
target_link_libraries(kvsWebrtcClientViewerGstSample kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils websockets kvssdp)
98+
target_link_libraries(kvsWebrtcClientViewerGstSample kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils websockets)
9999

100100
install(TARGETS kvsWebrtcClientViewerGstSample
101101
RUNTIME DESTINATION bin

samples/Common.c

-4
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ STATUS initializePeerConnection(PSampleConfiguration pSampleConfiguration, PRtcP
407407
// Set the ICE mode explicitly
408408
configuration.iceTransportPolicy = ICE_TRANSPORT_POLICY_ALL;
409409

410-
configuration.kvsRtcConfiguration.enableIceStats = pSampleConfiguration->enableIceStats;
411410
// Set the STUN server
412411
PCHAR pKinesisVideoStunUrlPostFix = KINESIS_VIDEO_STUN_URL_POSTFIX;
413412
// If region is in CN, add CN region uri postfix
@@ -938,9 +937,6 @@ STATUS createSampleConfiguration(PCHAR channelName, SIGNALING_CHANNEL_ROLE_TYPE
938937
pSampleConfiguration->pregenerateCertTimerId = MAX_UINT32;
939938
pSampleConfiguration->signalingClientMetrics.version = SIGNALING_CLIENT_METRICS_CURRENT_VERSION;
940939

941-
// Flag to enable SDK to calculate selected ice server, local, remote and candidate pair stats.
942-
pSampleConfiguration->enableIceStats = FALSE;
943-
944940
// Flag to enable/disable TWCC
945941
pSampleConfiguration->enableTwcc = TRUE;
946942

samples/Samples.h

-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ typedef struct {
176176

177177
PCHAR rtspUri;
178178
UINT32 logLevel;
179-
BOOL enableIceStats;
180179
BOOL enableTwcc;
181180
} SampleConfiguration, *PSampleConfiguration;
182181

tst/RtpFunctionalityTest.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ TEST_F(RtpFunctionalityTest, packingUnpackingVerifySameH265Frame)
289289

290290
// First call for payload size and sub payload length size
291291
EXPECT_EQ(STATUS_SUCCESS,
292-
createPayloadForH265(DEFAULT_MTU_SIZE_BYTES, (PBYTE) payload, payloadLen, NULL, &payloadArray.payloadLength, NULL,
292+
createPayloadForH265(DEFAULT_MTU_SIZE, (PBYTE) payload, payloadLen, NULL, &payloadArray.payloadLength, NULL,
293293
&payloadArray.payloadSubLenSize));
294294

295295
if (payloadArray.payloadLength > payloadArray.maxPayloadLength) {
@@ -309,7 +309,7 @@ TEST_F(RtpFunctionalityTest, packingUnpackingVerifySameH265Frame)
309309

310310
// Second call with actual buffer to fill in data
311311
EXPECT_EQ(STATUS_SUCCESS,
312-
createPayloadForH265(DEFAULT_MTU_SIZE_BYTES, (PBYTE) payload, payloadLen, payloadArray.payloadBuffer, &payloadArray.payloadLength,
312+
createPayloadForH265(DEFAULT_MTU_SIZE, (PBYTE) payload, payloadLen, payloadArray.payloadBuffer, &payloadArray.payloadLength,
313313
payloadArray.payloadSubLength, &payloadArray.payloadSubLenSize));
314314

315315
EXPECT_LT(0, payloadArray.payloadSubLenSize);

tst/SdpApiTest.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,6 @@ TEST_F(SdpApiTest, setTransceiverPayloadTypes_HasRtxType_H265)
306306
transceiver.transceiver.direction = RTC_RTP_TRANSCEIVER_DIRECTION_SENDRECV;
307307
transceiver.sender.packetBuffer = NULL;
308308
transceiver.sender.retransmitter = NULL;
309-
transceiver.rollingBufferDurationSec = DEFAULT_ROLLING_BUFFER_DURATION_IN_SECONDS;
310-
transceiver.rollingBufferBitratebps = DEFAULT_EXPECTED_VIDEO_BIT_RATE;
311309
EXPECT_EQ(STATUS_SUCCESS, hashTableCreate(&pCodecTable));
312310
EXPECT_EQ(STATUS_SUCCESS, hashTablePut(pCodecTable, RTC_CODEC_H265, 1));
313311
EXPECT_EQ(STATUS_SUCCESS, hashTableCreate(&pRtxTable));

0 commit comments

Comments
 (0)