client and server modes in rtc example
more documentation in rtc example