diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2016-12-07 22:57:23 +0100 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2016-12-07 22:57:23 +0100 |
commit | 1ddcc5cceab0441cf6161176cc81e3f6186c473d (patch) | |
tree | e3e82e922c409efa3a9750185ffef4178788282b /src/core.h | |
parent | 0be214da35d9d13ce5487cc814f0c4f03040adfa (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |