# Angular Components select media devices without prejoin

**URL:** <https://openvidu.discourse.group/t/angular-components-select-media-devices-without-prejoin/4190>\
**Category:** How to implement?\
**Tags:** v2\
**Created:** [September 12, 2022, 12:40pm UTC](https://openvidu.discourse.group/t/angular-components-select-media-devices-without-prejoin/4190 "2022-09-12T12:40:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dario.montuori](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@dario.montuori](https://openvidu.discourse.group/u/dario.montuori)\
**Post date:** [September 12, 2022, 12:40pm UTC](https://openvidu.discourse.group/t/angular-components-select-media-devices-without-prejoin/4190/1 "2022-09-12T12:40:28Z")

</div>

Hello,

I’m trying to let the participant choose which media device it wants to use without using the _prejoin directive_ but I’m having some trouble: If I set `[prejoin]="false"` in the `<ov-videoconference>` component and then join the session it’ll choose the first media device automatically. How can I make a custom selection for media devices? I’ve seen that is possible on _openvidu-browser_ package but it’s not clear with _openvidu-angular_ package.

Best regards

---

<div class="post-metadata">

**Author:** ![dario.montuori](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@dario.montuori](https://openvidu.discourse.group/u/dario.montuori)\
**Post date:** [September 23, 2022, 8:23am UTC](https://openvidu.discourse.group/t/angular-components-select-media-devices-without-prejoin/4190/2 "2022-09-23T08:23:40Z")

</div>

Resolved by using `openvidu-browser` library and not `openvidu-angular` and it’s Angular components. The library is missing some important features for me at the moment, like custom device selection before joining.

Best regards

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [October 6, 2022, 3:50pm UTC](https://openvidu.discourse.group/t/angular-components-select-media-devices-without-prejoin/4190/3 "2022-10-06T15:50:07Z")

</div>

Hi,  
FYI: The openvidu-angular library has device selection before and after joinig to session since 2.22.0 (5 monts ago).

Regars
