ouxianghui / janus-client

c/c++ webrtc native janus client Qt opengl video-meeting video-room video-call text-room meeting chat
MIT License
178 stars 52 forks source link

The RTCSDK could not compiled ,many errors ,because the xhas could not be resolved, #4

Closed williamXDB closed 3 years ago

williamXDB commented 3 years ago

Dear Author,

The RTCSDK could not compiled ,many errors ,because the xhas could not be resolved, Could you help me ? for example : pluginData.data.xhas("unpublished")) ==>the xhas is not a member ofvi::vr::EventData in vido_room.cpp

struct EventPluginData {
    std::string plugin;
    EventData data;

    XPACK(O(plugin, data));-->I replaced the XStruct
};
ouxianghui commented 3 years ago

Dear Author,

The RTCSDK could not compiled ,many errors ,because the xhas could not be resolved, Could you help me ? for example : pluginData.data.xhas("unpublished")) ==>the xhas is not a member ofvi::vr::EventData in vido_room.cpp

struct EventPluginData {
  std::string plugin;
  EventData data;

  XPACK(O(plugin, data));-->I replaced the XStruct
};

We have plans to replace x2struct with xpack. Please wait for a while.

williamXDB commented 3 years ago

thank you.

ouxianghui commented 3 years ago

We contacted the authors of xpack. They didn't plan to provide an xhas() likes function in xpack, so we can't replace x2struct with xpcak at present.