I can get rtp_forward using the audiobridge plugin to successfully create a raw file, but all my attempts fail if I try to do the same using the video plugin (and the requirement is I have to use the video plugin)
For both instances I use these parameters:
audiocodec=pcmu
bitrate=8000
On the receiving side I have an rtp listener, on receiving rtp data I remove the rtp header (first 12 bytes) and write to a file… this results in a raw file which I can replay beautifully when I open with audacity and set the file parameters to ulaw, 8000 bit rate. However, for the life of me I cannot do the same if the rtp_forward is started with the video plugin. (I get files with all kinds of noises)
To make life simple, I am using the demo pages and set the audio parameters in their respective config files. The parameters I set in the audiobridge config file are:
room-1234: {
description = “Demo Room”
sampling_rate = 8000
rtp_forward_host = “127.0.0.1”
rtp_forward_host_family = “ipv4”
rtp_forward_port = 9999
rtp_forward_codec = “pcmu”
rtp_forward_always_on = false
allow_rtp_participants = true
}
The parameters I set in the videoroom config file are:
room-1111: {
description = “Demo Room”
publishers = 6
bitrate = 8000
fir_freq = 10
audiocodec = “pcmu”
videocodec = “vp8”
record = false
}
Any advice will be greatly appreciated,
Thanks