Open pergolafabio opened 2 years ago
I didnt test yet, but I see I can define a video path, can o use an rtsp:// url?
Hi @pergolafabio , sipclient actually consumes a video file and send it to the call's destination. Basically: video (mp4) ---(rtp/udp)---> SIP endpoint
If i understood correctly, you would need to play an RTSP source and send it's video packets to the SIP endpoint. At this moment this script don't do this but this could be extended to do what you want. There are different ways to achieve this.
Hey @mariogasparoni , that would be great indeed... The only sip client I found that can inject RTSP is baresip... I have a door intercom, but no camera on it... But I have another camera outside... So what I do know, I have setup asterisk, and when I receive an invite, I actually do a curl command to baresip, so baresip calls me with rtsp feed and early media... If I pickup, the conf is started, and asterisk joins the calll too... So the baresip is onfy for injecting video as early media and while in call...
The ultimate goal is to remove asterisk, and use your script as a invite sip listener too that on incoming call I can do some autotransfer with rtsp video
Hi, @mariogasparoni
Just found this repo, I want to use it for setting up a call trough command line... But I also want to start a video call... How can I setup a call with video? How to define the source? Can I setup an RTSP as source? Or do I need to create a v4l2loopback?
My goal is to create a call using video for door intercom purposes, so I can use the video as early media and then I join the intercom into a conference