Skip to content

Commit cdca17f

Browse files
authored
fix: add_recv_layer should push to recv, not send
1 parent 92208f2 commit cdca17f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unreleased
22

3+
* Fix `Simulcast::add_recv_layer` to push to recv instead of send #968
34
* Accept any non-empty SDP session name (`s=`), not just `s=-` (RFC 8866 section 5.3)
45

56
# 0.20.0

src/media/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl Simulcast {
105105

106106
/// Add a receive layer
107107
pub fn add_recv_layer(&mut self, layer: SimulcastLayer) {
108-
self.send.push(layer);
108+
self.recv.push(layer);
109109
}
110110
}
111111

0 commit comments

Comments
 (0)