Skip to content

Missing iceServers / iceTransportPolicy parameters when creating transport #165

@fedulvtubudul

Description

@fedulvtubudul

TypeScript version of mediasoup client has iceServers and iceTransportPolicy parameters when calling createSendTransport method on Device entity: method declaration. C++ implementation of the libmediasoupclient does not have these parameters: method declaration.

Previously I've used UpdateIceServers method of the Transport entity and added UpdateIceTransportType method in our fork to set these parameters. But I guess it will be nice to have more consistent APIs between TS and C++ implementations, so I suggest adding missing parameters to Transport constructor. I was also motivated to open this issue by another one in our Swift wrapper for libmediasoupclient that suggested same way to set iceServers in TS and Swift.

I'll try to implement it myself and make a PR, but please say if I'm moving the right direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions