# How to get video preview?

**URL:** <https://community.asterisk.org/t/how-to-get-video-preview/92485>\
**Category:** Asterisk SIP\
**Created:** [April 29, 2022, 2:23pm UTC](https://community.asterisk.org/t/how-to-get-video-preview/92485 "2022-04-29T14:23:05Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Summer](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/summer/32/6900_2.png) [@Summer](https://community.asterisk.org/u/Summer)\
**Post date:** [May 5, 2022, 3:01pm UTC](https://community.asterisk.org/t/how-to-get-video-preview/92485/11 "2022-05-05T15:01:26Z")

</div>

I’m not a developer, I’ve found out this post about the topic:

> [@Group video calling in asterisk](https://community.asterisk.org/t/group-video-calling-in-asterisk/68482/6):
>
> Dial only handles early media when there is a single candidate destination. That is mainly done for the normal telephony case where you wouldn’t generally want callees to hear you before they had answered. However the test is obviously being applied to all early media not just early media in the direction where it would need to be merged. Basically this code is doing it: /\* single is set if only one destination is enabled \*/ int single = outgoing && !AST\_LIST\_NEXT(outgoing, node); which…

Found out the source file at:

> <https://github.com/asterisk/asterisk/blob/8fdc6008a443b2b59eeb31e95bc66ca97a398770/apps/app_dial.c#L1576>

Can you please tell me what edit is needed before starting to compile?

Thanks, BR

---

_[View the full topic](https://community.asterisk.org/t/how-to-get-video-preview/92485)._
