examples: webrtc: Add bus handling to the Android and C sendrecv examples
authorSebastian Dröge <sebastian@centricular.com>
Tue, 20 Dec 2022 11:02:08 +0000 (13:02 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 Dec 2022 11:02:08 +0000 (13:02 +0200)
commitd10981f7b9d4db17eddbef2e92a8ef1e38ae9dbc
tree880b843f7663c7425885e6c2ae3aadd7051e33db
parent9914ff9b4c14343856e25e7b2b341551c6c22ec8
examples: webrtc: Add bus handling to the Android and C sendrecv examples

Without a bus, messages will just pile up and errors are not handled at
all. Also without handling the LATENCY messages the latency configured
on the pipeline will be wrong.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3609>
subprojects/gst-examples/webrtc/android/app/src/main/jni/webrtc.c
subprojects/gst-examples/webrtc/sendrecv/gst/webrtc-sendrecv.c