Date: Fri, 29 Mar 2024 09:12:47 +0100 (CET) Message-ID: <2106391591.47421.1711699967275@docs.flashphoner.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_47420_237441392.1711699967274" ------=_Part_47420_237441392.1711699967274 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
=D0=9F=D1=80=D0=B8 =D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D0= =B8 =D1=81=D1=82=D0=B0=D1=82=D1=83=D1=81=D0=B0 =D0=BF=D0=BE=D1=82=D0=BE=D0= =BA=D0=B0 =D0=B8=D0=BB=D0=B8 =D0=B7=D0=B2=D0=BE=D0=BD=D0=BA=D0=B0 'FAILED',= =D0=BC=D0=B5=D1=82=D0=BE=D0=B4 getInfo() =D0=B2=D0=BE=D0=B7=D0=B2=D1=80=D0= =B0=D1=89=D0=B0=D0=B5=D1=82 =D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=BE=D0=B2=D0= =BE=D0=B5 =D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B5 =D0=B2=D0=BE=D0= =B7=D0=BD=D0=B8=D0=BA=D1=88=D0=B5=D0=B9 =D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0= =B8.
=D0=9E=D1=88=D0=B8=D0= =B1=D0=BA=D0=B0 | =D0=A2=D0=B5=D0=BA=D1= =81=D1=82=D0=BE=D0=B2=D0=BE=D0=B5 =D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0= =B8=D0=B5 |
---|---|
=D0=9A=D0=BB=D0=B0=D1=81=D1= =81 StreamStatusInfo | |
FAILED_BY_ICE_ERROR | Failed by ICE error |
FAILED_BY_ICE_TIMEOUT<= /td> | Failed by ICE timeout<= /td> |
FAILED_BY_KEEP_ALIVE= td> | Failed by ICE keep ali= ve |
FAILED_BY_DTLS_FINGERP= RINT_ERROR | Failed by DTLS fingerp= rint error |
FAILED_BY_DTLS_ERROR= td> | Failed by DTLS error= td> |
FAILED_BY_HLS_WRITER_E= RROR | Failed by HLS writer e= rror |
FAILED_BY_RTMP_WRITER_= ERROR | Failed by RTMP writer = error |
FAILED_BY_RTP_ACTIVITY= | Failed by RTP activity= |
STOPPED_BY_SESSION_DIS= CONNECT | Stopped by session dis= connect |
STOPPED_BY_REST_TERMIN= ATE | Stopped by rest /termi= nate |
STOPPED_BY_PUBLISHER_S= TOP | Stopped by publisher s= top |
STOPPED_BY_USER | Stopped by user |
FAILED_BY_ERROR | Failed by error |
FAILED_TO_ADD_STREAM_T= O_PROXY | Failed to add stream t= o proxy |
DISTRIBUTOR_STOPPED | Distributor stopped |
PUBLISH_STREAM_IS_NOT_= READY | Publish stream is not = ready |
STREAM_NOT_FOUND | Stream not found |
STREAM_NAME_ALREADY_IN= _USE | Stream name is already= in use |
MEDIASESSION_ID_NULL= td> | MediaSessionId is null= |
MEDIASESSION_ID_ALREAD= Y_IN_USE | MediaSessionId is alre= ady in use |
SESSION_NOT_READY | Session not ready |
SESSION_DOES_NOT_EXIST= | Session does not exist= |
RTSP_HAS_WRONG_FORMAT<= /td> | Rtsp has wrong format<= /td> |
FILE_HAS_WRONG_FORMAT<= /td> | File has wrong format<= /td> |
FAILED_TO_CONNECT_TO_R= TSP_STREAM | Failed to connect to r= tsp stream |
RTSP_STREAM_NOT_FOUND<= /td> | Rtsp stream not found<= /td> |
RTSPAGENT_SHUTDOWN | RtspAgent shutdown |
STREAM_FAILED | Stream failed |
NO_COMMON_CODECS | No common codecs |
BAD_URI | Bad URI |
GOT_EXCEPTION_WHILE_ST= REAMING_FILE | Got exception while st= reaming file |
REQUESTED_STREAM_SHUTD= OWN | Requested stream shutd= own |
FAILED_TO_READ_FILE | Failed to read file |
FILE_NOT_FOUND | File not found |
FAILED_TO_CONNECT_TO_O= RIGIN_STREAM | Failed to connect to o= rigin stream |
CDN_STREAM_NOT_FOUND= td> | CDN stream not found= td> |
FAILED_TO_GET_AGENT_ST= ORAGE | Failed to get agent st= orage |
AGENT_SERVICING_ORIGIN= _STREAM_IS_SHUTTING_DOWN | Agent servicing origin= stream is shutting down |
TERMINATED_BY_KEEP_ALI= VE | Terminated by keep-ali= ve |
TRANSCODING_REQUIRED_B= UT_DISABLED | Transcoding is requred= , but disabled |
NO_AVAILABLE_TRANSCODERS | No av= ailable transcoder nodes in CDN |
=D0=9A=D0=BB=D0=B0=D1=81=D1= =81 CallStatusInfo | |
FAILED_BY_SESSION_CREA= TION | Failed by session crea= tion |
FAILED_BY_ICE_ERROR | Failed by ICE error |
FAILED_BY_RTP_ACTIVITY= | Failed by RTP activity= |
FAILED_BY_RTMP_WRITER_= ERROR | Failed by RTMP writer = error |
FAILED_BY_DTLS_FINGERP= RINT_ERROR | Failed by DTLS fingerp= rint error |
FAILED_BY_DTLS_ERROR= td> | Failed by DTLS error= td> |
FAILED_BY_ERROR | Failed by error |
FAILED_BY_REQUEST_TIME= OUT | Failed by request time= out |
TRANSCODING_REQUIRED_B= UT_DISABLED | Transcoding is requred= , but disabled |
=D0=92 =D0=BA=D0=B0=D1=87=D0=B5=D1=81=D1=82=D0=B2=D0=B5 =D0=BF=D1=80=D0=
=B8=D0=BC=D0=B5=D1=80=D0=B0 =D1=80=D0=B0=D1=81=D1=81=D0=BC=D0=BE=D1=82=D1=
=80=D0=B8=D0=BC =D0=BA=D0=BE=D0=B4 =D0=BA=D0=BB=D0=B0=D1=81=D1=81=D0=B0
1. =D0=9E=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D0=B0 =D0=BE=D1=88= =D0=B8=D0=B1=D0=BE=D0=BA =D0=BF=D1=80=D0=B8 =D0=B2=D0=BE=D1=81=D0=BF=D1=80= =D0=BE=D0=B8=D0=B7=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BF=D0=BE= =D1=82=D0=BE=D0=BA=D0=B0
stream.getInfo() code
= playStream.on(new StreamStatusEvent() { @Override public void onStreamStatus(final Stream stream, fin= al StreamStatus streamStatus) { runOnUiThread(new Runnable() { @Override public void run() { ... if (StreamStatus.FAILED.equals(streamSt= atus)){ switch (stream.getInfo()){ case StreamStatusInfo.SESSION_D= OES_NOT_EXIST: mPlayStatus.setText(streamS= tatus+": Actual session does not exist"); break; case StreamStatusInfo.STOPPED_B= Y_PUBLISHER_STOP: mPlayStatus.setText(streamS= tatus+": Related publisher stopped its stream or lost connection"); break; case StreamStatusInfo.SESSION_N= OT_READY: mPlayStatus.setText(streamS= tatus+": Session is not initialized or terminated on play ordinary stream")= ; break; case StreamStatusInfo.RTSP_STRE= AM_NOT_FOUND: mPlayStatus.setText(streamS= tatus+": Rtsp stream not found where agent received '404-Not Found'"); break; case StreamStatusInfo.FAILED_TO= _CONNECT_TO_RTSP_STREAM: mPlayStatus.setText(streamS= tatus+": Failed to connect to rtsp stream"); break; case StreamStatusInfo.FILE_NOT_= FOUND: mPlayStatus.setText(streamS= tatus+": File does not exist, check filename"); break; case StreamStatusInfo.FILE_HAS_= WRONG_FORMAT: mPlayStatus.setText(streamS= tatus+": File has wrong format on play vod, this format is not supported"); break; default:{ mPlayStatus.setText(stream.g= etInfo()); } } } else { mPlayStatus.setText(streamStatus.to= String()); } } }); } });=20
2. =D0=9E=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D0=B0 =D0=BE=D1=88= =D0=B8=D0=B1=D0=BE=D0=BA =D0=BF=D1=80=D0=B8 =D0=BF=D1=83=D0=B1=D0=BB=D0=B8= =D0=BA=D0=B0=D1=86=D0=B8=D0=B8 =D0=BF=D0=BE=D1=82=D0=BE=D0=BA=D0=B0
stream.getInfo() code
= if (StreamStatus.FAILED.equals(streamStatus)){ switch (stream.getInfo()){ case StreamStatusInfo.STREAM_NA= ME_ALREADY_IN_USE: mPublishStatus.setText(stre= amStatus+": Server already has a publish stream with the same name, try usi= ng different one"); break; default:{ mPlayStatus.setText(stream.= getInfo()); } } } else { mPublishStatus.setText(streamStatus= .toString()); }=20