1
我正在使用TokBox製作1對1視頻通話應用程序。 我使用這個代碼打開會話:如何連接到TokBox的用戶流
_publisher = [[OTPublisher alloc] initWithDelegate:self];
[_publisher setName:@"PublishName"];
[_session publish:_publisher];
[self.view addSubview:_publisher.view];
[_publisher.view setFrame:CGRectMake(0, 0, widgetWidth, widgetHeight)];
需要什麼:
[_session connectWithApiKey:kApiKey token:kToken];
使用此代碼獲取didConnect消息即時發佈流一個用戶設備上後,轉移到其他用戶以便他看到第一個用戶發佈的內容?我嘗試瞭解文檔,但對我來說確實不清楚。 我需要一個會話ID嗎?發佈ID?
謝謝。
嗨。 假設我有三個流,那麼我將如何獲得用戶單擊的流。 –