// Clean up the video stream
void destroyVideoStream(void) {
    destroyVideoDepacketizer();
    RtpqCleanupQueue(&rtpQueue);
}
// Tear down the audio stream once we're done with it
void destroyAudioStream(void) {
    if ((AudioCallbacks.capabilities & CAPABILITY_DIRECT_SUBMIT) == 0) {
        freePacketList(LbqDestroyLinkedBlockingQueue(&packetQueue));
    }
    RtpqCleanupQueue(&rtpReorderQueue);
}