Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法播放 #1

Closed
Duanzq-GIT opened this issue Nov 26, 2021 · 1 comment
Closed

无法播放 #1

Duanzq-GIT opened this issue Nov 26, 2021 · 1 comment

Comments

@Duanzq-GIT
Copy link

你好,我在使用webRtc DEMO测试发现无法播放webrtc:https://XXXX URL,该链接只存在音频
2021-11-26 10:30:16.020 21173-21173/? I/org.webrtc.Logging: WebRtcAudioManagerExternal: Sample rate is set to 48000 Hz
2021-11-26 10:30:16.021 21173-21173/? I/org.webrtc.Logging: WebRtcAudioManagerExternal: Sample rate is set to 48000 Hz
2021-11-26 10:30:16.023 21173-21173/? I/org.webrtc.Logging: WebRtcAudioEffectsExternal: ctor@[name=main, id=1]
2021-11-26 10:30:16.024 21173-21173/? I/org.webrtc.Logging: WebRtcAudioRecordExternal: ctor@[name=main, id=1]
2021-11-26 10:30:16.025 21173-21173/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: ctor@[name=main, id=1]
2021-11-26 10:30:16.880 21173-21702/? I/org.webrtc.Logging: WebRtcAudioRecordExternal: enableBuiltInAEC(true)
2021-11-26 10:30:16.880 21173-21702/? I/org.webrtc.Logging: WebRtcAudioEffectsExternal: setAEC(true)
2021-11-26 10:30:16.881 21173-21702/? I/org.webrtc.Logging: WebRtcAudioRecordExternal: enableBuiltInNS(true)
2021-11-26 10:30:16.881 21173-21702/? I/org.webrtc.Logging: WebRtcAudioEffectsExternal: setNS(true)
2021-11-26 10:30:18.153 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: initPlayout(sampleRate=48000, channels=1, bufferSizeFactor=1.0)
2021-11-26 10:30:18.154 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: byteBuffer.capacity: 960
2021-11-26 10:30:18.161 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: minBufferSizeInBytes: 7688
2021-11-26 10:30:18.162 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: createAudioTrackOnLollipopOrHigher
2021-11-26 10:30:18.165 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: nativeOutputSampleRate: 48000
2021-11-26 10:30:18.211 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: AudioTrack: session ID: 177, channels: 1, sample rate: 48000, max gain: 1.0
2021-11-26 10:30:18.211 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: AudioTrack: buffer size in frames: 3844
2021-11-26 10:30:18.211 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: AudioTrack: buffer capacity in frames: 3844
2021-11-26 10:30:18.234 21173-21702/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: startPlayout
2021-11-26 10:30:18.380 21173-21748/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: AudioTrackThread@[name=AudioTrackJavaThread, id=423]
2021-11-26 10:30:18.380 21173-21748/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: doAudioTrackStateCallback: 0
2021-11-26 10:30:18.446 21173-21703/? D/WebRtc: track instanceof VideoTrack:false audio:true
2021-11-26 10:30:18.447 21173-21703/? D/WebRtc: track instanceof VideoTrack:true audio:false

音频轨道也是有的

@Henry-6
Copy link
Owner

Henry-6 commented Dec 10, 2021

webrtc:https://XXXX是我随便写的一个url,真实的拉流地址得你自己写

@Henry-6 Henry-6 closed this as completed Dec 10, 2021
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

No branches or pull requests

2 participants