Commit Graph

3019 Commits

Author SHA1 Message Date
shogo4405 3626907b99 Add backgroundModes. 2025-12-05 23:18:41 +09:00
shogo4405 2e07224d16 Add UVCCamera support for Example. 2025-12-05 22:16:55 +09:00
dependabot[bot] 1c65a969a0 Bump fastlane from 2.229.0 to 2.229.1 (#1846)
Bumps [fastlane](https://github.com/fastlane/fastlane) from 2.229.0 to 2.229.1.
- [Release notes](https://github.com/fastlane/fastlane/releases)
- [Changelog](https://github.com/fastlane/fastlane/blob/master/CHANGELOG.latest.md)
- [Commits](https://github.com/fastlane/fastlane/compare/fastlane/2.229.0...fastlane/2.229.1)

---
updated-dependencies:
- dependency-name: fastlane
  dependency-version: 2.229.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-30 13:44:40 +09:00
shogo4405 aefe13d59c Bump up libdatachannel to 0.24.0 (#1845) 2025-11-29 20:13:30 +09:00
shogo4405 e352610c3b Suppress warnings. 2.2.2 2025-11-24 20:48:15 +09:00
shogo4405 b718080c4a Made expectedFrameRate optional. (#1841) 2025-11-24 20:43:05 +09:00
shogo4405 bc88759070 Refactor VideoCodecSettings. 2025-11-24 15:32:16 +09:00
shogo4405 8044c9cc4b refs #1840 2025-11-24 02:10:32 +09:00
shogo4405 31e3bf53ad Add setExpectedMedia method. (#1840) 2025-11-24 02:03:01 +09:00
dependabot[bot] 0148eaa952 Bump fastlane from 2.228.0 to 2.229.0 (#1839)
Bumps [fastlane](https://github.com/fastlane/fastlane) from 2.228.0 to 2.229.0.
- [Release notes](https://github.com/fastlane/fastlane/releases)
- [Changelog](https://github.com/fastlane/fastlane/blob/master/CHANGELOG.latest.md)
- [Commits](https://github.com/fastlane/fastlane/compare/fastlane/2.228.0...fastlane/2.229.0)

---
updated-dependencies:
- dependency-name: fastlane
  dependency-version: 2.229.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-23 17:00:08 +09:00
shogo4405 a16ad85480 fixed an issue where MediaMixer.frameRate would not update. (#1837) 2025-11-21 23:33:54 +09:00
shogo4405 3c234d20e5 Rename #1832 2025-11-21 23:30:18 +09:00
Tabber (인병윤) b119b56969 Add framerate to RTMP onMetaData (#1832)
* feat: Add framerate to RTMP onMetaData

Adds framerate field to RTMP onMetaData for RTMP servers like
nginx-rtmp-module to correctly parse stream frame rate statistics.

The framerate value is synchronized from VideoCodec.expectedFrameRate
when MediaMixer.setFrameRate() is called.

* feat: Move expectedFrameRate to VideoCodecSettings and add framerate to RTMP metadata

- Move expectedFrameRate from VideoCodec to VideoCodecSettings
- Remove setExpectedFrameRate() method from OutgoingStream and StreamConvertible
- Add framerate field to RTMP onMetaData message
- Synchronize expectedFrameRate in MediaMixer.setFrameRate() and addOutput()
- Add helper methods for frame rate synchronization
- Make MediaMixer.defaultFrameRate public

* feat: Rename expectedFrameRate to defaultFrameRate and add framerate to RTMP metadata

- Rename VideoCodecSettings.expectedFrameRate to defaultFrameRate to represent
  a different concept from MediaMixer.frameRate
- Remove synchronization code from MediaMixer.setFrameRate() and addOutput()
  to allow independent frame rate management per stream
- Remove VideoCodec.expectedFrameRate and OutgoingStream.expectedFrameRate properties
- Add framerate field to RTMP onMetaData message for RTMP servers like
  nginx-rtmp-module to correctly parse stream frame rate statistics
- Make MediaMixer.defaultFrameRate public

This change allows each stream to have its own independent defaultFrameRate
(e.g., Service A at 30 FPS, Service B at 60 FPS) while MediaMixer can output
at a different frame rate. The defaultFrameRate is used both for VideoToolbox
encoder configuration and RTMP metadata.

Breaking changes:
- VideoCodecSettings.expectedFrameRate renamed to defaultFrameRate
- MediaMixer.addOutput() no longer synchronizes frame rate (streams must
  explicitly set defaultFrameRate via VideoCodecSettings init or setVideoSettings())
2025-11-21 23:17:23 +09:00
shogo4405 776a149db6 improve RTCMediaStreamTrack. 2025-11-19 00:07:09 +09:00
shogo4405 6d527ef0d5 add logging setting SampleHandler.swift 2025-11-18 22:26:25 +09:00
shogo4405 e40e86db9e Refactor RTCHaishinKit module. 2025-11-17 02:09:00 +09:00
shogo4405 f5fee72ef5 Refactor RTCTrackDelegate.didSetOpen to RTCTrackDelegate.readyStateChanged 2025-11-17 00:54:46 +09:00
shogo4405 ffa7c07cfe Rename RTCState to RTCPeerConnection.ConnectionState. 2025-11-17 00:03:53 +09:00
shogo4405 5df1c05f72 Make public RTCHaishinKit api. 2025-11-15 14:02:41 +09:00
shogo4405 3e52fd8db2 Make public RTCHaishinKit api. 2025-11-11 19:39:57 +09:00
shogo4405 203a6973ed Update bug_report.yml 2025-11-09 16:40:08 +09:00
shogo4405 a76142faac mv https://github.com/HaishinKit/.github/tree/main/ISSUE_TEMPLATE 2025-11-09 16:05:07 +09:00
shogo4405 4289af7ca1 Update config.yml 2025-11-08 17:44:04 +09:00
shogo4405 1f144f54c3 Update README.md 2.2.1 2025-11-08 15:38:05 +09:00
shogo4405 1586e5ff76 fixed an issue where the colorSpace was not applied in SDR mode. 2025-11-08 02:42:07 +09:00
shogo4405 81f804261a fixed an issue where the Screen was active in passthrough mode. 2025-11-08 01:05:31 +09:00
shogo4405 8d374741b6 remove NSView+Extension.swift 2025-11-07 22:42:32 +09:00
shogo4405 a153096672 fixed MediaMixer memory-leak. 2025-11-07 22:31:18 +09:00
shogo4405 5dea43aec0 Remove VTRotationSessionOption+Extension.swift 2025-11-05 00:53:26 +09:00
shogo4405 6427565693 Update Example tvOS. 2025-11-04 00:33:40 +09:00
shogo4405 e51997d157 fix can't compile visionOS. 2025-11-03 15:57:45 +09:00
shogo4405 fd72ee0f35 fix can't compile tvOS 2025-11-03 15:52:59 +09:00
shogo4405 3bb17e346d Merge pull request #1827 from HaishinKit/feature/hdr-color
Support HighDynamicRange mode.
2025-11-03 15:29:39 +09:00
shogo4405 f43eeeae73 Merge pull request #1826 from HaishinKit/dependabot/bundler/rubocop-1.81.7
Bump rubocop from 1.81.6 to 1.81.7
2025-11-03 15:14:51 +09:00
shogo4405 82754b7061 Support HighDynamicRange mode. 2025-11-03 14:59:40 +09:00
dependabot[bot] a69625cfc4 Bump rubocop from 1.81.6 to 1.81.7
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.81.6 to 1.81.7.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.81.6...v1.81.7)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.81.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-02 00:00:52 +00:00
shogo4405 9bea73bda2 Create known-issue.md 2025-10-28 23:19:39 +09:00
shogo4405 cb6284a39e refs #1824 fixed an issue where the camera could not be switched in single mode. 2025-10-28 22:51:36 +09:00
shogo4405 1ddee19b96 Merge pull request #1824 from HaishinKit/feature/video-attach-timing
fixed an issue where the frame rate could not be configured when attaching a video using attachVideo.
2025-10-26 23:44:26 +09:00
shogo4405 2f13802b47 fix memory-leak mediamixer. 2025-10-26 23:37:29 +09:00
shogo4405 5aa4753af2 fixed an issue where configuration could fail in some cases. 2025-10-26 22:41:20 +09:00
shogo4405 25ae34c2cf Merge pull request #1823 from HaishinKit/dependabot/bundler/rubocop-1.81.6
Bump rubocop from 1.81.1 to 1.81.6
2025-10-26 15:39:09 +09:00
dependabot[bot] 4958fcceff Bump rubocop from 1.81.1 to 1.81.6
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.81.1 to 1.81.6.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.81.1...v1.81.6)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.81.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-26 00:01:06 +00:00
shogo4405 48db2a3a5c inherited values for ScreenRenderer 2025-10-25 14:27:02 +09:00
shogo4405 a1c4bf3e48 Merge pull request #1822 from HaishinKit/feature/support-vbr
Supported the kVTCompressionPropertyKey_VariableBitRate option in VideoToolbox.
2025-10-25 13:52:00 +09:00
shogo4405 9ca05352d0 add variableBitRate mode. 2025-10-25 13:41:06 +09:00
shogo4405 11519f1d8a Merge pull request #1819 from HaishinKit/feature/supress-muted
Fixed an issue where the properties of AudioMixerTrackSettings were unintentionally applied to AVAudioConverter each time.
2025-10-21 08:39:26 +09:00
shogo4405 3f5bd01009 Modified AudioMixerTrackSettings to apply only the differences when updating settings. 2025-10-20 23:38:51 +09:00
shogo4405 b68e9a047d Update StreamScreenObject.swift 2025-10-20 20:29:59 +09:00
shogo4405 484d3b8469 Update StreamScreenObject.swift 2025-10-20 10:24:50 +09:00