Commit 58eb42ee48ad757ab333d0297909ec3415551521
1 parent
6e73e81b
添加推流SDK说明文档
Showing
3 changed files
with
2 additions
and
2 deletions
app/libs/libcnlivestream.jar
No preview for this file type
app/src/main/java/com/cnlive/demo/stream/StreamActivity.java
| @@ -261,7 +261,7 @@ public class StreamActivity extends Activity { | @@ -261,7 +261,7 @@ public class StreamActivity extends Activity { | ||
| 261 | //TODO 结束推流 | 261 | //TODO 结束推流 |
| 262 | private void stopStream() { | 262 | private void stopStream() { |
| 263 | 263 | ||
| 264 | - mStreamer.stopStream(activityConfig); | 264 | + mStreamer.stopStream(); |
| 265 | mChronometer.stop(); | 265 | mChronometer.stop(); |
| 266 | mShootingText.setText(START_STRING); | 266 | mShootingText.setText(START_STRING); |
| 267 | mShootingText.postInvalidate(); | 267 | mShootingText.postInvalidate(); |
| @@ -355,7 +355,7 @@ public class StreamActivity extends Activity { | @@ -355,7 +355,7 @@ public class StreamActivity extends Activity { | ||
| 355 | public void onClick(DialogInterface arg0, int arg1) { | 355 | public void onClick(DialogInterface arg0, int arg1) { |
| 356 | mChronometer.stop(); | 356 | mChronometer.stop(); |
| 357 | mRecording = false; | 357 | mRecording = false; |
| 358 | - mStreamer.stopStream(activityConfig); | 358 | + mStreamer.stopStream(); |
| 359 | StreamActivity.this.finish(); | 359 | StreamActivity.this.finish(); |
| 360 | } | 360 | } |
| 361 | }).show(); | 361 | }).show(); |
doc/推流Android SDK 说明文档.pdf
0 → 100644
No preview for this file type