-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[H.264] SDP Modifiers Not Triggered When Configuring sessionDescriptionHandlerFactoryOptions in SIP.js 0.21.2 #1103
Comments
Dear SipJs API User,
This is to inform you that our team no longer actively manages or supports the SipJs API. As a result, we cannot provide development support, address issues, or implement changes.
We would recommend that you review the existing documentation or explore alternative solutions to meet your needs.
We apologize for any inconvenience and appreciate your understanding.
Best regards,
SipJs API Team
From: changshenglong ***@***.***>
Date: Friday, February 28, 2025 at 1:38 AM
To: onsip/SIP.js ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [onsip/SIP.js] [H.264] SDP Modifiers Not Triggered When Configuring sessionDescriptionHandlerFactoryOptions in SIP.js 0.21.2 (Issue #1103)
CAUTION: This email is originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Labels: bug h264 sdp
Environment
SIP.js Version: 0.21.2
Browser: Chrome 133
WebRTC Server: FreeSWITCH 1.10
Issue Description
When attempting to force H.264 video codec by modifying SDP through sessionDescriptionHandlerFactoryOptions.modifiers, the modifier function is not invoked. The modifiers array remains empty during SessionDescriptionHandler initialization despite explicit configuration.
Steps to Reproduce
1: Configure UserAgent with sessionDescriptionHandlerFactoryOptions:
const userAgent = new SIP.UserAgent({
loggerFactory: { /* ... */ },
sessionDescriptionHandlerFactoryOptions: {
modifiers: [forceH264] // Modifier not triggered
}
});
2: Initiate a video call with constraints:
userAgent.invite(target, {
sessionDescriptionHandlerOptions: {
constraints: { audio: true, video: true }
}
});
Observe that forceH264 function is never called.
Expected Behavior
The forceH264 modifier should process SDP to retain only H.264 payloads.
Resulting SDP should contain a=rtpmap:... H264/90000 and exclude other codecs like VP8/VP9.
Current Behavior
modifiers array is empty in SessionDescriptionHandler options (debug screenshot).
Raw SDP still contains multiple video codec options (e.g., VP8).
—
Reply to this email directly, view it on GitHub<#1103>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAECG7HFRU4WNALLEDKCD2D2R774PAVCNFSM6AAAAABYBSI33GVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4DMMZTGYYTENY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
[changshenglong]changshenglong created an issue (onsip/SIP.js#1103)<#1103>
Labels: bug h264 sdp
Environment
SIP.js Version: 0.21.2
Browser: Chrome 133
WebRTC Server: FreeSWITCH 1.10
Issue Description
When attempting to force H.264 video codec by modifying SDP through sessionDescriptionHandlerFactoryOptions.modifiers, the modifier function is not invoked. The modifiers array remains empty during SessionDescriptionHandler initialization despite explicit configuration.
Steps to Reproduce
1: Configure UserAgent with sessionDescriptionHandlerFactoryOptions:
const userAgent = new SIP.UserAgent({
loggerFactory: { /* ... */ },
sessionDescriptionHandlerFactoryOptions: {
modifiers: [forceH264] // Modifier not triggered
}
});
2: Initiate a video call with constraints:
userAgent.invite(target, {
sessionDescriptionHandlerOptions: {
constraints: { audio: true, video: true }
}
});
Observe that forceH264 function is never called.
Expected Behavior
The forceH264 modifier should process SDP to retain only H.264 payloads.
Resulting SDP should contain a=rtpmap:... H264/90000 and exclude other codecs like VP8/VP9.
Current Behavior
modifiers array is empty in SessionDescriptionHandler options (debug screenshot).
Raw SDP still contains multiple video codec options (e.g., VP8).
—
Reply to this email directly, view it on GitHub<#1103>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAECG7HFRU4WNALLEDKCD2D2R774PAVCNFSM6AAAAABYBSI33GVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4DMMZTGYYTENY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels: bug h264 sdp
Environment
SIP.js Version: 0.21.2
Browser: Chrome 133
WebRTC Server: FreeSWITCH 1.10
Issue Description
When attempting to force H.264 video codec by modifying SDP through sessionDescriptionHandlerFactoryOptions.modifiers, the modifier function is not invoked. The modifiers array remains empty during SessionDescriptionHandler initialization despite explicit configuration.
Steps to Reproduce
1: Configure UserAgent with sessionDescriptionHandlerFactoryOptions:
const userAgent = new SIP.UserAgent({
loggerFactory: { /* ... */ },
sessionDescriptionHandlerFactoryOptions: {
modifiers: [forceH264] // Modifier not triggered
}
});
2: Initiate a video call with constraints:
userAgent.invite(target, {
sessionDescriptionHandlerOptions: {
constraints: { audio: true, video: true }
}
});
Observe that forceH264 function is never called.
Expected Behavior
The forceH264 modifier should process SDP to retain only H.264 payloads.
Resulting SDP should contain a=rtpmap:... H264/90000 and exclude other codecs like VP8/VP9.
Current Behavior
modifiers array is empty in SessionDescriptionHandler options (debug screenshot).
Raw SDP still contains multiple video codec options (e.g., VP8).
The text was updated successfully, but these errors were encountered: