owt ios demo

owt ios demo

intel 开发套件里
自己编译 sioclient_tls库,同时支持http和https
owt 库使用自己编译的使用与sioclient_tls 相同的openssl的

AppDelegate

在这里插入图片描述

rooms

  • 获取roomid

createToken

  • 获取token
  • 返回会议信息
RTC_OBJC_EXPORT
@interface OWTConferenceInfo : NSObject
- (instancetype)init NS_UNAVAILABLE;
/// Conference ID
@property(readonly, strong) NSString* conferenceId;
/// Participants in the conference.
@property(readonly, strong) NSArray<OWTConferenceParticipant*>* participants;
/**
  @brief Streams published by participants.
  @details It also includes streams published by current user.
*/
@property(readonly, strong) NSArray<OWTRemoteStream*>* remoteStreams;
/// Current user's info.
@property(readonly, strong) OWTConferenceParticipant* myself;
@end
NS_ASSUME_NONNULL_END

订阅和开播流

发布了693 篇原创文章 · 获赞 58 · 访问量 220万+

猜你喜欢

转载自blog.csdn.net/commshare/article/details/104139842