I am having some trouble with recieving RTP stream using ffmpeg,
This is the SDP I'm using:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 40.123.196.251
t=0 0
a=tool:libavformat 58.29.100
m=audio 12222 RTP/AVP 0
b=AS:64
a=rtpmap:0 PCMU/8000/1
This is the ffmpeg command I'm using to write it to a wav file.
sudo ffmpeg -loglevel debug -protocol_whitelist file,crypto,udp,rtp -i test.sdp -c copy test.wav -y
Getting the file properly... But I need to filter it based on the source port... as these are different phone calls...
Pls help ??
question from:
https://stackoverflow.com/questions/65670855/recieve-audio-data-from-rtp-filtered-by-port 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…