Closed elileo1 closed 4 years ago
Please attach library logs.
2019-11-30 11:45:16.380 26086-26086/hzhl.net.hlcall I/HLCall: Incoming call ringing for 1 seconds
2019-11-30 11:45:16.658 26086-26086/hzhl.net.hlcall I/HLCall: Found media local-ip from signaling.
2019-11-30 11:45:16.658 26086-26086/hzhl.net.hlcall I/HLCall: Don't put text stream on local offer for CallSession [0x7be7311018]
2019-11-30 11:45:16.659 26086-26086/hzhl.net.hlcall I/HLCall: Configuring prefered card sampling rate to [48000]
2019-11-30 11:45:16.659 26086-26086/hzhl.net.hlcall I/HLCall: ms_filter_link: MSRtpRecv:0x7be254ed00,0-->MSVoidSink:0x7be1eed900,0
2019-11-30 11:45:16.660 26086-26086/hzhl.net.hlcall I/HLCall: Accepting server transaction [0x7be728fe80] on op [0x7be6df6b00]
2019-11-30 11:45:16.660 26086-26302/hzhl.net.hlcall I/HLCall: Priority used: 99
2019-11-30 11:45:16.660 26086-26302/hzhl.net.hlcall I/HLCall: MSAudio MSTicker priority increased to maximum.
2019-11-30 11:45:16.660 26086-26086/hzhl.net.hlcall I/HLCall: Doing SDP offer/answer process of type incoming
2019-11-30 11:45:16.660 26086-26086/hzhl.net.hlcall I/HLCall: No match for CN/8000/1
2019-11-30 11:45:16.660 26086-26086/hzhl.net.hlcall I/HLCall: Doing offer/answer processing with specific provider for codec [H264]
2019-11-30 11:45:16.660 26086-26086/hzhl.net.hlcall I/HLCall: Doing offer/answer processing with specific provider for codec [H264]
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: channel [0x7be726d980]: message sent to [UDP://192.168.0.200:5060], size: [917] bytes
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: SIP/2.0 200 Ok
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: Via: SIP/2.0/UDP 192.168.0.200;rport;branch=z9hG4bKU22HNHK00jDcK
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: From: "8037" sip:8037@192.168.0.200;tag=aQNgN468epjaK
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: To: sip:8039@192.168.0.120:49841;transport=udp;tag=fLlL8z0
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: Call-ID: b3a97b2b-8e1b-1238-d898-00e24c6825f3
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: CSeq: 13007228 INVITE
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: User-Agent: Unknown (belle-sip/1.7.0)
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: Supported: replaces, outbound, gruu
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
2019-11-30 11:45:16.662 26086-26086/hzhl.net.hlcall I/HLCall: Contact: sip:8039@192.168.0.120:49841;transport=udp;expires=120;+sip.instance="
the captureTextureView width is 150dp, height is 200dp when i switch the camera to back camera, it catch error. because of textureView size ???
From the camera error log it looks like more of a hardware device issue.
We check that the resolution we gonna ask the camera for is supported and yet
ACameraCaptureSession_setRepeatingRequest: Error: invalid input
Can you reproduce with another device ?
If you want to rule out the TextureView size issue, use our org.linphone.mediastream.video.capture.CaptureTextureView instead and give it a size like 200dp x 200dp.
Please also make sure you are using the latest version of SDK branch release/4.3, I've made fixes & improvements for Camera2 capture filter.
yes, it’s reproduce with another device, and i use CaptureTextureView but the size is 150dp * 200dp. i use 4.2 version
Please attach logs from this other device, it may help understand the issue and find a fix (attach full logs from the start of the app to the end of the call).
is it the proxy server need to config something let it can switch camera??
No the proxy server isn't involved in the camera switch process
i upgrade sdk to 4.3 and it is ok, thanks viish
sdk 4.2 can't switch camera .core.setVideoDevice(newDevice) . but it dose not response