Skip to content

Commit

Permalink
update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenBen committed Oct 30, 2021
1 parent fde315a commit e1f3fd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ dependencies {
implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'org.webrtc:google-webrtc:1.0.32006'
// implementation 'com.github.shenbengit:WebRTCExtension:1.0.0'
// implementation 'com.github.shenbengit:WebRTCExtension:1.0.3'
implementation project(path: ':extension-lib')
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class MainActivity : AppCompatActivity() {
val viewRenderer: CustomSurfaceViewRenderer = findViewById(R.id.viewRenderer)
//是否垂直镜像
viewRenderer.setMirrorVertically(false)
/**
* 旋转角度
*/
//设置旋转角度:0°、90°、180°、270°
viewRenderer.setRotationAngle(RotationAngle.ANGLE_0)

WebRTCManager.getInstance().init(applicationContext)
Expand Down

0 comments on commit e1f3fd2

Please sign in to comment.