Ciao grazie per aver risposto, ti faccio vedere la struttura del mio file xml:
codice:
- <MPM>
- <status>
<code>0</code>
<message>OK</message>
</status>
- <mediapoints>
- <mediapoint>
<protocol>2.0</protocol>
<ID>1</ID>
<mediapointID>1</mediapointID>
<alias>/</alias>
<server>localhost</server>
<viewpath>mms://localhost//</viewpath>
<max_bwidth>-1</max_bwidth>
<max_clients>-1</max_clients>
<max_bitrate>-1</max_bitrate>
<cur_viewers>0</cur_viewers>
<cur_bwidth>0</cur_bwidth>
<active>active</active>
<peak_connected>0</peak_connected>
<peak_bwidth>0</peak_bwidth>
<peak_streaming>0</peak_streaming>
<tot_advertisements>0</tot_advertisements>
<tot_FileBytesRead>0</tot_FileBytesRead>
<tot_StreamTerminations>0</tot_StreamTerminations>
<tot_StreamingPlayers>0</tot_StreamingPlayers>
<tot_StreamErrors>0</tot_StreamErrors>
<tot_StreamDenials>0</tot_StreamDenials>
<tot_PlayerBytesSent>0</tot_PlayerBytesSent>
<tot_ConnectedPlayers>0</tot_ConnectedPlayers>
<tot_LateReads>0</tot_LateReads>
</mediapoint>
- <mediapoint>
<protocol>2.0</protocol>
<ID>1</ID>
<mediapointID>1</mediapointID>
<alias>Sample_Broadcast</alias>
<server>localhost</server>
<viewpath>mms://localhost/Sample_Broadcast</viewpath>
<max_bwidth>-1</max_bwidth>
<max_clients>-1</max_clients>
<max_bitrate>-1</max_bitrate>
<cur_viewers>0</cur_viewers>
<cur_bwidth>0</cur_bwidth>
<active>active</active>
<peak_connected>0</peak_connected>
<peak_bwidth>0</peak_bwidth>
<peak_streaming>0</peak_streaming>
<tot_advertisements>0</tot_advertisements>
<tot_FileBytesRead>0</tot_FileBytesRead>
<tot_StreamTerminations>0</tot_StreamTerminations>
<tot_StreamingPlayers>0</tot_StreamingPlayers>
<tot_StreamErrors>0</tot_StreamErrors>
<tot_StreamDenials>0</tot_StreamDenials>
<tot_PlayerBytesSent>0</tot_PlayerBytesSent>
<tot_ConnectedPlayers>0</tot_ConnectedPlayers>
<tot_LateReads>0</tot_LateReads>
</mediapoint>
- <mediapoint>
<protocol>2.0</protocol>
<ID>1</ID>
<mediapointID>1</mediapointID>
<alias>Cache/Proxy On-Demand</alias>
<server>localhost</server>
<viewpath>mms://localhost/Cache/Proxy On-Demand</viewpath>
<max_bwidth>-1</max_bwidth>
<max_clients>-1</max_clients>
<max_bitrate>-1</max_bitrate>
<cur_viewers>0</cur_viewers>
<cur_bwidth>0</cur_bwidth>
<active>active</active>
<peak_connected>0</peak_connected>
<peak_bwidth>0</peak_bwidth>
<peak_streaming>0</peak_streaming>
<tot_advertisements>0</tot_advertisements>
<tot_FileBytesRead>0</tot_FileBytesRead>
<tot_StreamTerminations>0</tot_StreamTerminations>
<tot_StreamingPlayers>0</tot_StreamingPlayers>
<tot_StreamErrors>0</tot_StreamErrors>
<tot_StreamDenials>0</tot_StreamDenials>
<tot_PlayerBytesSent>0</tot_PlayerBytesSent>
<tot_ConnectedPlayers>0</tot_ConnectedPlayers>
<tot_LateReads>0</tot_LateReads>
</mediapoint>
- <mediapoint>
<protocol>2.0</protocol>
<ID>1</ID>
<mediapointID>1</mediapointID>
<alias>Cache/Proxy Broadcast</alias>
<server>localhost</server>
<viewpath>mms://localhost/Cache/Proxy Broadcast</viewpath>
<max_bwidth>-1</max_bwidth>
<max_clients>-1</max_clients>
<max_bitrate>-1</max_bitrate>
<cur_viewers>0</cur_viewers>
<cur_bwidth>0</cur_bwidth>
<active>active</active>
<peak_connected>0</peak_connected>
<peak_bwidth>0</peak_bwidth>
<peak_streaming>0</peak_streaming>
<tot_advertisements>0</tot_advertisements>
<tot_FileBytesRead>0</tot_FileBytesRead>
<tot_StreamTerminations>0</tot_StreamTerminations>
<tot_StreamingPlayers>0</tot_StreamingPlayers>
<tot_StreamErrors>0</tot_StreamErrors>
<tot_StreamDenials>0</tot_StreamDenials>
<tot_PlayerBytesSent>0</tot_PlayerBytesSent>
<tot_ConnectedPlayers>0</tot_ConnectedPlayers>
<tot_LateReads>0</tot_LateReads>
</mediapoint>
- <mediapoint>
<protocol>2.0</protocol>
<ID>1</ID>
<mediapointID>1</mediapointID>
<alias>kimmi</alias>
<server>localhost</server>
<viewpath>mms://localhost/kimmi</viewpath>
<max_bwidth>-1</max_bwidth>
<max_clients>10</max_clients>
<max_bitrate>-1</max_bitrate>
<cur_viewers>0</cur_viewers>
<cur_bwidth>0</cur_bwidth>
<active>active</active>
<peak_connected>2</peak_connected>
<peak_bwidth>3632000</peak_bwidth>
<peak_streaming>2</peak_streaming>
<tot_advertisements>0</tot_advertisements>
<tot_FileBytesRead>40624110</tot_FileBytesRead>
<tot_StreamTerminations>0</tot_StreamTerminations>
<tot_StreamingPlayers>5</tot_StreamingPlayers>
<tot_StreamErrors>0</tot_StreamErrors>
<tot_StreamDenials>0</tot_StreamDenials>
<tot_PlayerBytesSent>43757327</tot_PlayerBytesSent>
<tot_ConnectedPlayers>5</tot_ConnectedPlayers>
<tot_LateReads>1209</tot_LateReads>
</mediapoint>
</mediapoints>
</MPM>
come vedi ho diversi mediapoint nel tag mediapoints, io ho bisogno di catturare ogni mediapoint separatamente in php come potrei fare?
Grazie.