Skip to content

[BUG]:webrtc协商均完成了但是h265视频数据并没有开始传输, #1088

@zilaliang

Description

@zilaliang

Package version

3.0.0-pre.8

Environment

* OS:
* Unity version:

Steps To Reproduce

1.连接信令服务器
vp9与h265均
Successfully connected to signaling server!
2.交换SDP
vp9:
07-30 14:41:54.295 7235 11181 I Unity : [WebRTCReceiver-left] 鏀跺埌 offer SDP:
07-30 14:41:54.295 7235 11181 I Unity : v=0

07-30 14:41:54.295 7235 11181 I Unity : o=- 6015616983356834093 0 IN IP4 0.0.0.0

07-30 14:41:54.295 7235 11181 I Unity : s=-

07-30 14:41:54.295 7235 11181 I Unity : t=0 0

07-30 14:41:54.295 7235 11181 I Unity : a=ice-options:trickle

07-30 14:41:54.295 7235 11181 I Unity : a=group:BUNDLE video0

07-30 14:41:54.295 7235 11181 I Unity : m=video 9 UDP/TLS/RTP/SAVPF 96

07-30 14:41:54.295 7235 11181 I Unity : c=IN IP4 0.0.0.0

07-30 14:41:54.295 7235 11181 I Unity : a=setup:actpass

07-30 14:41:54.295 7235 11181 I Unity : a=ice-ufrag:XkbzA1tS4Yi7CaHxKXKPBBe/nsgXoD5w

07-30 14:41:54.295 7235 11181 I Unity : a=ice-pwd:1py4amxlygYRY6dXAxfZaalxD9KlnqYu

07-30 14:41:54.295 7235 11181 I Unity : a=rtcp-mux

07-30 14:41:54.295 7235 11181 I Unity : a=rtcp-rsize

07-30 14:41:54.295 7235 11181 I Unity : a=sendrecv

07-30 14:41:54.295 7235 11181 I Unity : a=rtpmap:96 VP9/90000

07-30 14:41:54.295 7235 11181 I Unity : a=rtcp-fb:96 nack pli

07-30 14:41:54.295 7235 11181 I Unity : a=rtcp-fb:96 transport-cc

07-30 14:41:54.295 7235 11181 I Unity : a=framerate:60

07-30 14:41:54.295 7235 11181 I Unity : a=ssrc:843633266 msid:user244891859@host-511386f0 webrtctransceiver0

07-30 14:41:54.295 7235 11181 I Unity : a=ssrc:843633266 cname:user244891859@host-511386f0

07-30 14:41:54.295 7235 11181 I Unity : a=mid:video0

07-30 14:41:54.295 7235 11181 I Unity : a=fingerprint:sha-256 E6:F8:0E:C5:D7:0B:F6:21:C5:28:F8:F9:D0:EF:83:F6:3D:67:45:9F:7A:F3:EE:BA:9F:6B:02:34:EF:7F:4A:2C

07-30 14:41:54.295 7235 11181 I Unity : a=rtcp-mux-only

07-30 14:41:54.349 7235 11181 I Unity : [WebRTCReceiver-right] 鐢熸垚鐨?answer SDP:
07-30 14:41:54.349 7235 11181 I Unity : v=0

07-30 14:41:54.349 7235 11181 I Unity : o=- 6268459699642659948 2 IN IP4 127.0.0.1

07-30 14:41:54.349 7235 11181 I Unity : s=-

07-30 14:41:54.349 7235 11181 I Unity : t=0 0

07-30 14:41:54.349 7235 11181 I Unity : a=group:BUNDLE video0

07-30 14:41:54.349 7235 11181 I Unity : a=msid-semantic: WMS

07-30 14:41:54.349 7235 11181 I Unity : m=video 9 UDP/TLS/RTP/SAVPF 96

07-30 14:41:54.349 7235 11181 I Unity : c=IN IP4 0.0.0.0

07-30 14:41:54.349 7235 11181 I Unity : a=rtcp:9 IN IP4 0.0.0.0

07-30 14:41:54.349 7235 11181 I Unity : a=ice-ufrag:Wvcx

07-30 14:41:54.349 7235 11181 I Unity : a=ice-pwd:AI7+zw9kZ9kaUXTaKT5xqYms

07-30 14:41:54.349 7235 11181 I Unity : a=ice-options:trickle

07-30 14:41:54.349 7235 11181 I Unity : a=fingerprint:sha-256 5F:A6:82:2C:99:31:6E:79:83:12:E9:FB:69:15:CD:03:4A:D2:C8:20:C9:15:25:C0:AF:6A:1A:36:23:60:FF:9C

07-30 14:41:54.349 7235 11181 I Unity : a=setup:active

07-30 14:41:54.349 7235 11181 I Unity : a=mid:video0

07-30 14:41:54.349 7235 11181 I Unity : a=recvonly

07-30 14:41:54.349 7235 11181 I Unity : a=rtcp-mux

07-30 14:41:54.349 7235 11181 I Unity : a=rtcp-rsize

07-30 14:41:54.349 7235 11181 I Unity : a=rtpmap:96 VP9/90000

07-30 14:41:54.349 7235 11181 I Unity : a=rtcp-fb:96 transport-cc

07-30 14:41:54.349 7235 11181 I Unity : a=rtcp-fb:96 nack pli

07-30 14:41:54.349 7235 11181 I Unity : a=fmtp:96 implementation_name=Internal;profile-id=0

h265
07-30 14:50:29.344 7238 13261 I Unity : [WebRTCReceiver-left] 鏀跺埌 offer SDP:
07-30 14:50:29.344 7238 13261 I Unity : v=0

07-30 14:50:29.344 7238 13261 I Unity : o=- 8671214406918564998 0 IN IP4 0.0.0.0

07-30 14:50:29.344 7238 13261 I Unity : s=-

07-30 14:50:29.344 7238 13261 I Unity : t=0 0

07-30 14:50:29.344 7238 13261 I Unity : a=ice-options:trickle

07-30 14:50:29.344 7238 13261 I Unity : a=group:BUNDLE video0

07-30 14:50:29.344 7238 13261 I Unity : m=video 9 UDP/TLS/RTP/SAVPF 96

07-30 14:50:29.344 7238 13261 I Unity : c=IN IP4 0.0.0.0

07-30 14:50:29.344 7238 13261 I Unity : a=setup:actpass

07-30 14:50:29.344 7238 13261 I Unity : a=ice-ufrag:6qrhijObLg34+kiXDU7ryudneSnTtkUh

07-30 14:50:29.344 7238 13261 I Unity : a=ice-pwd:kKp0D3hJlwCJF7VAn/Jn9IecaktCuLsg

07-30 14:50:29.344 7238 13261 I Unity : a=rtcp-mux

07-30 14:50:29.344 7238 13261 I Unity : a=rtcp-rsize

07-30 14:50:29.344 7238 13261 I Unity : a=sendrecv

07-30 14:50:29.344 7238 13261 I Unity : a=rtpmap:96 H265/90000

07-30 14:50:29.344 7238 13261 I Unity : a=rtcp-fb:96 nack pli

07-30 14:50:29.344 7238 13261 I Unity : a=rtcp-fb:96 transport-cc

07-30 14:50:29.344 7238 13261 I Unity : a=framerate:60

07-30 14:50:29.344 7238 13261 I Unity : a=fmtp:96 sprop-vps=QAEMAf//AUAAAAMAAAMAAAMAAAMAe6wJ;sprop-sps=QgEBAUAAAAMAAAMAAAMAAAMAe6ADwIAQ5Y2uSTJLuAQAAA+kAAOqcCA=;sprop-pps=RAHAdrAzJA==

07-30 14:50:29.344 7238 13261 I Unity : a=ssrc:3081178180 msid:user2284139650@host-ebb4f94c webrtctransceiver0

07-30 14:50:29.344 7238 13261 I Unity : a=ssrc:3081178180 cname:user2284139650@host-ebb4f94c

07-30 14:50:29.344 7238 13261 I Unity : a=mid:video0

07-30 14:50:29.344 7238 13261 I Unity : a=fingerprint:sha-256 38:C0:28:B0:EA:4D:E1:1A:8E:1F:33:FC:D6:1B:1D:9B:75:74:6F:67:99:65:CF:E6:41:38:D8:6A:A4:28:9F:1C

07-30 14:50:29.344 7238 13261 I Unity : a=rtcp-mux-only

07-30 14:50:29.398 7238 13261 I Unity : [WebRTCReceiver-left] 鐢熸垚鐨?answer SDP:
07-30 14:50:29.398 7238 13261 I Unity : v=0

07-30 14:50:29.398 7238 13261 I Unity : o=- 3717347280113277012 2 IN IP4 127.0.0.1

07-30 14:50:29.398 7238 13261 I Unity : s=-

07-30 14:50:29.398 7238 13261 I Unity : t=0 0

07-30 14:50:29.398 7238 13261 I Unity : a=group:BUNDLE video0

07-30 14:50:29.398 7238 13261 I Unity : a=msid-semantic: WMS

07-30 14:50:29.398 7238 13261 I Unity : m=video 9 UDP/TLS/RTP/SAVPF 96

07-30 14:50:29.398 7238 13261 I Unity : c=IN IP4 0.0.0.0

07-30 14:50:29.398 7238 13261 I Unity : a=rtcp:9 IN IP4 0.0.0.0

07-30 14:50:29.398 7238 13261 I Unity : a=ice-ufrag:Ajos

07-30 14:50:29.398 7238 13261 I Unity : a=ice-pwd:YqiswNbjgMODfw2XmYCrUtRS

07-30 14:50:29.398 7238 13261 I Unity : a=ice-options:trickle

07-30 14:50:29.398 7238 13261 I Unity : a=fingerprint:sha-256 23:E8:65:C0:7B:9C:A5:2E:C6:13:42:20:D8:4C:76:0A:9D:63:D2:01:1D:D9:64:47:C1:DA:6F:7C:C5:70:66:6E

07-30 14:50:29.398 7238 13261 I Unity : a=setup:active

07-30 14:50:29.398 7238 13261 I Unity : a=mid:video0

07-30 14:50:29.398 7238 13261 I Unity : a=recvonly

07-30 14:50:29.398 7238 13261 I Unity : a=rtcp-mux

07-30 14:50:29.398 7238 13261 I Unity : a=rtcp-rsize

07-30 14:50:29.398 7238 13261 I Unity : a=rtpmap:96 H265/90000

07-30 14:50:29.398 7238 13261 I Unity : a=rtcp-fb:96 transport-cc

07-30 14:50:29.398 7238 13261 I Unity : a=rtcp-fb:96 nack pli

07-30 14:50:29.398 7238 13261 I Unity : a=fmtp:96 implementation_name=MediaCodec

  1. ICE协商
    vp9与h265均完成
    [WebRTCReceiver-left/right] ICE Candidate generated: candidate:...
    [WebRTCReceiver-left/right] Adding ICE candidate: candidate:...
    4.建立媒体通道
    vp9与h265
    EVENT: pc.OnTrack. Kind: Video, ID: webrtctransceiver0. Subscribing to OnVideoReceived...
    Video track received. Track ID: webrtctransceiver0, Enabled: True
    Target Image: Valid
    Target Material: Valid
    OnVideoReceived event handler attached successfully.
    5.开始传输媒体数据
    vp9开始了但是h265并没有开始

Current Behavior

No response

Expected Behavior

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions