<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<style type="text/css">* a:hover{cursor:pointer;}</style>
</head>
<body yahoo="fix" style="word-wrap:normal; word-break:break-word;">
<!--[if mso]>
<style>a,body {font-family:'Calibri',Arial,sans-serif;}img {border:none !important;-ms-interpolation-mode:bicubic;}td {mso-line-height-rule:exactly !important;}table.border-outer {margin-bottom:15px !important;}.border-middle,.border-inner {width:100%;}td.mso-card-inner table {border-collapse:collapse !important;mso-table-lspace:0pt;mso-table-rspace:0pt;vertical-align:top;}.border-outer,.border-middle,.border-inner {border:none !important;}.mso-border-outer,.mso-border-middle,.mso-border-inner {padding:1px;}.mso-border-outer {background-color:rgb(245,255,255);}.mso-border-middle {background-color:rgb(223,246,255);}.mso-border-inner {background-color:rgb(153,176,225);}.preview-card {margin-bottom:0 !important;padding:0 !important;}.outlook-only {display:block !important;max-height:none !important;overflow:visible !important;}.outlook-com-only {display:none;}</style>
<![endif]-->
<style>a {word-wrap:normal;word-break:break-word;}@media only screen and (max-width:600px) {.container[not-yahoo] {-webkit-text-size-adjust:none !important;}.container[not-yahoo],.container[not-yahoo] .palm-one-whole {width:100% !important;min-width:100% !important;}img {max-width:100%;}[class="border-outer"],[class="border-middle"],[class="border-inner"],[title="separator"],[class="inner"] {width:100% !important;}[class="innercell"] {padding:10px !important;}.palm-block {display:block !important;}.container[not-yahoo] td.palm-one-whole {display:inline-block !important;padding:0;}.container[not-yahoo] td.palm-one-whole:first-child:not(:only-child) {margin-bottom:16px;}td.hostname {padding-top:3px !important;}}@media only screen and (min-width:601px) {.preview-card {max-width:600px !important;}}@media only screen and (min-device-width :320px) and (max-device-width :568px),only screen and (min-device-width :768px) and (max-device-width :1024px),only screen and (max-device-width:640px),only screen and (max-device-width:667px),only screen and (max-width:480px){table[class="container"] {width:100% !important;min-width:100% !important;}.p,.small,li,font[size="2"],font[size="3"] {font-size:17px !important;line-height:1.5 !important;}audio {margin-bottom:10px;}.background-contain {background-size:contain;}}@media only screen and (min-device-width :320px) and (max-device-width :568px),only screen and (min-device-width :768px) and (max-device-width :1024px),only screen and (min-device-width :1224px) {.container[not-yahoo] .message-wrapper {padding-top:6px;}.container[not-yahoo] .apple-only[style] {display:block !important;max-height:none !important;line-height:normal !important;overflow:visible !important;height:auto !important;width:100% !important;position:relative !important;}.ExternalClass .ecxapple-only {display:none !important;}.container[not-yahoo] .no-apple {display:none !important;}.container[not-yahoo] .no-apple {display:block;}.container[not-yahoo] form {font-size:inherit;}.container[not-yahoo] form input {height:43px;padding-left:4px !important;}.container[not-yahoo] form button:hover {cursor:pointer;}@media only screen and (min-device-width :1224px) {.apple-mail-form {display:block !important;background-color:white !important;}}}</style>
<style>.ExternalClass {width:100%;}.ExternalClass .outlook-com-button {display:block;}.ExternalClass button {height:auto;}</style>
<table class="container" lang="container" not-yahoo="fix" border="0" cellpadding="0" cellspacing="0" valign="top" style="width:100%; margin-top:6px;">
<tr>
<td valign="top" class="message-wrapper" style="line-height: 1.31; color: #222; font-family: arial, sans-serif;">
<!--[if mso]><table
border="0" cellpadding="0" cellspacing="0" valign="top" style="border-collapse:separate; "
><tr><td valign="top"><![endif]-->
<div style="max-width: 590px;">code: </div><div style="max-width: 590px;"><br><br></div><div style="max-width: 590px;">Step 1, click detach button : </div><div style="max-width: 590px;"><br></div><div style="max-width: 590px;">mMediaPlayer.getVLCVout().detachViews(); ( just detach the view, so the audio is still playing )</div><div style="max-width: 590px;"><br></div><div style="max-width: 590px;"><br></div><div style="max-width: 590px;">Step 2 , click the attachNew button.</div><div style="max-width: 590px;"><br><br></div><div style="max-width: 590px;">mMediaPlayer.getVLCVout().setVideoView(newSurfaceView);</div><div style="max-width: 590px;">mMediaPlayer.attachViews();</div><div style="max-width: 590px;"><br><br></div><div style="max-width: 590px;">while, it’s not as expected. the surfaceView is still empty.</div><div style="max-width: 590px;"><br><br></div><div style="max-width: 590px;">Am I using the correct way to change the surfaceView? </div><img width="0" height="0" style="border:0; width:0px; height:0px;" src="https://app.mixmax.com/api/track/v2/7oTRBOr5LEZEcVbRJ/ISbvNmLslWYtdGQhlmah1WahRmI/gInJ3bu4WYs9WZklmdARWavJHZuFmI/?sc=false" alt="">
<!--[if mso]></td></tr></table><![endif]-->
</td>
</tr>
</table>
</body>
</html>