Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting session description section should have step to set transceiver currentDirection #1391

Closed
soareschen opened this issue Jun 15, 2017 · 2 comments
Labels

Comments

@soareschen
Copy link
Contributor

In JSEP it is specified that currentDirection is set when an answer description is applied.

The currentDirection property indicates the last negotiated direction for the transceiver's associated m= section. More specifically, it indicates the [RFC3264] directional attribute of the associated m= section in the last applied answer, with "send" and "recv" directions reversed if it was a remote answer.

The setting session description section should have steps to set the currentDirection, instead of leaving readers to figure it out through JSEP.

@aboba aboba added the question label Jun 15, 2017
@aboba
Copy link
Contributor

aboba commented Jun 19, 2017

Section 4.4.1.6 says:

"7. If description is set as a local description, then run the following steps for each media description in description that is not yet associated with an RTCRtpTransceiver object... If description is of type "answer", then set transceiver's [[CurrentDirection]] slot to an RTCRtpTransceiverDirection value representing the direction of the corresponding media description."

@soareschen
Copy link
Contributor Author

So this has now been fixed on master branch after merging #1321. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants