Hi all, I would like to implement this behaviour:
- answer to an incoming call with only audio
- on demand enable video by sending a reinvite
So for first point:
vid_cnt = 0
pjsua_call_answer2
For second point:
pjsua_call_set_vid_strm
The first part works setting video line port 0 which is ok, for the second
part I was expecting a normal video offer instead the sdp body sent with
the reinvite contains both the previous video line with port 0 and the real
and correct offer. How could I correct this? I checked the documentation
but wasn't able to understand what is the right way to achieve this.
Thanks very much in advance
Filippo Graziola
Hi all, I would like to implement this behaviour:
- answer to an incoming call with only audio
- on demand enable video by sending a reinvite
So for first point:
vid_cnt = 0
pjsua_call_answer2
For second point:
pjsua_call_set_vid_strm
The first part works setting video line port 0 which is ok, for the second
part I was expecting a normal video offer instead the sdp body sent with
the reinvite contains both the previous video line with port 0 and the real
and correct offer. How could I correct this? I checked the documentation
but wasn't able to understand what is the right way to achieve this.
Thanks very much in advance
Filippo Graziola