Skip to content

Commit

Permalink
wrtc stream ingestion support (#1605)
Browse files Browse the repository at this point in the history
* update readme (#1608)

* update readme

* update description

* remove gst based storage sample (#1619)
  • Loading branch information
hassanctech authored Jan 19, 2023
1 parent 10a9aae commit 5cd7657
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 520 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ After executing `make` you will have the following sample applications in your `
* `kvsWebrtcClientMaster` - This application sends sample H264/Opus frames (path: `/samples/h264SampleFrames` and `/samples/opusSampleFrames`) via WebRTC. It also accepts incoming audio, if enabled in the browser. When checked in the browser, it prints the metadata of the received audio packets in your terminal.
* `kvsWebrtcClientViewer` - This application accepts sample H264/Opus frames and prints them out.
* `kvsWebrtcClientMasterGstSample` - This application sends sample H264/Opus frames from a GStreamer pipeline. It also will playback incoming audio via an `autoaudiosink`.
* `kvsWebrtcClientStorageSession` - This application uses `kvsWebrtcClientMasterGstSample` as a base and demotrates the functionality of storage for WebRTC.
* `kvsWebRTCClientBasicStorageSession` - This application ingests sample video & audio frames and demonstrates how to store WebRTC media in Kinesis Video Streams

Run any of the sample applications by passing to it the name that you want to give to your signaling channel. The application creates the signaling channel using the name you provide. For example, to create a signaling channel called myChannel and to start sending sample H264/Opus frames via this channel, run the following command from `build/` directory:

Expand Down
9 changes: 2 additions & 7 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,12 @@ if(GST_FOUND)
)
target_link_libraries(kvsWebrtcClientMasterGstSample kvsWebrtcClient kvsWebrtcSignalingClient ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils websockets)

add_executable(
kvsWebrtcClientStorageSession
Common.c
kvsWebRTCClientStorageSession.c)
target_link_libraries( kvsWebrtcClientStorageSession kvsWebrtcClient kvsWebrtcSignalingClient ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils websockets)

install(TARGETS kvsWebrtcClientMasterGstSample kvsWebrtcClientStorageSession
install(TARGETS kvsWebrtcClientMasterGstSample
RUNTIME DESTINATION bin
)
endif()

install(TARGETS kvsWebrtcClientMaster kvsWebrtcClientViewer discoverNatBehavior
RUNTIME DESTINATION bin
)

Loading

0 comments on commit 5cd7657

Please sign in to comment.