Video transmission start/stop event in CSipSimple

89 views
Skip to first unread message

himadri...@inextrix.com

unread,
Dec 12, 2015, 12:25:53 AM12/12/15
to CSipSimple Development
Hello,

I am working on dialer application based on the CSipSimple and I need help with Video integration.

Problem : I am facing problem with video transmission start or stop event

Description : 

I am working on video call between two device using asterisk, and its working fine. My requirement is to add the start or stop video transmission functionality and it is working. But If I am stop transmitting video from device "A" then i want to notify device "B" that Video transmission is now stopped from device "A", but i am not able to find any event or action in it.

So any one have idea for this issue then please help me to fixed it out. Looking for prompt reply.

Thanks in advance.

Regards,
Himadri Jethva

varun pratapsingh

unread,
Dec 12, 2015, 12:32:06 AM12/12/15
to csipsim...@googlegroups.com

Hi Himadri,

I hope a re- INVITE sip message or UPDATE message is responsible for updating media on far end of session. An updated sdp params will notify another end to stop video. When you stop video on device A then an re invite with sdp with media line video will not be there sent to other device will negotiate to end video there.

Thanks
Varun
Mobile: +91-9873868905
Call me anytime
Sip consultant

--
You received this message because you are subscribed to the Google Groups "CSipSimple Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to csipsimple-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

himadri...@inextrix.com

unread,
Dec 12, 2015, 1:15:19 AM12/12/15
to CSipSimple Development
Hello Varun,

Thanks for your prompt replay.

Would you like to provide me one more help that how can I identify the updated media and also media line video from my dialer application.
Is there any way to do it ?

varun pratapsingh

unread,
Dec 12, 2015, 2:41:35 AM12/12/15
to csipsim...@googlegroups.com

Presently I cannot pin point the function names but there is support in pjsip for media update. Search media update offer with pjsip surely you will find a pointer to utilize this. You can also call me for further explanation.

Thanks
Varun
Mobile: +91-9873868905

himadri...@inextrix.com

unread,
Dec 14, 2015, 11:29:45 PM12/14/15
to CSipSimple Development

Hi Varun,

I have gone through the CSipSimple code, but no luck.I didn't found any function which point to such event for media update, so if you have some time then please help me to reach that function. Sorry for bothering you but I really need your help in this matter.

Thanks & Regards.
Himadri Jethva.

varun pratapsingh

unread,
Dec 14, 2015, 11:54:25 PM12/14/15
to csipsim...@googlegroups.com

Refer lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2012-july/015048.html

Here Nanang explains the same

Also see there is support for media update on re-invite or update sip method. If it is not there in CSIPSIMPLE java layer then you need to create a wrapper of it in CSIPSIMPLE and derive this method in java layer to support this.

Pjsip support can be found in www.pjsip.org/pjsip/docs/HTML/structpjsip_inv_callback.htm

BR
Varun

himadri...@inextrix.com

unread,
Dec 15, 2015, 1:45:25 AM12/15/15
to CSipSimple Development

This two's url does not exist. So can you please provide me proper link, where I can found the solution. Also I have search for the function media update. But its log nothing when we print anything in that function , its just for local event of speaker on/off, mic mute/un-mute etc. Sorry but need your replay again here.

if possible then what is the prefer time to contact you on call ?

himadri...@inextrix.com

unread,
Dec 23, 2015, 5:18:55 AM12/23/15
to CSipSimple Development
Hello Varun,

I have tried a lot to found such event which point to media update, but no luck.
Can you please help me again? If possible then, can I contact you on call ?

varun pratapsingh

unread,
Dec 23, 2015, 5:54:35 AM12/23/15
to csipsim...@googlegroups.com

Call me

Reply all
Reply to author
Forward
0 new messages