How can I select RTSP videos using a Combo Box?

I have a Combo Box that has a list of values:
Driveway
Entrance
Street

Etc.

Each one of those has an RTSP stream.

I would like to set the MediaElement to the associated RTSP stream for each item in the Combo Box.

Thanks in advance for the help.

I think I figured it out.
In Combo Box>Items

Add ComboBoxItem
Text: Driveway
Value: RTSP Stream

In MediaElement, bind the Source to the ComboBox Selected Value.

1 Like

Yes! That’s exactly the way I would have done it.

1 Like