IrisRtcDataSessionDelegate Protocol Reference

Conforms to IrisRtcJingleSessionDelegate
Declared in IrisRtcDataSession.h

Overview

The IrisRtcDataSessionDelegate protocol defines the optional methods implemented by delegates of the IrisRtcDataSession class.

– onDataSessionConnected: required method

This method is called when data session is established with remote end.

- (void)onDataSessionConnected:(NSString *)roomId

Parameters

roomId

room id recieved from Iris backend.

Discussion

This method is called when data session is established with remote end.

Declared In

IrisRtcDataSession.h

– onSessionDataWithImage:roomId: required method

  • This method is called when complete image data available from remote end, which is saved to a file in storage. *
  • @param filePath the url of the image saved in storage.
  • @param roomId room id recieved from Iris backend.
- (void)onSessionDataWithImage:(NSString *)filePath roomId:(NSString *)roomId

Discussion

  • This method is called when complete image data available from remote end, which is saved to a file in storage. *
  • @param filePath the url of the image saved in storage.
  • @param roomId room id recieved from Iris backend.

Declared In

IrisRtcDataSession.h