Skip to content

Commit

Permalink
Missing the public API switch in the other samples (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelapla authored Dec 17, 2021
1 parent a83ae42 commit 66d5e2e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/kvsWebRTCClientMasterGstreamerSample.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,12 @@ INT32 main(INT32 argc, CHAR* argv[])
printf("[KVS GStreamer Master] Signaling client created successfully\n");

// Enable the processing of the messages
retStatus = signalingClientFetchSync(pSampleConfiguration->signalingClientHandle);
if (retStatus != STATUS_SUCCESS) {
printf("[KVS Master] signalingClientFetchSync(): operation returned status code: 0x%08x \n", retStatus);
goto CleanUp;
}

retStatus = signalingClientConnectSync(pSampleConfiguration->signalingClientHandle);
if (retStatus != STATUS_SUCCESS) {
printf("[KVS GStreamer Master] signalingClientConnectSync(): operation returned status code: 0x%08x \n", retStatus);
Expand Down
6 changes: 6 additions & 0 deletions samples/kvsWebRTCClientViewer.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ INT32 main(INT32 argc, CHAR* argv[])
printf("[KVS Viewer] Signaling client created successfully\n");

// Enable the processing of the messages
retStatus = signalingClientFetchSync(pSampleConfiguration->signalingClientHandle);
if (retStatus != STATUS_SUCCESS) {
printf("[KVS Master] signalingClientFetchSync(): operation returned status code: 0x%08x \n", retStatus);
goto CleanUp;
}

retStatus = signalingClientConnectSync(pSampleConfiguration->signalingClientHandle);
if (retStatus != STATUS_SUCCESS) {
printf("[KVS Viewer] signalingClientConnectSync(): operation returned status code: 0x%08x \n", retStatus);
Expand Down

0 comments on commit 66d5e2e

Please sign in to comment.