This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
webrtc
/
simulcast-h264-expected.txt
5 lines
26 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
Enable H264 simulcast https://bugs.webkit.org/show_bug.cgi?id=190167 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Rename .m files to .mm to enable C++ compilation of included header files. Rename RTCH264VideoEncoder to RTCSingleH264Encoder. Implement a new RTCH264VideoEncoder that spawns as many RTCSingleH264Encoder as needed for simulcast. Update ObjC API to allow passing simulcast parameters to/from RTCH264VideoEncoder. * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoDecoderFactory.mm: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoDecoderFactory.m. * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoEncoderFactory.mm: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoEncoderFactory.m. * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h: * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm: (-[RTCCodecSpecificInfoH264 nativeCodecSpecificInfo]): * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoEncoderSettings.mm: (-[RTCVideoEncoderSettings initWithNativeVideoCodec:]): * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCWrappedNativeVideoEncoder.mm: (-[RTCWrappedNativeVideoEncoder setBitrate:framerate:]): (-[RTCWrappedNativeVideoEncoder setRateAllocation:framerate:]): * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm: (-[RTCSingleVideoEncoderH264 initWithCodecInfo:simulcastIndex:]): (-[RTCSingleVideoEncoderH264 startEncodeWithSettings:numberOfCores:]): (-[RTCSingleVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]): (-[RTCSingleVideoEncoderH264 resetCompressionSessionWithPixelFormat:]): (-[RTCSingleVideoEncoderH264 scalingSettings]): (-[RTCSingleVideoEncoderH264 setRateAllocation:framerate:]): (-[RTCVideoEncoderH264 initWithCodecInfo:]): (-[RTCVideoEncoderH264 setCallback:]): (-[RTCVideoEncoderH264 startEncodeWithSettings:numberOfCores:]): (-[RTCVideoEncoderH264 releaseEncoder]): (-[RTCVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]): (-[RTCVideoEncoderH264 setRateAllocation:framerate:]): (-[RTCVideoEncoderH264 implementationName]): (-[RTCVideoEncoderH264 scalingSettings]): (-[RTCVideoEncoderH264 setBitrate:framerate:]): * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h: * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h: * Source/webrtc/sdk/objc/Framework/Native/src/objc_video_encoder_factory.mm: * libwebrtc.xcodeproj/project.pbxproj: Source/WebCore: Activate H264 simulcast trial field. Make track.getSettings() expose width and height for incoming tracks. Test: webrtc/simulcast-h264.html * Configurations/WebCore.xcconfig: * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::LibWebRTCMediaEndpoint): * platform/mediastream/RealtimeIncomingVideoSource.cpp: (WebCore::RealtimeIncomingVideoSource::RealtimeIncomingVideoSource): LayoutTests: * TestExpectations: * webrtc/simulcast-h264-expected.txt: Added. * webrtc/simulcast-h264.html: Added. Canonical link: https://commits.webkit.org/205197@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-03 12:11:23 +00:00
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +00:00
PASS Testing simulcast
Enable H264 simulcast https://bugs.webkit.org/show_bug.cgi?id=190167 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Rename .m files to .mm to enable C++ compilation of included header files. Rename RTCH264VideoEncoder to RTCSingleH264Encoder. Implement a new RTCH264VideoEncoder that spawns as many RTCSingleH264Encoder as needed for simulcast. Update ObjC API to allow passing simulcast parameters to/from RTCH264VideoEncoder. * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoDecoderFactory.mm: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoDecoderFactory.m. * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoEncoderFactory.mm: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCDefaultVideoEncoderFactory.m. * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h: * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm: (-[RTCCodecSpecificInfoH264 nativeCodecSpecificInfo]): * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoEncoderSettings.mm: (-[RTCVideoEncoderSettings initWithNativeVideoCodec:]): * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCWrappedNativeVideoEncoder.mm: (-[RTCWrappedNativeVideoEncoder setBitrate:framerate:]): (-[RTCWrappedNativeVideoEncoder setRateAllocation:framerate:]): * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm: (-[RTCSingleVideoEncoderH264 initWithCodecInfo:simulcastIndex:]): (-[RTCSingleVideoEncoderH264 startEncodeWithSettings:numberOfCores:]): (-[RTCSingleVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]): (-[RTCSingleVideoEncoderH264 resetCompressionSessionWithPixelFormat:]): (-[RTCSingleVideoEncoderH264 scalingSettings]): (-[RTCSingleVideoEncoderH264 setRateAllocation:framerate:]): (-[RTCVideoEncoderH264 initWithCodecInfo:]): (-[RTCVideoEncoderH264 setCallback:]): (-[RTCVideoEncoderH264 startEncodeWithSettings:numberOfCores:]): (-[RTCVideoEncoderH264 releaseEncoder]): (-[RTCVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]): (-[RTCVideoEncoderH264 setRateAllocation:framerate:]): (-[RTCVideoEncoderH264 implementationName]): (-[RTCVideoEncoderH264 scalingSettings]): (-[RTCVideoEncoderH264 setBitrate:framerate:]): * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h: * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h: * Source/webrtc/sdk/objc/Framework/Native/src/objc_video_encoder_factory.mm: * libwebrtc.xcodeproj/project.pbxproj: Source/WebCore: Activate H264 simulcast trial field. Make track.getSettings() expose width and height for incoming tracks. Test: webrtc/simulcast-h264.html * Configurations/WebCore.xcconfig: * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::LibWebRTCMediaEndpoint): * platform/mediastream/RealtimeIncomingVideoSource.cpp: (WebCore::RealtimeIncomingVideoSource::RealtimeIncomingVideoSource): LayoutTests: * TestExpectations: * webrtc/simulcast-h264-expected.txt: Added. * webrtc/simulcast-h264.html: Added. Canonical link: https://commits.webkit.org/205197@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-03 12:11:23 +00:00