Steve Anton
07563732f6
[Unified Plan] Avoid offering two senders with the same ID
...
This can happen with the following sequence of API calls:
1) AddTrack(track) + offer/answer
2) RemoveTrack(track's sender) + offer/answer
3) AddTrack(same track)
Since the first transceiver had already been used to send, it will
not get re-used by the second call to AddTrack. Another RtpSender
will be created with its ID = the track ID. But the code hits a
DCHECK when CreateOffer is later called since both m= sections will
offer the same track ID component of the MSID.
The fix implemented here is to randomly generate a sender ID if
there is already an RtpSender with the track's ID.
Bug: webrtc:8734
Change-Id: Ic2dda23d66e364e77ff7505e1c37e53105a17dae
Reviewed-on: https://webrtc-review.googlesource.com/84249
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23748}
2018-06-26 19:06:17 +00:00
..
2018-06-20 21:00:10 +00:00
2017-11-28 21:29:18 +00:00
2017-09-15 05:02:56 +00:00
2018-06-25 10:25:38 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-03-29 02:45:17 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-05-17 07:23:01 +00:00
2018-06-19 14:00:39 +00:00
2018-03-30 18:41:19 +00:00
2018-05-18 17:07:16 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-05-18 17:07:16 +00:00
2018-06-12 20:32:00 +00:00
2018-06-12 20:32:00 +00:00
2018-06-19 20:55:07 +00:00
2018-06-20 21:00:10 +00:00
2018-06-20 21:00:10 +00:00
2018-06-20 21:00:10 +00:00
2018-06-19 14:00:39 +00:00
2017-12-12 09:27:07 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-04 08:19:30 +00:00
2018-01-22 17:32:58 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2018-02-03 19:28:58 +00:00
2018-05-03 11:49:42 +00:00
2018-05-03 11:49:42 +00:00
2018-06-19 20:55:07 +00:00
2018-06-25 10:25:38 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 22:34:53 +00:00
2018-06-26 17:41:56 +00:00
2018-04-14 00:57:11 +00:00
2018-06-26 19:06:17 +00:00
2018-05-03 11:49:42 +00:00
2018-06-26 19:06:17 +00:00
2018-06-25 21:01:02 +00:00
2018-06-25 15:36:02 +00:00
2018-06-19 14:00:39 +00:00
2018-06-25 10:25:38 +00:00
2018-06-25 10:25:38 +00:00
2018-06-26 19:06:17 +00:00
2018-06-19 20:55:07 +00:00
2018-05-30 09:17:17 +00:00
2018-05-30 09:17:17 +00:00
2018-06-19 14:00:39 +00:00
2018-01-18 19:01:38 +00:00
2018-01-18 19:01:38 +00:00
2017-09-15 05:02:56 +00:00
2018-06-19 14:00:39 +00:00
2017-12-20 00:21:52 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-11 15:20:59 +00:00
2018-06-19 20:55:07 +00:00
2018-03-12 10:54:09 +00:00
2018-03-19 15:32:16 +00:00
2018-03-12 10:54:09 +00:00
2018-01-27 02:20:29 +00:00
2018-01-27 02:20:29 +00:00
2018-05-03 10:41:41 +00:00
2018-05-23 15:42:10 +00:00
2018-06-19 20:55:07 +00:00
2018-06-25 21:01:02 +00:00
2018-06-25 21:01:02 +00:00
2018-06-25 21:01:02 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2017-09-15 05:02:56 +00:00
2017-12-07 19:08:47 +00:00
2017-12-20 00:21:52 +00:00
2017-12-22 00:17:53 +00:00
2018-02-01 21:17:41 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-03-20 18:37:49 +00:00
2018-06-14 18:35:11 +00:00
2018-05-21 19:35:08 +00:00
2017-09-15 05:02:56 +00:00
2018-04-14 00:57:11 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 17:28:25 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-02-23 00:13:45 +00:00
2018-02-23 00:13:45 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-05-23 15:42:10 +00:00
2017-10-30 18:08:29 +00:00
2017-09-15 05:02:56 +00:00
2018-06-11 19:15:10 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-21 15:49:43 +00:00
2018-02-01 21:17:41 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 14:00:39 +00:00