Skip to content

Conversation

@keremcadirci
Copy link
Collaborator

No description provided.

ChristopheI and others added 26 commits July 11, 2025 15:57
…ection, Video stream are added/removed

Also add missing code in SendRtpRaw() and in SendRtcpTWCCFeedback() when text as MediaType is used
Remove redundancy code
Use same tests for video than ones used for audio or text
…structor returns. Can cause exceptions that can't be caught and crash the running app. (sipsorcery-org#1439)
Fix sipsorcery-org#1438: Video Stream are cut when, in a same PeeConnection, Video streams are added/removed
* wip: add turn option to FFmpeg example.

* Adjusted webrtc ffmpeg example to optioanlly use a TURN server.
…ipsorcery-org#1446)

* Improvements to the webrtc ffmpeg demo ui to make more responsive.

* Update examples/WebRTCExamples/WebRTCFFmpegGetStarted/wwwroot/index.html

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update examples/WebRTCExamples/WebRTCFFmpegGetStarted/wwwroot/index.html

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update examples/WebRTCExamples/WebRTCFFmpegGetStarted/wwwroot/index.html

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Removed confusing license wording.
Removed confusing license wording
* Add network change detection to clear cached addresses.

* Return cached ip only when it is valid
* wip: adding turn client for rtp session.

* wip: wiring up turn client state machine.

* Progressed to allocate error response from TURN server.

* wip

* wip getting turn client working with rtpsession.

* wip

* Turn client wiring approach working with SIP UAC.

* Tweaked logging.

* Add max allocate attempts to turn client.

* Moved stun message handling into base RTPChannel class.

* wip: turn client timers.

* Improvements to TURN client timers. Still not quite right.

* Turn refresh timers now working properly.

* Fixed SO.

* Fixed unit tests.

* Added UseTurn extension method.

* Adjustments to get TURN working for SIP UAC and UAS.

* Removed incorrect obsolete attribute on RtpBindAddress.

* Fixed typo and adjusted precedence of relay endpoint use in SDP.

* Update src/net/TURN/TurnRelayEndPoint.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/net/TURN/TurnClientExtensions.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/net/TURN/IceTcpReceiver.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update examples/sipcmdline/Program.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update examples/SIPExamples/UserAgentServerWithStun/Program.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update examples/SIPExamples/UserAgentClientWithStun/Program.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/net/TURN/TurnRelayEndPoint.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixed typos.

* Fixed typos.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…exive address more convenient (sipsorcery-org#1460)

* Adds a STUNClient and extension to make consuming the RTP server reflexive address more convenient.

* Update src/net/RTP/RTPSession.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/net/STUN/STUNClient.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Use the timeout secodns in the stun client extension.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ipsorcery-org#1461)

* wip.

* Adjusted TURN client not to rely on SDP connection IP address. Updated examples.

* Update examples/SIPExamples/UserAgentClient/Program.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update examples/SIPExamples/UserAgentServer/Program.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
If we have multiple videotracks in one session, there are multiple ssrc's in the REMB feedback. prior to this fix, there was a warning about unparseable packets as the remeining buffer belongs to the remb feedback.
…r ssrc 0, (sipsorcery-org#1472)

* Update RTPSession.cs

if we have multiple SSRC in one stream, the REMB feedback comes in for ssrc 0, the real Feedback-SSRCs are in the FeedbackSSRCs array and need to be matched by user.

* Update RTPSession.cs

use Pattern matching
* Fixing ToUnixTime tests not using DateTimeKind.Utc

* Fixing incorrect log in SIPTransactionEngine
Add GetMediaStreamByRTPPort method to enable media stream identification by RTP port when SSRC and payload type matching fails. This provides an additional fallback mechanism in OnReceiveRTPPacket to correctly route incoming RTP packets to their corresponding media streams.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.