FVoicePacketBuffer::PushPacket

Push a new packet of decompressed audio onto the buffer to be consumed.

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoicePacketBuffer.h

Include

#include "VoicePacketBuffer.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/VoicePacketBuffer.cpp

Syntax

void PushPacket
(
    const void * InBuffer,
    int32 NumBytes,
    uint64 InStartSample,
    EVoipStreamDataFormat Format
)

Remarks

Push a new packet of decompressed audio onto the buffer to be consumed. This should be called on the voice engine thread.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss