<commit_before><template>
  <uni-live-pusher v-on="$listeners">
    <div
      ref="container"
      class="uni-live-pusher-container"
    />
    <div class="uni-live-pusher-slot">
      <slot />
    </div>
  </uni-live-pusher>
</template>
<script>
import {
  subscriber
} from 'uni-mixins'
import native from '../../mixins/native'

const events = [
  'statechange',
  'netstatus',
  'error'
]

const attrs = [
  'url',
  'mode',
  'muted',
  'enableCamera',
  'autoFocus',
  'beauty',
  'whiteness',
  'aspect',
  'minBitrate'
]

export default {
  name: 'LivePusher',
  mixins: [subscriber, native],
  props: {
    url: {
      type: String,
      default: ''
    },<commit_msg>fix: vue2 vue 页面 live-pusher context API 无效问题<commit_after><template>
  <uni-live-pusher v-on="$listeners">
    <div
      ref="container"
      class="uni-live-pusher-container"
    />
    <div class="uni-live-pusher-slot">
      <slot />
    </div>
  </uni-live-pusher>
</template>
<script>
import {
  subscriber
} from 'uni-mixins'
import native from '../../mixins/native'

const events = [
  'statechange',
  'netstatus',
  'error'
]

const attrs = [
  'url',
  'mode',
  'muted',
  'enableCamera',
  'autoFocus',
  'beauty',
  'whiteness',
  'aspect',
  'minBitrate'
]

export default {
  name: 'LivePusher',
  mixins: [subscriber, native],
  props: {
    id: {
      type: String,
      default: ''
    },
    url: {
      type: String,
      default: ''
    },
{'fraction_non_alphanumeric': 0.18037318590186593, 'fraction_numerical': 0.000691085003455425, 'mean_word_length': 2.6565656565656566, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7248068', 'n_tokens_mistral': 556, 'n_tokens_neox': 573, 'n_words': 109}