提交 64f12fdd authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Add TODO

上级 e9fda272
# TODO in mediasoup v2 (server-side) # TODO in mediasoup v2 (server-side)
* `Producer`: Clearn RTX mapping when streams are updated/modified. * Properly set extended seq32 for nacked packets.
* `RtpListener`: Remove `ptTable` (period) and add `ridTable`. * Check NackGenerator intervals.
* Remove `producer.on('rtprawpacket')` and, instead, create a special `RtpConsumer` or something like that. * Remove `producer.on('rtprawpacket')` and, instead, create a special `RtpConsumer` or something like that.
* Must avoid passing JSON data to Transport/Producer/Consumer instance methods. Instead, create API methods that receive "nice" C++ params and do all the JSON decode work in `Router::HandleRequest()`.
* Must mangle RTP sequence numbers in Consumers:
- After paused.
- After the Producer gets `updateRtpParameters()` called (so a `OnProducerRtpParametersUpdated` listener is required in Producer for the Router to call `SourceRtpParametersUpdated()` on all its Concumers).
- NOTE: We may also need to mangle RTP timestamps!
* After `updateProducer` (which changes receiving SSRCs), should we do something in Transport between `producer->ReceiveRtpPacket(packet)` and `this->remoteBitrateEstimator->IncomingPacket`?
* Set a proper value for Producer::FullFrameRequestBlockTimeout (currently 1 second). * Set a proper value for Producer::FullFrameRequestBlockTimeout (currently 1 second).
* Should RtpStream::InitSeq() reset `received` to 0? We do it but it may break RTCP reports in both RtpStreamRecv and RtpStreamSend. * Should RtpStream::InitSeq() reset `received` to 0? We do it but it may break RTCP reports in both RtpStreamRecv and RtpStreamSend.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论