HMR to change a=sendonly when connection c != 0.0.0.0
Hi Fellows,
I hope you are ok.
I would like you can help me with the following HMR and validate if I can do a replacement based on 2 values on the SDP, but one of the values belongs to the session-part and the other one to the media-part.
What I am trying to do is the following:
If c is different from 0.0.0.0 (any IP address values)
and
a=sendonly is present , then I want to replaace a=sendonly to a=sendrecv
v=0
o=- 2704667834 2519592692 IN IP4 10.255.0.0
s=-
c=IN IP4 10.255.0.0
t=0 0
m=audio 40796 RTP/AVP 0 8 102
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000