Hi Gang, Yes, you could, please see the doc http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__RESAMPLE__PORT.htm ;) Regards, nanang 2008/7/3 Gang Lau <gangban.lau at gmail.com>: > Hi, > We want to stream audio to remote network program. > There are two sound devices. One is opened as 44100 clockrate, the other > is opened as 16000 clockrate. > The media stream we created is using G.711 U-LAW. > > snd_port_44k ----- > switching ----- g.711 stream > snd_port_16k ---- > > We need switch the snd port connected to stream based on the application > request. Yes, I could create a conference bridge and plug > three media port above to slove it. But I am wonder whether I cound > create resample port when switching snd device instead of conf bridge. > Destroy resample port will also destroy downstream port.Could we only > destroy resample port itself? > > regards, > > Gang > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >