Skip to content

Commit 103d8e6

Browse files
Ensure transceiver is associated
1 parent f7972f7 commit 103d8e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rtp_transceiver/rtp_transceiver_test.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ async fn test_rtp_transceiver_stopping() -> Result<()> {
345345
answer_pc.set_local_description(answer.clone()).await?;
346346
offer_pc.set_remote_description(answer).await?;
347347

348+
assert!(
349+
!offer_transceiver.mid().await.is_empty(),
350+
"A mid should have been associated with the transceiver when applying the answer"
351+
);
348352
// Stop the transceiver
349353
offer_transceiver.stop().await?;
350354

0 commit comments

Comments
 (0)