Amazon Kinesis Producer C SDK
StreamCallbacksProvider.c File Reference
#include "Include_i.h"
Include dependency graph for StreamCallbacksProvider.c:

Macros

#define LOG_CLASS   "StreamCallbacksProvider"
 

Functions

STATUS defaultStreamUnderflowCallback (UINT64 customData, STREAM_HANDLE streamHandle)
 
STATUS defaultBufferDurationOverflowCallback (UINT64 customData, STREAM_HANDLE streamHandle, UINT64 remainDuration)
 
STATUS defaultStreamLatencyPressureCallback (UINT64 customData, STREAM_HANDLE streamHandle, UINT64 currentBufferDuration)
 
STATUS defaultStreamConnectionStaleCallback (UINT64 customData, STREAM_HANDLE streamHandle, UINT64 timeSinceLastBufferingAck)
 
STATUS defaultDroppedFrameReportCallback (UINT64 customData, STREAM_HANDLE streamHandle, UINT64 frameTimecode)
 
STATUS defaultDroppedFragmentReportCallback (UINT64 customData, STREAM_HANDLE streamHandle, UINT64 fragmentTimeCode)
 
STATUS defaultStreamErrorReportCallback (UINT64 customData, STREAM_HANDLE streamHandle, UPLOAD_HANDLE uploadHandle, UINT64 fragmentTimecode, STATUS errorStatus)
 
STATUS defaultFragmentAckReceivedCallback (UINT64 customData, STREAM_HANDLE streamHandle, UPLOAD_HANDLE uploadHandle, PFragmentAck pFragmentAck)
 
STATUS defaultStreamDataAvailableCallback (UINT64 customData, STREAM_HANDLE streamHandle, PCHAR streamName, UPLOAD_HANDLE uploadHandle, UINT64 durationAvailable, UINT64 bytesAvailable)
 
STATUS defaultStreamReadyCallback (UINT64 customData, STREAM_HANDLE streamHandle)
 
STATUS defaultStreamClosedCallback (UINT64 customData, STREAM_HANDLE streamHandle, UPLOAD_HANDLE uploadHandle)
 
STATUS defaultStreamShutdownCallback (UINT64 customData, STREAM_HANDLE streamHandle, BOOL resetStream)
 
STATUS defaultFreeStreamCallbacksFn (PUINT64 customData)
 
STATUS createStreamCallbacks (PStreamCallbacks *ppStreamCallbacks)
 
STATUS freeStreamCallbacks (PStreamCallbacks *ppStreamCallbacks)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "StreamCallbacksProvider"

Kinesis Video Producer StreamCallbacks Provider

Function Documentation

◆ defaultBufferDurationOverflowCallback()

STATUS defaultBufferDurationOverflowCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UINT64  remainDuration 
)
Here is the caller graph for this function:

◆ defaultDroppedFragmentReportCallback()

STATUS defaultDroppedFragmentReportCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UINT64  fragmentTimeCode 
)
Here is the caller graph for this function:

◆ defaultDroppedFrameReportCallback()

STATUS defaultDroppedFrameReportCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UINT64  frameTimecode 
)
Here is the caller graph for this function:

◆ defaultFragmentAckReceivedCallback()

STATUS defaultFragmentAckReceivedCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UPLOAD_HANDLE  uploadHandle,
PFragmentAck  pFragmentAck 
)
Here is the caller graph for this function:

◆ defaultFreeStreamCallbacksFn()

STATUS defaultFreeStreamCallbacksFn ( PUINT64  customData)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ defaultStreamClosedCallback()

STATUS defaultStreamClosedCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UPLOAD_HANDLE  uploadHandle 
)
Here is the caller graph for this function:

◆ defaultStreamConnectionStaleCallback()

STATUS defaultStreamConnectionStaleCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UINT64  timeSinceLastBufferingAck 
)
Here is the caller graph for this function:

◆ defaultStreamDataAvailableCallback()

STATUS defaultStreamDataAvailableCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
PCHAR  streamName,
UPLOAD_HANDLE  uploadHandle,
UINT64  durationAvailable,
UINT64  bytesAvailable 
)
Here is the caller graph for this function:

◆ defaultStreamErrorReportCallback()

STATUS defaultStreamErrorReportCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UPLOAD_HANDLE  uploadHandle,
UINT64  fragmentTimecode,
STATUS  errorStatus 
)
Here is the caller graph for this function:

◆ defaultStreamLatencyPressureCallback()

STATUS defaultStreamLatencyPressureCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
UINT64  currentBufferDuration 
)
Here is the caller graph for this function:

◆ defaultStreamReadyCallback()

STATUS defaultStreamReadyCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle 
)
Here is the caller graph for this function:

◆ defaultStreamShutdownCallback()

STATUS defaultStreamShutdownCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle,
BOOL  resetStream 
)
Here is the caller graph for this function:

◆ defaultStreamUnderflowCallback()

STATUS defaultStreamUnderflowCallback ( UINT64  customData,
STREAM_HANDLE  streamHandle 
)
Here is the caller graph for this function: