Duplicated code on gstreamer-receive
PhVHoang opened this issue · comments
I see those lines of code (from line 38 to line 42) have duplicated code. I don't understand whether the duplicated part serves for a specific purpose but it seems that this is not necessary.
https://github.com/pion/example-webrtc-applications/blob/master/gstreamer-receive/main.go#L38
@PhVHoang If you want to make a PR, those lines can be deleted!
In early versions of Pion you needed to explicitly create a transceiver for everything you were willing to receive. In newer versions answerers accept all the offered tracks.