Third party video framework

JC
Jonathan Clapson
Wed, Jun 19, 2019 4:07 AM

I am trying to use a third party media framework. I am currently looking through the code base trying to answer the following questions.

Is there something equivalent to PJSUA_MEDIA_HAS_PJMEDIA (I understand this will disable all audio&video processing while still allowing pjsip to handle sdp) for video only (ie still use all the standard pjsua audio processing)? I haven't been able to find anything yet. If this doesn't exist, is implementing this relatively easy?

If switching out video only isn't something easy to do, and I instead switch out both audio and video, I'm not certain where to begin either.

I'm expecting whether I implement only video or both audio and video, that I still have to tell pjsip about what formats I support, and provide a handler for pjsip to notify me what the media format information that was negotiated? What functions are involved in this?

Any pointers are much appreciated.

[http://www.ict.co/media/promo/ICTfooter.gif] http://www.ict.co/news

I am trying to use a third party media framework. I am currently looking through the code base trying to answer the following questions. Is there something equivalent to PJSUA_MEDIA_HAS_PJMEDIA (I understand this will disable all audio&video processing while still allowing pjsip to handle sdp) for video only (ie still use all the standard pjsua audio processing)? I haven't been able to find anything yet. If this doesn't exist, is implementing this relatively easy? If switching out video only isn't something easy to do, and I instead switch out both audio and video, I'm not certain where to begin either. I'm expecting whether I implement only video or both audio and video, that I still have to tell pjsip about what formats I support, and provide a handler for pjsip to notify me what the media format information that was negotiated? What functions are involved in this? Any pointers are much appreciated. [http://www.ict.co/media/promo/ICTfooter.gif] <http://www.ict.co/news>
Лухнов Андрей Олегович
Wed, Jun 19, 2019 5:57 AM

Jonathan,

I suppose, implementing custom pjmedia_vid_dev_factory for video device will be sufficient. You will later need to register it with pjmedia_vid_register_factory.
Please follow online docs here: [ https://www.pjsip.org/pjmedia/docs/html/group__s8__video__device__implementors__api.htm | https://www.pjsip.org/pjmedia/docs/html/group__s8__video__device__implementors__api.htm ]

Best,
Andrey

From: "Jonathan Clapson" jclapson@incontrol.co.nz
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, June 19, 2019 7:07:53 AM
Subject: [pjsip] Third party video framework

I am trying to use a third party media framework. I am currently looking through the code base trying to answer the following questions.

Is there something equivalent to PJSUA_MEDIA_HAS_PJMEDIA (I understand this will disable all audio&video processing while still allowing pjsip to handle sdp) for video only (ie still use all the standard pjsua audio processing)? I haven't been able to find anything yet. If this doesn't exist, is implementing this relatively easy?

If switching out video only isn't something easy to do, and I instead switch out both audio and video, I'm not certain where to begin either.

I'm expecting whether I implement only video or both audio and video, that I still have to tell pjsip about what formats I support, and provide a handler for pjsip to notify me what the media format information that was negotiated? What functions are involved in this?

Any pointers are much appreciated.

[ http://www.ict.co/news |
]


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Jonathan, I suppose, implementing custom pjmedia_vid_dev_factory for video device will be sufficient. You will later need to register it with pjmedia_vid_register_factory. Please follow online docs here: [ https://www.pjsip.org/pjmedia/docs/html/group__s8__video__device__implementors__api.htm | https://www.pjsip.org/pjmedia/docs/html/group__s8__video__device__implementors__api.htm ] Best, Andrey From: "Jonathan Clapson" <jclapson@incontrol.co.nz> To: "pjsip" <pjsip@lists.pjsip.org> Sent: Wednesday, June 19, 2019 7:07:53 AM Subject: [pjsip] Third party video framework I am trying to use a third party media framework. I am currently looking through the code base trying to answer the following questions. Is there something equivalent to PJSUA_MEDIA_HAS_PJMEDIA (I understand this will disable all audio&video processing while still allowing pjsip to handle sdp) for video only (ie still use all the standard pjsua audio processing)? I haven't been able to find anything yet. If this doesn't exist, is implementing this relatively easy? If switching out video only isn't something easy to do, and I instead switch out both audio and video, I'm not certain where to begin either. I'm expecting whether I implement only video or both audio and video, that I still have to tell pjsip about what formats I support, and provide a handler for pjsip to notify me what the media format information that was negotiated? What functions are involved in this? Any pointers are much appreciated. [ http://www.ict.co/news | ] _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org