We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here My first Android live image
Here what i got into web
code to send ar view
` val outBitmap = Bitmap.createBitmap(arFragment!!.arSceneView.width, arFragment!!.arSceneView.height, Bitmap.Config.ARGB_8888) arFragment?.arSceneView?.let { PixelCopy.request(it, outBitmap, { copyResult -> if (copyResult == PixelCopy.SUCCESS) { sendARView(outBitmap) }
}, mSenderHandler!!) }
`
Code to init agora ` rtcEngine()?.setParameters("{"rtc.log_filter": 65535}") rtcEngine()?.setChannelProfile(io.agora.rtc.Constants.CHANNEL_PROFILE_LIVE_BROADCASTING) rtcEngine()?.enableDualStreamMode(true) rtcEngine()?.setVideoEncoderConfiguration( VideoEncoderConfiguration( VideoEncoderConfiguration.VD_640x480, VideoEncoderConfiguration.FRAME_RATE.FRAME_RATE_FPS_30, VideoEncoderConfiguration.STANDARD_BITRATE, VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_ADAPTIVE ) ) rtcEngine()?.setClientRole(role) rtcEngine()?.enableVideo() mSource = AgoraVideoSource() mRender = AgoraVideoRender(0, true) rtcEngine()?.setVideoSource(mSource) rtcEngine()?.setLocalVideoRenderer(mRender)
rtcEngine()?.joinChannel(token, channelName, "", 0)`
The text was updated successfully, but these errors were encountered:
try changing video content mode from fulfill to fit and see. guess the remaining content area was cut off.
Sorry, something went wrong.
No branches or pull requests
Here My first Android live image
Here what i got into web
code to send ar view
` val outBitmap = Bitmap.createBitmap(arFragment!!.arSceneView.width, arFragment!!.arSceneView.height, Bitmap.Config.ARGB_8888)
arFragment?.arSceneView?.let { PixelCopy.request(it, outBitmap, { copyResult ->
if (copyResult == PixelCopy.SUCCESS) {
sendARView(outBitmap)
}
`
Code to init agora
` rtcEngine()?.setParameters("{"rtc.log_filter": 65535}")
rtcEngine()?.setChannelProfile(io.agora.rtc.Constants.CHANNEL_PROFILE_LIVE_BROADCASTING)
rtcEngine()?.enableDualStreamMode(true)
rtcEngine()?.setVideoEncoderConfiguration(
VideoEncoderConfiguration(
VideoEncoderConfiguration.VD_640x480,
VideoEncoderConfiguration.FRAME_RATE.FRAME_RATE_FPS_30,
VideoEncoderConfiguration.STANDARD_BITRATE,
VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_ADAPTIVE
)
)
rtcEngine()?.setClientRole(role)
rtcEngine()?.enableVideo()
mSource = AgoraVideoSource()
mRender = AgoraVideoRender(0, true)
rtcEngine()?.setVideoSource(mSource)
rtcEngine()?.setLocalVideoRenderer(mRender)
The text was updated successfully, but these errors were encountered: