public ChannelUriStringBuilder media ( final String media ) { switch ( media ) { case CommonContext . UDP_MEDIA : case CommonContext . IPC_MEDIA : break ; default : throw new IllegalArgumentException ( "invalid media: " + media ) ; } this . media = media ; return this ; }
Set the media for this channel . Valid values are udp and ipc .