sora-android-sdk
androidJvm
sora-android-sdk
/
jp.shiguredo.sora.sdk.channel.rtc
/
PeerChannel
Peer
Channel
interface
PeerChannel
Inheritors
PeerChannelImpl
Members
Types
Listener
Link copied to clipboard
interface
Listener
Functions
connection
State
Link copied to clipboard
abstract
fun
connectionState
(
)
:
PeerConnection.PeerConnectionState
?
disconnect
Link copied to clipboard
abstract
fun
disconnect
(
disconnectReason
:
SoraDisconnectReason
?
)
get
Stats
Link copied to clipboard
abstract
fun
getStats
(
handler
:
(
RTCStatsReport
?
)
->
Unit
)
abstract
fun
getStats
(
statsCollectorCallback
:
RTCStatsCollectorCallback
)
handle
Initial
Remote
Offer
Link copied to clipboard
abstract
fun
handleInitialRemoteOffer
(
offer
:
String
,
mid
:
Map
<
String
,
String
>
?
,
encodings
:
List
<
Encoding
>
?
)
:
Single
<
SessionDescription
>
handle
Updated
Remote
Offer
Link copied to clipboard
abstract
fun
handleUpdatedRemoteOffer
(
offer
:
String
)
:
Single
<
SessionDescription
>
request
Client
Offer
Sdp
Link copied to clipboard
abstract
fun
requestClientOfferSdp
(
)
:
Single
<
Result
<
SessionDescription
>
>
send
Disconnect
Link copied to clipboard
abstract
fun
sendDisconnect
(
dataChannel
:
DataChannel
,
disconnectReason
:
SoraDisconnectReason
)
send
Re
Answer
Link copied to clipboard
abstract
fun
sendReAnswer
(
dataChannel
:
DataChannel
,
description
:
String
)
send
Stats
Link copied to clipboard
abstract
fun
sendStats
(
dataChannel
:
DataChannel
,
report
:
RTCStatsReport
)
unzip
Buffer
If
Needed
Link copied to clipboard
abstract
fun
unzipBufferIfNeeded
(
label
:
String
,
buffer
:
ByteBuffer
)
:
ByteBuffer
zip
Buffer
If
Needed
Link copied to clipboard
abstract
fun
zipBufferIfNeeded
(
label
:
String
,
buffer
:
ByteBuffer
)
:
ByteBuffer