Thank u very much but i did this using gst_caps_new_simple it is working fine....when i m saving to file it is working fine but facing problem when i m listening live audio data,there is little disturbance in playback.
"but facing problem when i m listening live audio data,there is little disturbance in playback. "
Are you using a different live audio source as input to the sender or did you replace the filesink with something like alsasink or pulsesink? If you are using alsasink or pulsesink you may need to set their sync propeerties to FALSE.
And by "little disturbance" do you mean there is noise in the playback? There may be a problem with the sync properties of the sink (alsa- or file-) as noted above or your receiver caps could be mismatched to your sender.