AliyunIStreamExporterCallback

@protocol AliyunIStreamExporterCallback <NSObject>

* Stream export

  • * write packet for stream export; Attention: Maybe not in main thread call

    Declaration

    Objective-C

    - (void)onStreamExporterWritePacket:(uint8_t *)buffer bufSize:(size_t)bufSize;

    Parameters

    buffer

    The data need to be write

    bufSize

    The size of data

  • * seek for stream export

    Declaration

    Objective-C

    - (void)onStreamExporterSeek:(size_t)offset;

    Parameters

    offset

    The position of next write for stream export