resume

expect fun resume(): Boolean

Lifts a pause: an RTSP stream asks its server to play on, which for a live stream is the live edge, and an rtmp:// input sends RTMP's unpause. FFmpeg's av_read_play does the work on every backend.

It reaches FFmpeg only while a pause is in effect, because av_read_play on an RTSP stream that is playing asks the server to play again from the last seek target, which for an on-demand stream that was never sought is its beginning. So it answers false, and sends nothing, when there is no pause to lift, which includes every source whose pause answered false. The same concurrency rule as pause applies.

Return

true when a pause was in effect and is now lifted, false when there was none

Throws

when the server or the connection refuses, for example after the server has ended the session; the source then stays paused

actual fun resume(): Boolean

Lifts a pause: an RTSP stream asks its server to play on, which for a live stream is the live edge, and an rtmp:// input sends RTMP's unpause. FFmpeg's av_read_play does the work on every backend.

It reaches FFmpeg only while a pause is in effect, because av_read_play on an RTSP stream that is playing asks the server to play again from the last seek target, which for an on-demand stream that was never sought is its beginning. So it answers false, and sends nothing, when there is no pause to lift, which includes every source whose pause answered false. The same concurrency rule as pause applies.

Return

true when a pause was in effect and is now lifted, false when there was none

Throws

when the server or the connection refuses, for example after the server has ended the session; the source then stays paused

actual fun resume(): Boolean

Lifts a pause: an RTSP stream asks its server to play on, which for a live stream is the live edge, and an rtmp:// input sends RTMP's unpause. FFmpeg's av_read_play does the work on every backend.

It reaches FFmpeg only while a pause is in effect, because av_read_play on an RTSP stream that is playing asks the server to play again from the last seek target, which for an on-demand stream that was never sought is its beginning. So it answers false, and sends nothing, when there is no pause to lift, which includes every source whose pause answered false. The same concurrency rule as pause applies.

Return

true when a pause was in effect and is now lifted, false when there was none

Throws

when the server or the connection refuses, for example after the server has ended the session; the source then stays paused

actual fun resume(): Boolean

Lifts a pause: an RTSP stream asks its server to play on, which for a live stream is the live edge, and an rtmp:// input sends RTMP's unpause. FFmpeg's av_read_play does the work on every backend.

It reaches FFmpeg only while a pause is in effect, because av_read_play on an RTSP stream that is playing asks the server to play again from the last seek target, which for an on-demand stream that was never sought is its beginning. So it answers false, and sends nothing, when there is no pause to lift, which includes every source whose pause answered false. The same concurrency rule as pause applies.

Return

true when a pause was in effect and is now lifted, false when there was none

Throws

when the server or the connection refuses, for example after the server has ended the session; the source then stays paused

actual fun resume(): Boolean

Lifts a pause: an RTSP stream asks its server to play on, which for a live stream is the live edge, and an rtmp:// input sends RTMP's unpause. FFmpeg's av_read_play does the work on every backend.

It reaches FFmpeg only while a pause is in effect, because av_read_play on an RTSP stream that is playing asks the server to play again from the last seek target, which for an on-demand stream that was never sought is its beginning. So it answers false, and sends nothing, when there is no pause to lift, which includes every source whose pause answered false. The same concurrency rule as pause applies.

Return

true when a pause was in effect and is now lifted, false when there was none

Throws

when the server or the connection refuses, for example after the server has ended the session; the source then stays paused