问题标签 [rtcp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
103 浏览

ios - IOS 更新到 14.7.1 后流式 OWT 应用程序不流式传输

我有基于 OWT 框架/Swift 的视频流应用程序。它工作正常(肯定是 IOS 14.4 - 14.6),但是在将 IOS 更新到 14.7.1 后,我在调试控制台中有许多奇怪的消息,并且应用程序停止向服务器发送流。我不知道消息是否与流媒体问题有关,但在其他设备(ihpone 7、XS 等)上使用 IOS 14.4 或 14.6 时没有此类消息并且流媒体工作正常。在新设备上(带有 IOS 14.7.1 的 iphone 12 mini)我只能接收流但不能发布。并且调试中没有任何其他消息。我认为问题可能出在新的 IOS 网络/安全设置中。但是在哪里?

以下是控制台中的消息(它们不直接与流连接,但是..):

2021-08-09 14:06:49.719005+0300 iew[661:70198] [connection] nw_endpoint_handler_set_adaptive_read_handler [C1 xx.xx.xx.xx:8081 就绪通道流(满足(路径满足),可行,接口:en0 , ipv4, dns)] 取消注册 read_timeout 通知失败 2021-08-09 14:06:49.719780+0300 iew[661:70198] [connection] nw_endpoint_handler_set_adaptive_write_handler [C1 xx.xx.xx.xx:8081 就绪通道流(满足(路径满足),可行,接口:en0,ipv4,dns)] 注销 write_timeout 通知失败 021-08-09 14:15:36.111907+0300 iew[661:77943] [tcp] tcp_input [C17:2] flags =[R] seq=4168261029, ack=0, win=0 state=CLOSE_WAIT rcv_nxt=4168261029, snd_una=4000330730 2021-08-09 14:15:36.112297+0300 iew[661:77943] 连接 17: 收到失败通知 2021 -08-09 14:15:36.346537+0300 我 [661:78328] [连接] nw_endpoint_handler_set_adaptive_read_handler [C25.1 xx.xx.xx.xx:443 就绪通道流(满足(满足路径),可行,接口:en0,ipv4,dns)] 取消注册 read_timeout 通知失败 2021-08 -09 14:15:36.346633+0300 iew[661:78328] [connection] nw_endpoint_handler_set_adaptive_write_handler [C25.1 xx.xx.xx.xx:443 就绪通道流(满足(满足路径),可行,接口:en0, ipv4,dns)] 注销 write_timeout 通知失败 2021-08-09 14:15:36.750861+0300 iew[661:78110] [connection] nw_endpoint_handler_set_adaptive_read_handler [C26.1 xx.xx.xx.xx:443 就绪通道流 (满足(路径满足),可行,接口:en0,ipv4,dns)] 注销 read_timeout 通知失败 2021-08-09 14:15:36.751236+0300 iew[661:78110] [连接] nw_endpoint_handler_set_adaptive_write_handler [C26.1 xx.xx.xx.xx:443 就绪通道流(满足(满足路径),可行,接口:en0,ipv4,dns)] 注销 write_timeout 通知失败 2021-08 -09 14:15:52.059984+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_read_handler [C27 xx.xx.xx.xx:8081 就绪通道流(满足(满足路径),可行,接口:en0,ipv4, dns)] 注销 read_timeout 通知失败 2021-08-09 14:15:52.060394+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_write_handler [C27 xx.xx.xx.xx:8081 准备好通道流(满足(路径为满意), 可行, 接口: en0, ipv4, dns)] 注销 write_timeout 通知失败dns)] 注销 write_timeout 通知失败 2021-08-09 14:15:52.059984+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_read_handler [C27 xx.xx.xx.xx:8081 就绪通道流(满足(路径为满意),可行,接口:en0,ipv4,dns)] 注销 read_timeout 通知失败 2021-08-09 14:15:52.060394+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_write_handler [C27 xx.xx.xx.xx :8081 准备好的通道流(满足(满足路径),可行,接口:en0,ipv4,dns)] 注销 write_timeout 的通知失败dns)] 注销 write_timeout 通知失败 2021-08-09 14:15:52.059984+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_read_handler [C27 xx.xx.xx.xx:8081 就绪通道流(满足(路径为满意),可行,接口:en0,ipv4,dns)] 注销 read_timeout 通知失败 2021-08-09 14:15:52.060394+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_write_handler [C27 xx.xx.xx.xx :8081 准备好的通道流(满足(满足路径),可行,接口:en0,ipv4,dns)] 注销 write_timeout 的通知失败dns)] 注销 read_timeout 通知失败 2021-08-09 14:15:52.060394+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_write_handler [C27 xx.xx.xx.xx:8081 准备好通道流(满足(路径为满意), 可行, 接口: en0, ipv4, dns)] 注销 write_timeout 通知失败dns)] 注销 read_timeout 通知失败 2021-08-09 14:15:52.060394+0300 iew[661:78340] [connection] nw_endpoint_handler_set_adaptive_write_handler [C27 xx.xx.xx.xx:8081 准备好通道流(满足(路径为满意), 可行, 接口: en0, ipv4, dns)] 注销 write_timeout 通知失败

0 投票
0 回答
83 浏览

c - 带宽估计:添加 RTCP 标头扩展 - Gstreamer C

我正在编写一个使用 Gstreamer 在两个客户端之间流式传输视频的应用程序。为此,我用 C 语言编写了两个代码,它们实现了一个发送管道和一个接收管道,它们都使用rtpbin来发送/接收 RTP 流。沿着 RTP 流,还交换了两个 RTCP 流。发送方的情况可以表示如下:

我想实现一种方法来估计发送方和接收方之间可用的带宽,以便我可以将其传回x264enc以调整编码比特率。

我搜索了很多,但是关于这个主题的大多数问题都涉及 webrtc 和webrtcbins,我在这里没有使用它们。这些webrtcbin使用 REMB 数据包,这是一种估计带宽的 RTCP 标头扩展。

有谁知道我如何使用rtpbins估计我的情况下的带宽?谁能帮助我如何在 C 中添加/实现 REMB RTCP 标头扩展?

0 投票
0 回答
44 浏览

ffmpeg - 提取FFMPEG中每个jpeg的时间戳

我使用 ffmpeg 从网络摄像机获取 H264 流,并将视频流转换为 jpeg。Jpeg 图像不会保存到文件中,而是缓冲在节点 js 应用程序中视频)。有没有办法提取一些我可以与ffmpeg中的相机时间戳相关的时间?我搜索了很多,但一无所获。实际上要获得我使用的jpeg

0 投票
0 回答
14 浏览

rtsp - 使用 RTSP 流和 RTCP 消息发布音频/视频

我想创建还需要将 RTCP 消息发送到客户端的 RTSP 服务器/流。目前我正在使用

但是,当我尝试查看发件人是否通过以下方式发送 rtcp 消息时:

我没有看到任何 rtcp 消息。在这里发送 rtcp 消息的命令是什么?

0 投票
0 回答
13 浏览

webrtc - 如何使用 RTCP 中的 RTP 时间和 NTP 时间计算 RTP 数据包的延迟

我正在使用 webrtc 从浏览器向 gstreamer 发送视频流。我可以从 gstreamer 中的 RTCP SR 数据包中获取数据包的 RTP 时间和 NTP 时间。在发件人处,我想计算自该数据包在发件人处创建以来经过的时间。

你能考虑这对做延迟计算吗

NTP RTCP 1646057979638725999 RTCPRTP 1384312832

RTP 时间 1384299782 RTP 时间 1384301312 RTP 时间 1384302752