# Syncing Send Video and Send Audio in meeting SDK

**URL:** <https://devforum.zoom.us/t/syncing-send-video-and-send-audio-in-meeting-sdk/110080>\
**Category:** Meeting SDK\
**Created:** [May 16, 2024, 8:37am UTC](https://devforum.zoom.us/t/syncing-send-video-and-send-audio-in-meeting-sdk/110080 "2024-05-16T08:37:33Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [May 28, 2024, 1:52am UTC](https://devforum.zoom.us/t/syncing-send-video-and-send-audio-in-meeting-sdk/110080/7 "2024-05-28T01:52:22Z")

</div>

Hey @purnam-admin, happy to help!

The approach we would recommend here, as @donte.zoom mentioned, is to use GStreamer as manually implementing audio and video synchronisation can be complex.

To give a specific example of how you’d accomplish this, you’d want a pipeline similar to the following (in textual format, which can be executed on the command line with gst-launch-1.0)

```auto
uridecodebin name=dec uri=file:///vid.mp4 ! \
videoconvert ! videoscale ! videorate ! video/x-raw,format=I420,width=1280,height=720,framerate=(fraction)30/1 ! appsink name=vidsink sync=true \
dec. ! audioconvert ! audioresample ! audio/x-raw,format=s16le,rate=16000,channels=1 ! appsink name=audsink sync=true

```

The `uridecodebin` demuxes the MP4 into audio and video streams, and we use a `videoconvert`, `videoscale`, `videorate` to convert the video to the format that the Zoom SDK expects. We do the same with the audio, and convert it using `audioconvert` and `audioresample`.

We terminate both branches of the pipeline at an `appsink` which is a GStreamer element that allows you to extract media from the GStreamer pipeline into your application.

In your application, you’d attach to the `new-sample` signal emitted by the `appsink,` and call `audio_sender->send()` or `video_sender->sendVideoFrame()` when new audio or video media is available.

In this arrangement, the GStreamer pipeline maintains an internal clock and handles the synchronisation of the data reaching the `appsink`s, which drives the callbacks to the audio sender and video sender.

## Alternate Solution

If you don’t want to deal with managing all of this yourself, an alternative is to use the [Recall.ai API](https://www.recall.ai/?utm_source=zoom_dev_forum&utm_medium=forum_answer&utm_campaign=syncing_send_video_audio&utm_content=Recall.ai_API)for your meeting bots instead.

It’s a simple 3rd party API that lets you use meeting bots to send raw audio/video into meetings without you needing to spend months to build, scale and maintain these bots.

Let me know if you have any questions!

---

_[View the full topic](https://devforum.zoom.us/t/syncing-send-video-and-send-audio-in-meeting-sdk/110080)._
