summaryrefslogtreecommitdiff
path: root/src/core.h
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-12-07 22:57:23 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-12-07 22:57:23 +0100
commit1ddcc5cceab0441cf6161176cc81e3f6186c473d (patch)
treee3e82e922c409efa3a9750185ffef4178788282b /src/core.h
parent0be214da35d9d13ce5487cc814f0c4f03040adfa (diff)
video: start video on update
- if we receive an updated SDP from re-INVITE which has the video line enabled, start the video stream Thanks to Gary Metalle for the original patch
Diffstat (limited to 'src/core.h')
-rw-r--r--src/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.h b/src/core.h
index 123a7cf..ac1efd8 100644
--- a/src/core.h
+++ b/src/core.h
@@ -424,6 +424,7 @@ int video_alloc(struct video **vp, const struct config *cfg,
video_err_h *errh, void *arg);
int video_start(struct video *v, const char *peer);
void video_stop(struct video *v);
+bool video_is_started(const struct video *v);
int video_encoder_set(struct video *v, struct vidcodec *vc,
int pt_tx, const char *params);
int video_decoder_set(struct video *v, struct vidcodec *vc, int pt_rx,