コード例 #1
0
ファイル: librtmp.c プロジェクト: CodeAsm/ffplay360
static int rtmp_read_pause(URLContext *s, int pause)
{
    RTMP *r = s->priv_data;

    if (!RTMP_Pause(r, pause))
        return -1;
    return 0;
}
コード例 #2
0
ファイル: ksyrtmp.c プロジェクト: 743848887/KSYLiveiOSSDK
int rtmp_read_pause(LibRTMPContext *ctx, int pause)
{
    RTMP *r = &ctx->rtmp;

    if (!RTMP_Pause(r, pause))
        return ERROR_UNKNOWN;
    return 0;
}
コード例 #3
0
ファイル: librtmp.c プロジェクト: 411697643/FFmpeg
static int rtmp_read_pause(URLContext *s, int pause)
{
    LibRTMPContext *ctx = s->priv_data;
    RTMP *r = &ctx->rtmp;

    if (!RTMP_Pause(r, pause))
        return AVERROR_UNKNOWN;
    return 0;
}
コード例 #4
0
/*
 * Class:     net_butterflytv_rtmp_client_RtmpClient
 * Method:    pause
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_net_ossrs_sea_RtmpClient_pause
        (JNIEnv * env, jobject thiz, jint pauseTime) {

    return RTMP_Pause(rtmp, pauseTime);
}